masterexploder / PHPThumb

PHP Thumbnail & Image Manipulation Library
http://phpthumb.gxdlabs.com
980 stars 264 forks source link

Warning: getimagesize(.\.) [function.getimagesize]: failed to open stream: Permission denied in C:\xampp\htdocs\mysite\GdThumb.inc.php on line 1070 #59

Closed expiredninja closed 12 years ago

expiredninja commented 12 years ago

If anybody has an insight into this I would really appreciate it. I'm trying to implement a function to automatically save images in a directory as thumbnails. Here's the issue on stackoverflow:

http://stackoverflow.com/questions/10342190/errors-keep-cropping-up-implementing-a-basic-phpthumb-script-permission-denied

Warning: getimagesize(..) [function.getimagesize]: failed to open stream: Permission denied in C:\xampp\htdocs\mysite\GdThumb.inc.php on line 1070

Fatal error: Uncaught exception 'Exception' with message 'File is not a valid image: ..' in C:\xampp\htdocs\mysite\ThumbBase.inc.php:193 Stack trace: #0 C:\xampp\htdocs\mysite\GdThumb.inc.php(1081): ThumbBase->triggerError('File is not a v...') #1 C:\xampp\htdocs\mysite\GdThumb.inc.php(98): GdThumb->determineFormat() #2 C:\xampp\htdocs\mysite\ThumbLib.inc.php(127): GdThumb->__construct('..', Array, false) #3 C:\xampp\htdocs\mysite\save_differentformat.php(65): PhpThumbFactory::create('..') #4 {main} thrown in C:\xampp\htdocs\mysite\ThumbBase.inc.php on line 193

mikealmond commented 12 years ago

This issues looks like it was solved on April 28th. Are you still having these issues?

expiredninja commented 12 years ago

no it's resolved. sorry for the respost, didn't know those numbers were from Github.