Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscThumb Error Urgh


PupStar

Recommended Posts

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 directory

File: 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

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

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

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

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

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

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: 1

Error: 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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...