ZenphotoCMS Forum
Subdomain - 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: Subdomain (/thread-2082.html)



Subdomain - Soleil - 2008-01-13

My website (www.mysite.com) contains a folder 'galeries' in which I installed zenphoto which worked perfectly. Then, in another folder which works as a subdomain (subdomain.mysite.com), I installed another zenphoto which worked also perfectly.
The tables of the main site are prefixed galeries_ and the ones of the subsdomain are prefixed subdomain_

But when I looked again on the main site, I noticed a lot of errors (titles missing, comments form displayed, although I did not want comments display there, etc...

I went into the Admin of this main site and noticed that it got the title of the subdomain and that the tables are prefixed with subdomain_. A complete mess up that I did not manage to repair.

You can imagine that your help would be welcome !

P.S.- I am using the version 1.1.3




Subdomain - sbillard - 2008-01-14

Clearly you have inadvertantly managed to point both albums to the subdomain set of folders. Edit the zp-config.php file in your main domain to point to the galleries prefix. That should give you back the stuff for that gallery. Then you should run the database refresh script from the admin pages on the subdomain gallery. That should clean up any references that belonged to the main gallery.




Subdomain - Soleil - 2008-01-14

You are right!!! That was the problem. I made somehow the mistake in the zp-config.file. So simple ! Why did I not look there ?

I want to thank you once again, for you already helped me promply and efficiently. zenphoto and its people are really GREAT !




Subdomain - Soleil - 2008-01-14

I just made a small donation on your zenphoto account. A way to express my thanks.




Subdomain - trisweb - 2008-01-14

Thank you for your support! Your donation is very much appreciated and will help pay for zenphoto.org to keep running smoothly.