Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello,

 

I've installed Chris Sullivan's Thumbnail Generator contribution. I've installed the installation instructions to the letter, however I'm getting this error when I attempt to access the 'thumbnails' control panel from the admin control panel:

 

Warning: opendir(DIR_FS_CATALOGDIR_WS_IMAGES): failed to open dir: No such file or directory in /usr/local/apache/virtual/s/www.xxxxxxxxxxxxx.co.uk/docs/catalog/admin/thumbs.php on line 56

 

Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/apache/virtual/s/www.xxxxxxxxxxxxxxx.uk/docs/catalog/admin/thumbs.php on line 58

 

Warning: closedir(): supplied argument is not a valid Directory resource in /usr/local/apache/virtual/s/www.xxxxxxxxxxxxx.co.uk/docs/catalog/admin/thumbs.php on line 67

 

Warning: opendir(DIR_FS_CATALOGDIR_WS_IMAGES): failed to open dir: No such file or directory in /usr/local/apache/virtual/s/www.xxxxxxxxxxxx.co.uk/docs/catalog/admin/thumbs.php on line 70

 

Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/apache/virtual/s/www.xxxxxxxxxxxxxxxxx.co.uk/docs/catalog/admin/thumbs.php on line 72

 

Warning: closedir(): supplied argument is not a valid Directory resource in /usr/local/apache/virtual/s/www.xxxxxxxxxxxxxxx.co.uk/docs/catalog/admin/thumbs.php on line 91

 

Any ideas anyone?

  • 2 weeks later...
Posted

I have the exact same problem, seems like this contrib is bung.... did you find a different one that worked?

Posted

Well, what's the error message saying:

Warning: opendir(DIR_FS_CATALOGDIR_WS_IMAGES): failed to open dir: No such file or directory

 

Have you looked at your configuration.php file to see what the value of DIR_FS_CATALOGDIR_WS_IMAGES is?

 

The error message says that DIR_FS_CATALOGDIR_WS_IMAGES couldn't be opened since it apparently doesn't exist. Did you forget to define it?

  • 2 months later...
Posted (edited)

My bad guys. You have to add:

 ?require('includes/application_top.php');

to the top of the script in the admin/thumbs.php file.. Sorry about that.

Edited by blueline

Chris Sullivan

Posted

oops! I encounter the script error and it went to loops creating thumbnails images none stop :D :D :D

 

here is the error on the client machine

 

Warning: copy(/var/www/html/images/subcategory_1394cards_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thum

b_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_t

humb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thum

b.jpg_backup.jpg): failed to open stream: File name too long in /var/www/html/admin/thumbs.php on line 10

 

Warning: getimagesize(/var/www/html/images/subcategory_1394cards_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thum

b_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_t

humb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thumb_thum

b.jpg_backup.jpg): failed to open stream: File name too long in /var/www/html/admin/thumbs.php on line 11

 

I have about thousand of those heheheh

 

Cheer!

Posted

Yea, I realized that there is no check for that. I have fixed that....but will have to upload the new files. Will post soon.

 

Thanks.

Chris Sullivan

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...