Similar problems than many but no fix yet

Hi all,

I have installed zenphoto on linux (debian) with PHP Version 4.3.10-16 (http://www.generalmagic.org/phpinfo.php) and I am having a similar problem than many where the webpath is wrong in many instances as you can see on: http://www.generalmagic.org/zenphoto/index.php

I have tried several things with no success:
* define('WEBPATH','/zenphoto');
* define('WEBPATH','http://www.generalmagic.org/zenphoto');

and finally settled on:
if (basename($_SERVER['SCRIPT_FILENAME']) == "i.php" || basename($_SERVER['SCRIPT_FILENAME']) == "admin.php") {
define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));
} else {
define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));
}

which seems to work best at least for the CSS stuff. But as you can see in the source of the album page all the album related links are wrong such as /zenphoto/bettah/image/thumb/ferik.png but also http://www.generalmagic.org/zenphoto/bettah/

So it seems album links are very wrong. I tried with mod_rewrite on and off (with a restart everytime I modify anything in functions.php or config.php) but it lead to the same result.

Also, clicking on the top link (My Photo Gallery) leads to this, which seems odd:
http://www.generalmagic.org/zenphoto/page/1

Any idea ?

Erik

Comments

  • anty Member
    Hey Erik,

    I had similar problems and went through all the hassle of messing with the php in the scripts, when on another install my same web server I decided to call it "gallery" instead of "zenphoto" or anything with the word zen in it at all, and voila, for some reason it worked like a charm, easy as pie.

    When I browsing the bug archive, I came accross this bug, hope this helps.
  • trisweb Administrator
    Yes, we definitely know about this bug. Quite embarassing actually. We'll get it fixed in the next bugfix release, hopefully coming this week.
  • Yeah, that fixed it. Still can't edit name and description in place though. No error on apache's error log. Any idea ?
Sign In or Register to comment.