Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
expiredninja opened this issue Apr 27, 2012 · 2 comments

Comments

@expiredninja
Copy link

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
Copy link
Contributor

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

@expiredninja
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants