WEBPATH breaks RSS links

If I don't define

('WEBPATH', 'http://www.forgot.co.uk');

in my zp-config.php then themes/css etc. don't work. If I do define it, they do.

However, if it is defined, the URLs for my RSS feeds appear like so:

http://www.forgot.co.ukhttp//www.forgot.co.uk/rss.php?lang=en_US

Comments

  • Rafe Member
    It also breaks renaming an album.

    Thanks!
  • acrylian Administrator, Developer
    Given the strange htaccess issue on your other thread you might need to set the WEBPATH manually in `zp-data/zp-config.php` There are two lines currently commented out:

    `
    // define('WEBPATH', '/zenphoto');
    // define('SERVERPATH', '/full/server/path/to/zenphoto');
    `
    Uncomment them and fill in the correct paths. Sadly this is needed for some servers to be done manually.
  • Rafe Member
    Sorry, that's what I meant, I had to set those fields in zp-config-php manually in order to get the themes and images working correctly. This has fixed most things, but breaks some links such as the RSS feed ones and the submit button on renaming an album (those are the ones I've found).

    BTW my host is Windows with Apache, PHP & MySQL.

    I really want to stick with ZenPhoto/ZenPage but everytime I've upgraded I've had problems and my friend had none at all with W***P****. And I'm a techie and he's not! So anything I can do to help myself, and help you guys make ZenPhoto, a better product then great!
  • Rafe Member
    Having a webpath defined manually also breaks the submit button when commenting on a news posting.
  • Rafe Member
    Sorry, not the submit buttons per se but the page it tries to redirect you to after submitting a comment on a news item or deleting a comment in the admin section. URL looks like so:

    http://www.forgot.co.ukhttp//www.forgot.co.uk/index.php?p=news&title=Ive-made-a-start

    HTH.
  • acrylian Administrator, Developer
    BTW my host is Windows with Apache, PHP & MySQL.
    Do you mean that is a kind of WAMP local server install? If so maybe you could try on a "real" server. As you probably know they sometimes behave differently.

    Otherwise I do not have any other idea (I am on Mac on MAMP and never had any problems). Maybe sbillard will have later.
Sign In or Register to comment.