Hi,
Will follow the lead of everyone by complimenting you on a great piece of software!
However, when I upgraded to 0.9, i don't think the path detection stuff has worked properly on my server. My index.php now links to the galleries at
http://tignes/ (for the Tignes photo album), whereas with 0.8 the link went to
http://www.skinnyjimmy.com/skinnyphoto/tignes/I am not that hot with .htaccess, but did change the rewrite base to /skinnyphoto (this is the directory which holds all the zenphoto files).
Anyone have a clue, before I drop back to 0.8 in the morning?
Comments
I didn't have to define the 'SERVERPATH' though - is something going to be horribly wrong anywhere?
the part I edited was this:
`/** Do not edit below this line. **/
/**********************************/
$_zp_conf_vars = $conf;
if (basename($_SERVER['SCRIPT_FILENAME']) == "i.php" || basename($_SERVER['SCRIPT_FILENAME$
"admin.php") {
define('SERVERPATH', dirname(dirname($_SERVER['SCRIPT_FILENAME'])));
// define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));
} else {
define('SERVERPATH', dirname($_SERVER['SCRIPT_FILENAME']));
// define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));
}
define('WEBPATH', 'http://www.skinnyjimmy.com/skinnyphoto');
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");`
As you can see, i have just manually entered the path to my zenphoto directory as the webpath. I think the automatic discovery of the path isn't working? For me, anyway!
'http://www.imbuez.co.uk/gallery/zen/zen/setup.php'
When it should be 'http://www.imbuez.co.uk/gallery/zen/setup.php'
I'm clueless to know whats going on here.
just a quick update - I was having trouble after updating to the stopdesign theme. All fixed by updating the WEBPATH above to read:
`define('WEBPATH', '/skinnyphoto');`
It might fix it for you if you put:
`define('WEBPATH', '/gallery');`
My .htaccess path reads 'X:\xxxxxx\imbuez\imbuez.co.uk\gallery'
I found this path with this little php
`<? print $PATH_TRANSLATED; ?>'`
Using 'define('WEBPATH', '/gallery');' seems to reload the setup.php and clear my fields.
When i define the full path i get two instances and of the path in my address bar. Bummer ; (
`RewriteBase /skinnyphoto/`
which is not the filepath on the server. That might do it?
I am getting the links like http://photoshop-creations/ (album)
or http://zen/admin.php
I also don't understand why it puts the zen folder into the link for admin, but doesn't add the albums folder into the link for the album...
The site I'm currently trying to get working is this.
[edit]OK...i redid my config.php to direct it to the address of the site, and the site is working now except for the upload function.
If I try to upload a photo it redirects me to this address;
http://scrapbook.akuehner.comhttp//scrapbook.akuehner.com/admin/?page=edit&album=photoshop-creations
so it basically puts my address in twice. It has the same address problem w/ posting comments.
The photo got uploaded, it shows the thumbnail in the gallery, but if i click the thumbnail it only shows a link to the image, and not the image itself.
It also says I have 7 images in a total of 1 album, I only have 1, I had 1 or 2 more that i deleted through ftp...not sure where the rest came from. Is there a way to prune the junk data?