meulie
meulie's picture

Joined: 2003-09-12
Posts: 60
Posted: Fri, 2003-09-12 11:02

I have the same/a similar problem:
When upgrading from 1.3.4 to 1.4, and tring to access:
http://site/Gallery/setup/index.php, I get:

Forbidden
You don't have permission to access /Gallery/setup/index.php on this server.

The access_log has the following entry:

[Fri Sep 12 03:58:23 2003] [error] [client x.x.x.x] (13)Permission denied: access to /Gallery/setup/index.php failed because search permissions are missing on a component of the path

I have deleted the .htaccess in the setup-directory, and I do not have access to the httpd.conf of my web-server.

Who can help me out...?

Regards,
Evert

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-09-12 11:18

meulie,

Completely different problem. You just need to do the chmods as described here.

 
meulie
meulie's picture

Joined: 2003-09-12
Posts: 60
Posted: Fri, 2003-09-12 11:35

The result is that setup/index.php gives:
mkdir(fs_import_filename($filename, 0)); } else { $results = mkdir(fs_import_filename($filename, 0), $perms); } umask($umask); return $results; } ?> ITE_SEPARATOR = "\&"; } else { $GALLERY_REWRITE_SEPARATOR = "&"; } } else { $GALLERY_REWRITE_OK = 0; } ?> tf(_("Resizing %s"), $name)); $gallery->album->resizePhoto($index, $gallery->album->fields["resize_size"], $gallery->album->fields["resize_file_size"]); } } /* auto-rotate the photo if needed */ if (!strcmp($gallery->app->autorotate, 'yes') && $gallery->app->use_exif) { $index = $gallery->album->numPhotos(1); $exifData = $gallery->album->getExif($index); if ($orientation = trim($exifData['Orientation'])) { $photo = $gallery->album->getPhoto($index); switch ($orientation) { case "rotate 90": $rotate = -90; break; case "rotate 180": $rotate = 180; break; case "rotate 270": $rotate = 90; break; default: $rotate = 0; } if ($rotate) { $gallery->album->rotatePhoto($index, $rotate); processingMsg("- ". sprintf(_("Photo auto-rotated %s°"), $rotate)); } } } /*move to the beginning if needed */ if ($gallery->album->getAddToBeginning() ) and lots more of that...

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-09-12 11:38

Are you sure PHP is enabled on your server? It sure doesn't look like it

 
meulie
meulie's picture

Joined: 2003-09-12
Posts: 60
Posted: Fri, 2003-09-12 11:40
 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-09-12 11:54

Your gallery files are corrupt. Download a fresh copy, remove everything from server and upload them again.

And I'm splittin this topic again.

 
meulie
meulie's picture

Joined: 2003-09-12
Posts: 60
Posted: Fri, 2003-09-12 11:57

Hmm, so much for the problem-less upgrade from 1.3.4 -> 1.4... :-?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-09-12 12:01

oh, it's an upgrade! make sure you protect config.php and .htaccess, and your albums.

But it's not our fault that the files are corrupted. This sometimes happens during upload, download.

 
meulie
meulie's picture

Joined: 2003-09-12
Posts: 60
Posted: Fri, 2003-09-12 12:05

My initial posting clearly mentions 'upgrade'... :P

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2003-09-12 14:47

So, try reuploading the files. Something is obviously corrupted..

 
meulie
meulie's picture

Joined: 2003-09-12
Posts: 60
Posted: Fri, 2003-09-12 15:22

That worked, yes...
So instead of putting it on top of the existing installation, I put it in a clean dir, and moved the config.php

Now http://www.meulie.net/Fotootjes/ is back in business! :)