PupStar Posted April 22, 2011 Share Posted April 22, 2011 Ok here we go with another error thrown up by KissER The contribution is oscThumb 1.1.2 This is the error: Error: getimagesize(product_images/) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directoryFile: includes/classes/oscthumb.php Line: 79 and this is the code // Get real image size and type. if ($image_size = @getimagesize($src)) $this->image_type = $image_size[2]; // Image exists, remember its type. else { $this->process=false; if (IMAGE_REQUIRED == 'false') return false; // Do not display the image. else return true; // Try to display it anyway. } This is the offending line if ($image_size = @getimagesize($src)) I have totally no clue about this and yes I know I have changed the name of the images folder :thumbsup: Mark Link to comment Share on other sites More sharing options...
germ Posted April 22, 2011 Share Posted April 22, 2011 Error: getimagesize(product_images/) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directoryFile: includes/classes/oscthumb.php Line: 79 If that's the error it's because you have a path but no image name. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
PupStar Posted April 23, 2011 Author Share Posted April 23, 2011 If that's the error it's because you have a path but no image name. Hi Jim, Well now I am totally not sure why this error shows, there are no missing images that would cause this error. Mark Link to comment Share on other sites More sharing options...
Hotclutch Posted April 23, 2011 Share Posted April 23, 2011 Well I use oscthumb and check for errors as well, and i have not seen anything like that, so i would suggest the error is not due to oscthumb alone. Link to comment Share on other sites More sharing options...
PupStar Posted April 23, 2011 Author Share Posted April 23, 2011 Well I use oscthumb and check for errors as well, and i have not seen anything like that, so i would suggest the error is not due to oscthumb alone. are you using it on 2.3.1??? It has to be something to do with oscThumb because when I switch it off the error goes away. Mark Link to comment Share on other sites More sharing options...
Hotclutch Posted April 23, 2011 Share Posted April 23, 2011 are you using it on 2.3.1??? Yes It has to be something to do with oscThumb because when I switch it off the error goes away. Try putting oscthumb on a vanilla install and check for errors. Link to comment Share on other sites More sharing options...
PupStar Posted April 23, 2011 Author Share Posted April 23, 2011 Yes Try putting oscthumb on a vanilla install and check for errors. ok I did a fresh install and that error did not appear so I reinstalled on the store showing the error and now these errors show E_NOTICE Error Count: 1Error: Undefined variable: config_values File: includes/classes/oscthumb.php Line: 26 E_WARNING Error Count: 1 Error: getimagesize(product_images/) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory File: includes/classes/oscthumb.php Line: 79 Urgh :'( Link to comment Share on other sites More sharing options...
Hotclutch Posted April 23, 2011 Share Posted April 23, 2011 ok I did a fresh install and that error did not appear so I reinstalled on the store showing the error and now these errors show Urgh :'( You must have done something elsewhere in your store to be causing the 2nd error, but i don't think it is oscthumb. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.