Subdomain

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

Comments

  • 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.
  • 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 !
  • I just made a small donation on your zenphoto account. A way to express my thanks.
  • trisweb Administrator
    Thank you for your support! Your donation is very much appreciated and will help pay for zenphoto.org to keep running smoothly.
Sign In or Register to comment.