ZenphotoCMS Forum
mamp and zenphoto - 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: mamp and zenphoto (/thread-271.html)



mamp and zenphoto - cquiec - 2006-02-01

hello, can you tell me why i can't install zenphoto on my localhost with MAMP? i try and i try , but it's always the same thing : MySQL Error: Could not connect to the database server.
thanks




mamp and zenphoto - cjsimmons - 2006-02-05

i get the exact error, but i use XAMPP.




mamp and zenphoto - kamtom - 2006-02-07

I had this exact same issue.. It's very easy to solve. Rename your config file to something like Z-config.php. Then change the references to that config file (its only in like 1 or 2 places can't remember where sorry) and it should work just fine! Xammp (and i'm assuming MAMP) has some wierd mapping going on with files named config. All you have to do is change the name

Good Luck!

TK




mamp and zenphoto - trisweb - 2006-02-07

Ahhhhhh right. I had this problem with XAMPP as well. A different Config.php is in the include path for PEAR and some other programs too, and it conflicts. I might just change the name to zp-config.php in general to avoid this.




mamp and zenphoto - cjsimmons - 2006-02-08

OMG!!! is that all i had to do. gee. i thought that this was a much more serious problem then something as simple as this.

it worked on my test gallery. i'm going to go and upgrade my main gallery from 0.9 now.

UPDATE: Got it working. Thanks Heaps.




mamp and zenphoto - cquiec - 2006-02-08

thank U for those post, i'll try.




mamp and zenphoto - sabotage - 2006-03-11

THANKS! This fixed the issue. For anyone who needs the info, the files to change are:

/zen/functions.php
LINE 7

If you plan on using setup.php again,
/zen/setup.php
LINE 1
LINE 33

and upgrade.php
LINE 1
LINE 33