ZenphotoCMS Forum
Error when creating tables during installation - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Error when creating tables during installation (/thread-3146.html)



Error when creating tables during installation - ben7 - 24-06-2008

Hello,

The installation of zenphoto 1.1.6 on Free is fine until the end when creating tables :

Warning: Invalid argument supplied for foreach() in /mnt/104/sda/0/1/bcspidey/zenphoto/zp-core/option-defaults.php on line 136

Is it gonna be a problem ? I'm not really good with php...

Thanks for your help !

The url : http://bcspidey.free.fr/zenphoto/




Error when creating tables during installation - sbillard - 24-06-2008

This is an indication that your ISP has disabled the glob() function. There is a line at the front of functions.php which reads: define('SAFE_GLOB', false); please change this to read define('SAFE_GLOB', true);. For more on this see our troubleshooting guide http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/#14




Error when creating tables during installation - ben7 - 25-06-2008

Wonderful ! It's amazing how a simple change can do so much good ^^ Thanks a lot for your help !




Error when creating tables during installation - sbillard - 25-06-2008

Well, we've seen this problem before :-)