Fatal Error After Server Upgrade
bradb
Joined: 2003-12-12
Posts: 9 |
Posted: Fri, 2004-01-16 02:53 |
I started getting an error today after my host upgraded the apache and php on my server. This is the error: Fatal error: Call to undefined function: _() in /home/bradbrug/public_html/gallery/classes/Album.php on line 42 Any help would be outstanding, the versions listed below are after the upgrade. Thanks! |
|
Posts: 9
Well my host has reinstalled php and apache and then upgraded the php tp 4.3.4 and still no go. I can reinstall but I really need to get the comments from one of the albums. Where would I look to find that info?
Posts: 8194
Moving to Translations...
Posts: 9
Sorry for putting it in the wrong forum!
Posts: 13451
bradb, it has. The _(insert stuff here. ) is a part of the translation bit. Tim_J'll probably answer.
Posts: 6818
Jep, he will.
Hi Brad.
_() is a short form for gettext(). Which is the function that does the translation in Gallery.
This error Message cant appear if gallery 1.4.1 was installed or upgraded correctly.
Because either PHP is compiled with gettext, then _() is a built in function or it wasnt then we substitute it.
So please check that your installation or upgrade of GALLERY went well.
especially the files init.php and util.php are very important.
If it still does not work, please let me know.
But then i would need access to your Server to do some test.
Regards,
Jens
P.S.: if i had 7 posts (now 8 ) and someone with over 5600 does something.. i would believe him
Posts: 9
Ok,
Sorry for the questioning of the post, please forgive my ignorance.
I just backed it all up and deleted my gallery folder and reinstalled and it works now.
Posts: 6818
Hi,
You edited your post
Maybe you were not running 1.4.1 before ? Maybe 1.4pl1 ?
Anyway, good to hear it works now.
Jens