Member
Member
danis   2009-05-12, 07:22
#1

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?

Administrator
Administrator
acrylian   2009-05-12, 08:53
#2

Both urls galerie.rallye-addicted.de and rallye-cars.de/rallye do work for me.

Member
Member
danis   2009-05-12, 09:41
#3

Please try to open an album on galerie.rallye-addicted.de
The first page is working - but then..

Administrator
Administrator
acrylian   2009-05-12, 11:21
#4

Ah, right, sorry, forgot to test that. I guess the htaccess file is confused about the domains. Have no idea right now as I did never try that. Did you try a forum search? Might be that we had something similar before but I don't remember.

Member
Member
danis   2009-05-12, 12:52
#5

Yeah, i searched, but nothing similar to find..

I had no problem with a solution,
that the path: rallye-cars.de/rallye does not work.

Member
Member
sbillard   2009-05-12, 15:33
#6

Did you run setup on your subdomain install? The problem you are having is definately with mod_rewrite. The rewrite base for the subdomain should be / since the subdomain will be pointing directly at the subfolder.

Member
Member
danis   2009-05-14, 07:19
#7

I havn't done the Setup on the Subdomain.

First I had my rallye-cars.de/rallye Installation,
but now I'd like to change it to galerie.rallye-addicted.de

Member
Member
danis   2009-05-20, 07:46
#8

No idea?

Administrator
Administrator
acrylian   2009-05-20, 08:26
#9

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.)

Member
Member
danis   2009-05-20, 12:51
#10

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..

Administrator
Administrator
acrylian   2009-05-20, 13:00
#11

Ok, then it should be possible to link the subdomain galerie.rallye-addicted.de to the /rallye folder. But you would have to do that on your host's backend... The htaccess file in that case should read /rallye.

Member
Member
benchfrooser   2009-05-21, 11:24
#12

Had the same problem. I don´t know which one helped.

  1. Run the upgrade script. /zp-core/upgrade.php
  2. Switch to the default template and than back to your custom one.
Member
Member
david.matthewson   2009-12-24, 11:33
#13

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

Member
Member
david.matthewson   2009-12-24, 11:36
#14

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

Administrator
Administrator
acrylian   2009-12-24, 11:48
#15

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.

Member
Member
david.matthewson   2009-12-24, 13:26
#16

Thanks Acrylian - helpful & prompt as ever, I'll try that & revert with what happens.

Ein frohes Weihnachtsfest und alles Gute zum neuen Jahr!

David

Member
Member
sbillard   2009-12-24, 18:27
#17

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.

Member
Member
david.matthewson   2009-12-24, 18:45
#18

Thanks Guys.

I can confirm that this all works fine as you say.

So what I did was:

  1. set up a sub domain. (http://toybox.lymden-lodge.com/ => http://www.lymden-lodge.com/dev-1)

  2. ensure mod_rewrite = ON

  3. hand edit .htaccess to be '/' and NOT '/dev-1'

  4. run http://toybox.lymden-lodge.com/zp-core/upgrade.php

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.