Search…

X3 Photo Gallery Support Forums

Search…
 
Gizmo
Topic Author
Posts: 21
Joined: 19 Feb 2009, 12:19

Fatal error: Call to undefined function: sha1()

19 Feb 2009, 12:26

Hey!

I don't know if I did something wrong.
I just bought and uploaded the imagevue x2 folder on the ftp server and tried to test it, but I only get the Fatal error message:

Fatal error: Call to undefined function: sha1() in /home/p2008/p1/tiettn/public_html/gallery/imagevue/include/ivUserManager.class.php on line 116

I didn't edit anything, I just uploaded the unmodified files. Any idea?
Here's the link: http://perso.ecp.fr/~tiettn/gallery/

Thanks in advance!
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

23 Feb 2009, 10:48

You need php4.3+ to run this gallery, strange that your host is running older ofcourse you might add some workaround, but we use other functionality which might not work on your site:

http://perso.ecp.fr/~tiettn/gallery/ima ... hpinfo.php

So best bet is to ask your admin to upgrade php to atleast 4.4, because there are some vulnerabilities in earlier versions also.

If you want you can try a workaround, add to imagevue/include/functions.inc.php:
Code
if (!function_exists('sha1')) {

	function sha1($str)
	{
		return md5($str);
	}
}
But i bet it will lack some other functions anyway.
firedev.com