"Fatal error: Cannot redeclare drawrectangle()" @ dreamhost self-install

i'm self-installing zp 125rc1 @ dreamhost.

i've built my own php5 (v5.2.9) instance, setup to run as a cgi, under mod_fcgid.

i've moved zp to my sites' (top_dir)/photos dir.

@ nav to

http://mydomain.com/photos/zp-core/setup.php

i enter my DB info, and 'submit' the info.

at this point, i get a browser error of:

Fatal error: Cannot redeclare drawrectangle() in (...)/photos/zp-core/lib-GD.php on line 492

at this point, even if i attempt to _return_ to the setup.php page, i simply get the error. a delete/reinstall of zp seems to be required.

any hints as to what the problem is?

thanks.

Comments

  • Something you have included in your PHP build must be declaring a function named `drawrectangle()` because the error you are getting is from the Zenphoto attempt to define that function. The function is used (among other places) in creating the Captcha image.
Sign In or Register to comment.