emptyformvar() in gallery 1.3.1

cvs

Joined: 2002-09-24
Posts: 1
Posted: Tue, 2002-09-24 20:09

Having installed and configured with no reported errors I get the following error message when accessing
(http://192.168.1.33/gallery/gallery/session.php)
on my local computer (which is running Mandrake Beta 3)

Fatal error: Call to undefined function: emptyformvar() in /var/www/html/gallery/gallery/session.php on line 116

There is a reference to the function emptyformvar in session.php, and I find the function reside in the file util.php. How do I fix this ?

Carl-Victor Sundling

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-25 03:44

That's odd. Does your init.php have a line like this in it:

require($GALLERY_BASEDIR . "util.php");

If so, then the code should be ok (you might want unpack the tarball again just to be sure), and this might be some kind of PHP failure. What version of PHP are you using?