good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Unexpected Image::Info failureby sulfericacid (Deacon) |
on Feb 25, 2006 at 15:48 UTC ( [id://532773]=perlquestion: print w/replies, xml ) | Need Help?? |
sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
I've been having this problem on one of my web sites yesterday, but I thought it may have to do with my hotlink protection/direct url requests for images settings so I moved it over to another site and the following script fails. It fails saying "Can't parse image info: Can't open http://www.learntogoogle.com/images/addform.jpg: No such file or directory". For those who want to see for sure, the image loads perfectly in the browser with this path. I can't get Image::Info to open the image and I can't figure out why. What could cause this to report about not being able to find the image when it can? Would it die like this if it didn't have permission to use the image off my server? UPDATE I put some more tests in (as seen below). The image prints on page successfully but the -e test fails. Now I'm assuming it has to be some server issue.
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us" sulfericacid
Back to
Seekers of Perl Wisdom
|
|