Image/album titles won't save using AJAX under IIS

Hi,

A few days ago, I installed ZenPhoto on my laptop using XAMPP, for testing purposes. I liked it a lot, so I decided to install it on my Windows 2008 Web Server, which already hosts a Gallery2 site and a few Wordpress blogs.

Everything seemed to work fine, except for the AJAX editing of album/image names and descriptions. The same operation worked fine under XAMPP on my laptop.

Here's the details:
- Whenever I click "Save" on a title, it just changes to "Click to add title"
- If I refresh the page, the original album title still shows up, so the new name is never actually saved.
- After setting $sajax_debug_mode = 1; on controller.php i noticed these different debug messages.

- on Win2008 (doesn't work)
`saveTitle uri = /zp/index.php?rs=saveTitle&rst=&rsrnd=1215391485004&sargs[]=newtitle/post=null

received +:var res = Boolean(false); res;`

- on XAMPP (works fine)
`saveTitle uri = /dev/zenphoto1/index.php?album=albumname&rs=saveTitle&rst=&rsrnd=1215391485004&sargs[]=newtitle/post=null

received +:var res = 'newtitle'; res;`

Any ideas on what could be causing this? I tried comparing my PHP.ini settings, and everything seems fine.

Thanks,

Nuno Ferreira

Comments

  • acrylian Administrator, Developer
    This is most likely the Internet Explorer issue reported here: http://www.zenphoto.org/trac/ticket/617
  • I am actually using Firefox 3. It works fine on the XAMPP installation, but not on IIS, so I think it may have something to do with my PHP configuration or with IIS itself.

    You can see the problem here: www.farol.ca/zp (user: test pw: test)

    I left $sajax_debug_mode = 1 on controller PHP. On the third msgbox, you can see the URI is missing the image/album reference.
  • Hi, I host my own Web Server (using Apache though, not IIS). However, I had the same problem til I enabled gallery sessions.

    `1` Log in to your main Admin section.
    `2` Click `options`.
    `3` Click `gallery gonfiguration`.
    `4` Scroll down and enable `Enable gallery session:`.

    I am using zenphoto version 1.2 [2213]

    Hope this helps,

    CR
  • Opps, thats `configuration` *BLUSH*
Sign In or Register to comment.