![]() |
|
Path problems mod_rewrite issue? - 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: Path problems mod_rewrite issue? (/thread-5929.html) |
Path problems mod_rewrite issue? - jawzx2 - 2009-10-02 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! Path problems mod_rewrite issue? - Laurent - 2009-10-02 I am not a expert but for my site i had to put this :
Hope this helps Laurent Path problems mod_rewrite issue? - jawzx2 - 2009-10-03 thanks for the idea Laurent, still no go though. same problem :/ Path problems mod_rewrite issue? - jawzx2 - 2009-10-05 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? Path problems mod_rewrite issue? - jawzx2 - 2009-10-05 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! Path problems mod_rewrite issue? - acrylian - 2009-10-06 Did setup report anything about modrewrite/htaccess? Path problems mod_rewrite issue? - jawzx2 - 2009-10-06 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. Path problems mod_rewrite issue? - acrylian - 2009-10-06 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: Path problems mod_rewrite issue? - jawzx2 - 2009-10-06 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... Path problems mod_rewrite issue? - acrylian - 2009-10-06 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? |