[Solved] Upgrade problem - Fatal error

theroxpl

Joined: 2010-01-11
Posts: 2
Posted: Wed, 2010-01-27 09:53

Hi All!!!

After upgrade (with apt-get (debian)) to gallery2 2.3.1-1, i see only this:

---
Warning: require(/usr/share/gallery2/upgrade/index.php) [function.require]: failed to open stream: Permission denied in /var/www/SITE_NAME/upgrade/index.php on line 3

Fatal error: require() [function.require]: Failed opening required '/usr/share/gallery2/upgrade/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/SITE_NAME/upgrade/index.php on line 3
---

Directory /usr/share/pear dosen't exist.
What now. Please help me.
_
Regards,
Tom

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2010-01-27 11:07

I believe the Gallery team doesn't recommend the use of "package" upgraders and installers; better (more reliable) to install from the project release downloads.

Quote:
failed to open stream: Permission denied in ...

Sounds like a permissions problem - make sure that the user the webserver runs as has at least read+execute permissions on all the gallery files and directories.

 
theroxpl

Joined: 2010-01-11
Posts: 2
Posted: Wed, 2010-01-27 11:37

Working now.

BIG THX