PDA

View Full Version : trying to get php to work right under IIS, need help!


Moot
03-20-05, 04:26 PM
I am trying to add this script to my page --> http://activeunit.com/gallery_free_script.html


I am running IIS under Windows 2000 SP4, with php 4.3.10 currently installed.


The php page loads and is formatted right, but it's full of Undefined variable, and Undefined index errors like this -->

Notice: Undefined index: 2003 Family trip in C:\Data\www\pictures\index.php on line 176


Also the thumbnails for the images are not being made. There is an array of image boxes laid out the page that link to the right images. But they display the missing picture icon, rather than a thumbnail. I assume it has something to do with all the errors. But don’t under stand what’s going wrong.


Any ideas of what I’m doing wrong? Any help would be much appreciated.

Clay
03-20-05, 04:41 PM
I am trying to add this script to my page --> http://activeunit.com/gallery_free_script.html


I am running IIS under Windows 2000 SP4, with php 4.3.10 currently installed.


The php page loads and is formatted right, but it's full of Undefined variable, and Undefined index errors like this -->

Notice: Undefined index: 2003 Family trip in C:\Data\www\pictures\index.php on line 176


Also the thumbnails for the images are not being made. There is an array of image boxes laid out the page that link to the right images. But they display the missing picture icon, rather than a thumbnail. I assume it has something to do with all the errors. But don’t under stand what’s going wrong.


Any ideas of what I’m doing wrong? Any help would be much appreciated.
Without even really looking at this my first quick guess would be that perhaps you don't have your script mappings defined. Here's a quick test you can run to determine if you have a problem or not: http://www.tek-tips.com/faqs.cfm?fid=3995

Moot
03-20-05, 05:08 PM
thanks for the reply. I added that test script to the web directory.

http://moot21.mine.nu/test.php

seems to work fine.

Clay
03-20-05, 05:15 PM
Hmm, well I've not worked with PHP much at all so I'm out of ideas other than to check your pathing and other obvious things like that. Good luck figuring it out.

Head_slinger
03-27-05, 05:58 PM
heres an even better idea. use Apache :)