ZenphotoCMS Forum
Path errors? - 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 errors? (/thread-212.html)



Path errors? - lisavollrath - 2006-01-11

OK, I've installed 1.0, created databases, and then uninstalled and deleted databases three times, and each time, I get a different problem.

My current problem: the paths to my images, and the navigation links are both wrong. Take a look:

http://www.lisavollrath.com/zp/

In the admin and on the site, I'm showing a gallery, and my first folder---but the navigation links from the main gallery are missing part of the path, so they're broken. Instead of http://www.lisavollrath.com/zp/albums/Glass/ the navigation is showing up as http://www.lisavollrath.com/zp/Glass/ so I'm getting a 404.

Same with the images. Part of the path is missing, so they're showing up as broken links.




Path errors? - lisavollrath - 2006-01-11

Oh, OK---I tried a different way of addressing the path in .htaccess, and it worked.

It didn't want the complete path to my directory---it just wants it from the root.




Path errors? - cmaurin - 2006-01-16

Hi,
I think I have the same problem. Everything is ok after uploading and saving (images, thumbs, etc.) and then: http://www.cmaurin.net/zenphoto/
This is what I put in .htaccess :
RewriteBase /zenphoto
Thank you for helping me.




Path errors? - qtrc - 2006-01-16

cmaurin,

I had to add a trailing slash. So my .htaccess:

RewriteBase /zenphoto/




Path errors? - cmaurin - 2006-01-17

Hi gtrc,
I have tried this (and a lot of other things...), and I have the same result.
Thank you.




Path errors? - dansroka - 2006-01-17

Does anyone have any idea why the mod rewrite is working for some people and not for others (e.g. see http://www.zenphoto.org/support/topic.php?id=159)?

Thanks




Path errors? - biffta - 2006-01-24

I had very similar problems, I am not convinced the problem is in the .htaccess file because I still experienced the problems when I turned mod_rewrite off. The only way I got it to work was the edit the zen/functions.php file in the following way.




Path errors? - cmaurin - 2006-01-25

That works!
Thank you biffta.




Path errors? - unruly - 2006-01-31

biffta, you rock. i was about ready to cry, couldn't figure how to get the install finished properly (despite multitudinous mt and wp installs the past few years). you saved me a night of tears, as this did the trick. =) thanks.




Path errors? - lorbaal - 2006-02-09

Thanks biffta!

It works fine.