Member
Member
yakmann   09-12-2009, 23:42
#1

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?

Member
Member
kagutsuchi   09-12-2009, 23:53
#2

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".

Member
Member
yakmann   10-12-2009, 00:00
#3

Thanks. Haven't tried that yet. I'll let you know how it works.

Anyone else?

Member
Member
yakmann   10-12-2009, 15:54
#4

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

Administrator
Administrator
acrylian   10-12-2009, 16:01
#5

What excactly did you enter in the path overrides? Why is there a "https" in the path?

Member
Member
yakmann   10-12-2009, 16:19
#6

Ok . . . When I am editing data (such as album images), when I save, the "saved" notification returns as https:

Help me, Mr. Wizard

Member
Member
yakmann   10-12-2009, 16:22
#7

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.

Administrator
Administrator
acrylian   10-12-2009, 16:27
#8

There is an option for the server protocol on the backend. Maybe that is accidentally set?

Member
Member
yakmann   10-12-2009, 17:11
#9

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.

Administrator
Administrator
acrylian   10-12-2009, 17:17
#10

The value is stored in the database and used for all path creations by Zenphoto.

Member
Member
yakmann   10-12-2009, 18:02
#11

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.

Member
Member
yakmann   10-12-2009, 18:33
#12

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.

Administrator
Administrator
acrylian   10-12-2009, 18:37
#13

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.

Member
Member
yakmann   12-12-2009, 18:03
#14

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%2FAbstract&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?

Administrator
Administrator
acrylian   12-12-2009, 18:26
#15

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.

Member
Member
yakmann   12-12-2009, 20:16
#16

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.