Undefined Function ?
Posted 02 August 2006 - 08:16 PM
Posted 02 August 2006 - 08:34 PM
Depending on your PHP and GD versions this function is defined or not. With PHP 4.0.6 through 4.1.x this function always exists if the GD module is loaded, but calling it without GD2 being installed PHP will issue a fatal error and exit. With PHP 4.2.x this behaviour is different in issuing a warning instead of an error. Other versions only define this function, if the correct GD version is installed.
it pays to read it once in a while, you know. my suspicion is that you don't have the GD library installed.
Posted 02 August 2006 - 10:05 PM
someone feel free to correct me on the recompilation requirement.
Posted 02 August 2006 - 10:17 PM
extension=php_gd2.dll. I am not a 100% sure but I thought that would refer to gd.
Posted 03 August 2006 - 10:50 AM
That would work if Mateobus is hosted on a Windows server but Mateobus will need to have root access to get to the php.ini file. However if its unix based server then as akitchin mentioned above PHP will need to be recompile with the --gd-enabled option.
Is there a gd extension that you can use in the php.ini or no? I just looked in the php.ini on my local windows machine and sawextension=php_gd2.dll. I am not a 100% sure but I thought that would refer to gd.
Posted 03 August 2006 - 10:53 AM
I remember a function not working for me, I spoke to tech support on the hosting, and cos I was on a new server, the lib I needed was not compiled correctly. So they fixed it
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users