Error on Step 4: Call to undefined function: _()

Shmood

Joined: 2004-01-07
Posts: 6
Posted: Thu, 2004-01-08 00:08

I am installing Gallery 1.4.1 (have had 1.3.3 working for a while). I get the following error on Step 4 of the setup:

Gallery Setup: Step 4
Confirm that the settings you entered came through correctly. If you find this page confusing, you can probably safely ignore it (unless you see stuff in red which indicates an error).

Fatal error: Call to undefined function: _() in /home/aggarwal/public_html/modules/gallery/util.php on line 116

Any thoughts?

----
Gallery URL:
Gallery version: moving from 1.3.3 to 1.4.1
Apache version: 1.3.29
PHP version: 4..3.3
Graphics Toolkit: NetPBM
Operating system: RedHat
Web browser/version (if applicable): IE 6.0

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-01-08 00:35

Moving to Translations...

 
Shmood

Joined: 2004-01-07
Posts: 6
Posted: Thu, 2004-01-08 15:09

Is this a translations issue? I am using English and having an issue with the installation. I don't mind where it is if I can get help for it, but thought this "move" might have been in error.

I found a related post entitled "Upgrade/Update from Gallery v1.3.4-pl1 to 1.4.1" and posted details there as well (please, let me know and I can continue in this thread or the other).

----
Gallery URL: http://www.aggarwals.com/modules/gallery
Gallery version: moving from 1.3.3 to 1.4.1
Apache version: 1.3.29
PHP version: 4.3.3
Graphics Toolkit: NetPBM
Operating system: RedHat
Web browser/version (if applicable): IE 6.0

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2004-01-08 18:13

Hi,

_() is a shortform of gettext().
On Systems where PHP has not gettext we emulate this function.

So i guess your upgrade was not complete or something went wrong.

Please check if you upgraded all files correctly.

Jens

 
Shmood

Joined: 2004-01-07
Posts: 6
Posted: Mon, 2004-01-26 18:22

Everything is up and running. We ended up doing new installs (for other reasons) and all is working. Thank you.