GD not creating images on Windows server.

I recently installed ZenPhoto on a LAMP server for a personal project and love it. It's powerful and easy to work with...

Well, now I'm trying to install ZP on a Windows server (yay!).
It's not running Apache, but the server has PHP (Version 4.4.1), MySQL, and GD (2.0.28 compatible) is enabled.

Obviously, with no apache, I can't do mod-rewrite..so that's turned off in the config. The install went just fine, but for some reason it is not creating the images in the cache folder.

http://shamrockfarmstour.com/photos/

As you can see, the main, gallery, and image pages are just showing the alt text. I looked around the forum to see if anyone else had this problem, but didn't see anything similar.

Any Ideas?

Comments

  • If when you say Windows Server and NOT Apache.. does that leave us with IIS...?

    Assuming yes.. what you need to do is under the security permissions for the albums and cache folder you need to give full control access to the IUSR_Servername user assuming it is 2k3. If it is 2000 then it will be the IWAM_Servername that you need to give full control access to...
  • Hey Chilifrei, thanks for the quick reply! It's shared hosting and IIS, but I'm not sure if it's 2000 or 2k3. I'll look into the access permissions. Thanks.
  • It's working perfectly! Many thanks Chilifrei! I obviously don't know as much as I should about permissions on windows servers but I think step 3 of the setup should read something like:
    Step 3: Change the permissions on the 'albums' and 'cache' folders to be writable by the server (`chmod 777 cache`) or the ASPNET user if you're on a Windows server with IIS.
    rather than:
    Step 3: Change the permissions on the 'albums' and 'cache' folders to be writable by the server (`chmod 777 cache`) (not necessary on Windows servers)
    Just a thought. :)
Sign In or Register to comment.