Hi Guys - i got a problem with my Zenphoto..
First i want to say: Thanks for this great Script! I'm using it not since a really early Version and it's really really great!
Now my problem:
I've got a Maindomain - rallye-cars.de
On this Domain, there is a folder called 'rallye'
Here is my Zenphoto installed [version 1.2 [2213]]
I'm using mod_rewrite and the standard .htaccess file for nice URL's.
Now - i got a second domain - rallye-addicted.de
This Domains show's on a folder called 'rallye-addicted/cmsmadesimple'
Now - on my second Domain, there is a Subdomain - called galerie.rallye-addicted.de
This Subdomain shows on the folder 'rallye'
When I open this Domain, my gallery is shown - but when i want to open a album,
an internal Server Error 500 appears.
My Question now:
Why does this happen?
What can i do?
So both domains rallye-addicted.de and rallye-cars.de are on the same webspace? Is rallye-cars.de/rallye and rallye-addicted.de/rallye actually the same folder or are thes domains pointing to different folders?
If you probably need to link them to the same folder and/or change the subdomain direction on your host's settings. (meaning linking galerie.rallye-addicted.de to rallye-cars.de/rallye.)
Hello acrylian,
the domains are on the same Webspace.
The Domains rallye-addicted.de/rallye does not exist,
there is only the path rallye-cars.de/rallye
The Webspace is structured as following:
root --> rallye-cars.de
folder1[/rallye-addicted/cmsmadesimple] --> rallye-addicted.de
folder2[/rallye] --> The Gallery
The Subdomain shows on '/rallye' - if i try to enter something like '../rallye' it does not work..
Had the same problem. I don´t know which one helped.
I have the same problem - I installed to sub dir and THEN made the subdir a sub domain...
so...
www.lymden-lodge.com\test then became test.lymden-lodge.com - and I get 500 errors on all pages apart fromthe front page.
If I turn mod_rewrite = OFF then it works.
If I do an u/g - /zp-core/upgrade.php - the u/g works but the pages still fail unless I have mod_rewite = Off.
I have yet to try the theme flip.
David
bah.. and trying the theme flip didn't work either.
I guess having installed to a sub dir and then making it a sub domain really breaks things.
Off to do a reinstall..!!
David
Zenphoto does work on my server in a subdomain that is a subfolder of the webspace root. If the subfolder is /zenphoto and the subdomain poinst directly to that the RewriteBase should be RewriteBase /. You of course need to run setup again to update the .htaccess file. The drawback is that www.yoursite.com/zenphoto does not work anymore. Either subdomain or directly, not both.
Thanks Acrylian - helpful & prompt as ever, I'll try that & revert with what happens.
Ein frohes Weihnachtsfest und alles Gute zum neuen Jahr!
David
The bottom line on this is that if you "move" the Zenphoto installation you MUST re-run the setup program. It is also not possible to use mod_rewrite and have Zenphoto accessed both from a subdomain and as a folder within the main domain. Mod rewrite just does not support that as you can define only one rewrite base.
Thanks Guys.
I can confirm that this all works fine as you say.
So what I did was:
set up a sub domain. (http://toybox.lymden-lodge.com/ => http://www.lymden-lodge.com/dev-1)
ensure mod_rewrite = ON
hand edit .htaccess to be '/' and NOT '/dev-1'
End result?
All works fine!
So it is possible to install to a sub dir and then 'migrate' to a sub domain with out any problems.
Thanks to all for their help.
brgd
David