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.
Comments
It didn't want the complete path to my directory---it just wants it from the root.
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.
I had to add a trailing slash. So my .htaccess:
RewriteBase /zenphoto/
I have tried this (and a lot of other things...), and I have the same result.
Thank you.
Thanks
<?php
// functions.php - HEADERS NOT SENT YET!
require_once("config.php");
/*comment out this bit
if (strstr(basename(dirname($_SERVER['SCRIPT_NAME'])), "zen")) {
define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));
} else {
define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));
}
*/
define('WEBPATH', '/zenphoto');
Thank you biffta.
It works fine.