Server Protocol http: to https:

I currently am deploying ZenPhoto on an IIS Server with PHP 5.2.6. When I enter the gallery at http://www.joytothewind.com/zen/ I get a login dialog box. When I enter my username and password, it directs me to https://www.joytothewind.com/zen/D:/webs/joytot/zen/zp-core/admin.php.

I have tried changing the Server Protocol settings, and didn't seem to have any effect. I have been through the set-up options several times and I haven't a clue why the server addresses and the url address are being conjoined. Hmmm.

Any ideas?

Comments

  • You could try to manually set the WEBPATH and SERVERPATH defines in `zp-data/zp-config.php`. You can find these two lines under "Path Overrides".
  • Thanks. Haven't tried that yet. I'll let you know how it works.

    Anyone else?
  • Well, that seemed to fix some of the issues, but now images (like the rss.gif on the home page) point to: https://www.joytothewind.comhttp//www.joytothewind.com/zen/zp-core/images/rss.gif.

    Fun.

    Any suggestions?

    Thanks
  • acrylian Administrator, Developer
    What excactly did you enter in the path overrides? Why is there a "https" in the path?
  • Ok . . . When I am editing data (such as album images), when I save, the "saved" notification returns as https:

    Help me, Mr. Wizard
  • Alright, I have commented out the path overrides prior to the error above. My overides had been:

    http://www.joytothewind.com/zen and D:webs\joytot\zen

    I cannot find a reference to a secure server anywhere else in the scripts.

    I am defineately missing something somewhere.
  • acrylian Administrator, Developer
    There is an option for the server protocol on the backend. Maybe that is accidentally set?
  • Thats on the "Options/General" tab, right?

    I have that set to HTTP:.

    What file does that write to? I mayneed to go in and hard code it.

    Thanks for your time, acrylian.
  • acrylian Administrator, Developer
    The value is stored in the database and used for all path creations by Zenphoto.
  • Seems that the Server Protocol in table zp_options is set to HTTP:, so that's cool.

    Let me know if you get a blast of inspiration.
  • Here's another one . . .

    I go to another computer, type in 'www.joytothewind.com/zen/zp-core/admin.php' and it resolves to 'https://www.joytothewind.com/zen/D:\webs\joytot\zen\zp-core\admin.php'.

    Yes, I am running this on a IIS Server.
  • acrylian Administrator, Developer
    Did you try to disable modrewrite? We have no knowledge about IIS or access to it which is why we don't support it officially. So hopefully some users will have some ideas.
  • The modwrite is disabled . . .

    Anyway, I think that I have solved the http: / https: issue, but now when I click on a thumbnail in the gallery, I do not get a full-sized image (the url, for example, is http://www.joytothewind.com/zen/zp-core/full-image.php?a=Gallery/Abstract&i=A-ReflectionsOnRenewableHousing.jpg&q=75). Seems OK but IE says it cannot display the page.

    Also, when I make changes to images, after I save the page it it also diplays the "cannot display page" error (url is http://www.joytothewind.com/zen/zp-core/admin-edit.php?page=edit&action=save&album=Gallery). The pages are saved, but I can't seem to get re-routed to the new page.

    This happens in IE and Firefox.

    Anyone? Anyone? Bueller?
  • acrylian Administrator, Developer
    Somehow some paths are incorrect changed with a doubled webpath after I click on the link and some other, too (https://www.joytothewind.comhttp://). Sorry, I/we have no knowledge of IIS servers (we only test on Apache) and no further ideas. I suggest to contact maybe your server administrator.

    BTW, setup reports also a mysql issue that you probably should fix, too.
  • I don't think it would be server, quite honestly. The script runs with the input it has received. Somewhere, there is an incorrect setting (either one I programmed in or one that it has defaulted to).

    Can you tell me the pages that it uses to run the sequence? Or any instance where it might think that it was in a secure environment?

    Anyone have any thoughts, toss 'em out.

    Thanks
Sign In or Register to comment.