ZenphotoCMS Forum
apache error while setup - 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: apache error while setup (/thread-6327.html)



apache error while setup - sayantandas - 2009-12-22

Hi ,
I am trying to setup Zenphoto on my server. On the setup page, after I give the mysql databse root username and pwd and click on save, the page goes blank. Nothing appears after that. Also if i try to go to the index page, it shows up a blank page.
The apache error logs shows this error
[Tue Dec 22 19:48:05 2009] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Use of undefined constant ADMIN_RIGHTS - assumed 'ADMIN_RIGHTS' in /var/www/zenphoto/zp-core/setup.php on line 1419, referer: http://pics.myserver.com/zp-core/setup.php

THanks in advance




apache error while setup - sbillard - 2009-12-22

If you are not installing 1.2.8RC1 (you did not mention the zenphoto version) then you should do so.




apache error while setup - sayantandas - 2009-12-23

Sorry for not mentioning the version. I am installing the latest 1.2.8 RC1 . I am trying to install this on Red Hat Enterprise Linux ES release 4 (Nahant Update 7)




apache error while setup - acrylian - 2009-12-23

So still the error after installing 1.2.8 RC?




apache error while setup - sayantandas - 2009-12-23

yes it is . if you could help. thanks.




apache error while setup - sayantandas - 2009-12-23

Ok, now the error has disappeard, but I am getting the File does not exist: /var/www/zenphoto/favicon.ico error.
But my question is why am I getting a blank page? Should I not be seeing something at all?




apache error while setup - acrylian - 2009-12-23

Zenphoto does not has a favicon so that error is not related. Please post a link otherwise we are just wild guessing.




apache error while setup - sayantandas - 2009-12-23

Got it working. Thanks for all the posts.
Bottomline is you need to make sure that database is not created beforehand. else the automatic table creation does not work.
I had to drop the database and then it worked fine.
Thanks again




apache error while setup - acrylian - 2009-12-23

That is not right, the database of course needs to be created but the table are created by setup.




apache error while setup - sayantandas - 2009-12-23

I may be wrong, but it did not work for me with the database created. I deleted the database. I then ran the setup page. It then created the database and the tables.




apache error while setup - sbillard - 2009-12-23

Probably you had some permissions issues in the original database. The normal way to install is with an already created database.