Path problems mod_rewrite issue?

I'm decidedly a newbie and have managed to get zenphoto partially working on my Nearlyfreespeech.net account, but i'm having some weird issues:

I can run setup.php with my account set to php_fast (safe mode on), if I switch to php-flex i get a server 500... so have been trying to get this going in php_fast.

I can log in and begin to administer but the tabs on the admin panel provide links that just say http://zenphoto/whatever, they do not include the full site path and I get a server not found error, if i copy the link location and manually add www.mysite.com before the zenphoto path things seem to work, but albums and the like are also not displaying correctly... I think it must have to do with the paths not including the full url, but I have no idea how to fix this, or if it's even the problem. I've tried manually editing the .htaccess file Rewrite Base to include the full path (///www.mysite.com/zenphoto) but seems to cause things to break and setup.php just rewrites it to //zenphoto again and it does the same thing... help?

thanks!

Comments

  • I am not a expert but for my site i had to put this :

    `Options +FollowSymlinks`
    Before the
    `RewriteEngine On`
    in the .htaccess file.

    Hope this helps

    Laurent
  • thanks for the idea Laurent, still no go though. same problem :/
  • OK, so I un-commented the path lines in the zp-config.php file, that fixes my admin navigation, but seems to mess up some other stuff. I'm now getting urls that look like this

    http://www.realhost.com//www.mysitednsname.com/zenphoto/etc...

    gallery an albums broken. :/

    any other suggesitons?
  • ok, so I reinstalled and have got a nice, apparently working admin panel, but my gallery and albums are still a no go. I get no images, and themes don't seem to be applied in any way shape or form. with mod rewrite on in the options I get "Bad request" when i try to view an album, with it off I can click trough to the album from the gallery but no images or theme ??? help appreciated!
  • acrylian Administrator, Developer
    Did setup report anything about modrewrite/htaccess?
  • no, it all comes out fine in setup except safe mode. I have now done the path overrides in the zp-config.php and it's working perfectly under safari 4.0.2 macos, and mostly under firefox 3.5.3 macos. i'm not getting correct JS functionality eg: thumbnail crop controls and image info with firefox. also getting some occasional spurious double-host urls (http://www.hostname.com//www.hostename.com/zenphoto/whatever...). but like I said safari seems perfect. galleries/albums are viewable on both browsers, sans the image info under firefox. any ideas?

    revision: gah! just tried logging off and then back on and now safari has broken js too... running setup again does not fix the problem from either browser... WTH?

    further probing shows "object not found" errors in both browsers when attempting to view images in gallery after flushing browser cache.
  • acrylian Administrator, Developer
    Did you try to disable modrewrite? A link to your site might be of help....

    Also on the zp-config file you can set the WEBPATH manually around line 69-70. Some servers need that. Otherwise you should probably contact your provider.

    We recommend to disable safe mode:
    http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#34
  • ok, site is www.photograph4.com/zenphoto/ I tried using NFS's "flex" mode as opposed to "fast" (with safe mode enabled) and was unable to get the setup script to run at all :/ I have the WEBPATH set to //photograph4.nfshost.com/zenphoto and that seemed to get things working where they are now. What I don't understand is why it would all work, and then stop... some sort of caching issue? mod rewrite is off in admin options...
  • acrylian Administrator, Developer
    I am sorry I have no idea. Maybe modrewrite is not correctly configured. Best you contact your provider about this.

    Btw, what is this frame for?
Sign In or Register to comment.