Provider changed php, I tried to upgrade...
|
lilepad
Joined: 2004-07-21
Posts: 9 |
Posted: Wed, 2004-07-21 00:26
|
|
My provider changed their php config which caused a 500 Internal Server error when accessing gallery. I emailed to ask them about it and thiswas their response. Quote:
It is possible that your site is down because it is using register_global which is now disable completely by PHP because of the rising security problem with it. You will need to recode the gallery to make it work again. If it is using .htaccess to enable register_global, you need to remove the line to make the site back online. However, the codes that rely on global variable will not work. I followed some directions I found elsewhere on this forum and deleted my .htaccess and it worked. I then decided to upgrade to gallery 1.4.3-pl2 and now I'm getting this error when I try to go into the configuration wizard. Please help!!! Quote:
Fatal error: Cannot redeclare gallery_languages() (previously declared in /home/pgeeks/public_html/gallery/lib/lang.php:384) in /home/pgeeks/public_html/gallery/setup/functions.inc on line 567 ---- |
|

Posts: 9
Well,I've gotten it fixed by copying the setup file from another gallery I have, but now I get lock file errors...
I'm assuming this is from their changes. Any ideas on how I can fix this? If you go to the page, you can see what's going on
Posts: 13451
FAQ Gallery:c.15
Posts: 9
I get this error for all albums and pictures when I try to run the chmod....
Posts: 13451
lilepad, and still the same issue? In that case, you need to ask your host to do it for you.
Posts: 9
I'm sorry I keep bugging you. I got my host to give me permissions (they were assigned to nobody) and I got everything running EXCEPT that you can't view my pics!! I keep getting the "upgrade" message when I go to an album and I even did the "upgrade all at once" and it's done with no errors but I can't view any pictures or the contents of any albums. Again, my URL is http://www.prairiegeeks.com/gallery
Thanks so much!
Posts: 13451
Not sure what is going on there, i'll note the developers of this.
Posts: 2322
It looks like the issue is the same... FAQ Gallery:c.15
The upgraded files are not being saved because they aren't allowed.
According to FireFox, the highlight images don't display because they contain errors.
Posts: 9
I performed that action again and it still is not working. I am getting notes next to the albums that say "Note: This album is out of date!" even though I upgraded it. Do you still think that's the problem?
Posts: 9
Ok, I've messed things up further now.
I want to give up and start all over but nothave to re-upload all of my images. Is there any way I can do this? Remove the gallery dir and just reinstall it?? I wanna cry. :cry:
Posts: 2322
Removing Gallery won't do much good, since it's the albums dir that's the issue, and that's where the photos are. What is the issue, now?
Posts: 9
Now when I go to the site I get the "Gallery needs to be configured" error. I go through the entire config wizard and get the following error when I try to set it up
Sorry to be so dramatic....It was so much easier to set up than to upgrade! :D
Posts: 11
Hi, have you got it sorted out? If yes, could you please advise what you did since I got the same problem with completely new albums directory.
Warning: mkdir(): No such file or directory in /home/gregmen/public_html/gallery/classes/gallery/UserDB.php on line 43
Error: Unable to create dir:
Fatal error: Call to a member function on a non-object in /home/gregmen/public_html/gallery/classes/gallery/UserDB.php on line 110
I also found a thread with the same issue:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=17994&highlight=userdb+php&sid=434f9e06280672fc7917e05f562658c1
thanks
Posts: 2322
gregmen, FAQ Gallery:c.15
Also, edit your config.php file and make sure that these are set to valid paths:
$gallery->app->albumDir
$gallery->app->userDir
albumDir needs to exist and be chmod 777. Gallery will create the userDir at the end of the config wizard.