i was trying to upgrade to 2.2.5. i didn't which folder to unpack the files. some files are extracted in gallery2 and some in gallery2/upgrade. in the process of updating the plugin list to install the upgrades, i've changed the permissions and i get the following error message.
Quote:
Warning: require_once(/home/okamik/public_html/photos/gallery2/modules/core/classes/Gallery.class) [function.require-once]: failed to open stream: Permission denied in /home/okamik/public_html/photos/gallery2/bootstrap.inc on line 33
Fatal error: require_once() [function.require]: Failed opening required '/home/okamik/public_html/photos/gallery2/modules/core/classes/Gallery.class' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/okamik/public_html/photos/gallery2/bootstrap.inc on line 33
Gallery version:2.2.1
cannot access the information
PHP version (e.g. 5.1.6):
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32):
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0):
[/size]
Posts: 16504
Go back to defaults and this should get you working, change the permissions for the directories to 755 and the files to 644.
If you have shell/telnet access you can try this for directories, first change directories to the main gallery directory:
find . -type d | xargs chmod 755
For files:
find . -type f | xargs chmod 644
If you don't have shell/telnet access then the next easiest way would be to use an FTP program.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
you are a savior!!!! thank you!!!!
Posts: 16504
Oh and if you didn't change those permissions and they change again, talk to your host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 10
noted. thanks. i did change them to add plug ins.