Rubin Remus Posted October 27, 2010 Share Posted October 27, 2010 Hi all, I've scoured this thread and found no reference to the error I'm recieving... Perhaps I'm being totally stupid and missing the obvious, but if someone could provide a nudge in the right direction, I'd be grateful. I have installed oscThumb and now instead of images displaying, I'm getting an error description in a .jpg image, which reads: $this->config_cache_directory (/phpThumb/cache) does not exist. Adjust "cache_directory" or "cache_disable_warning" in phpThumb.config.php I have checked that the correct permissions are applied, and the file path is correct too. Am I missing something else? I have made changes to the phpThumb.config.php and I'm still in the same position. Any help would be great! Thanks! Quote Link to comment Share on other sites More sharing options...
Rubin Remus Posted October 27, 2010 Share Posted October 27, 2010 Hi all, I've scoured this thread and found no reference to the error I'm recieving... Perhaps I'm being totally stupid and missing the obvious, but if someone could provide a nudge in the right direction, I'd be grateful. I have installed oscThumb and now instead of images displaying, I'm getting an error description in a .jpg image, which reads: $this->config_cache_directory (/phpThumb/cache) does not exist. Adjust "cache_directory" or "cache_disable_warning" in phpThumb.config.php I have checked that the correct permissions are applied, and the file path is correct too. Am I missing something else? I have made changes to the phpThumb.config.php and I'm still in the same position. Any help would be great! Thanks! Okay, so I've changed the $PHPTHUMB_CONFIG['document_root'] to $PHPTHUMB_CONFIG['document_root'] = ['/']; // oscThumb: added osCommerce directory Quote Link to comment Share on other sites More sharing options...
Rubin Remus Posted October 27, 2010 Share Posted October 27, 2010 Still no joy. I'm getting text display where the images should be, and no images whatsoever... Any ideas? Quote Link to comment Share on other sites More sharing options...
myancey260 Posted October 28, 2010 Share Posted October 28, 2010 (edited) I am having the same trouble, I have tried every combo of directory setting I can think of in phpthumbs.config.php and still can't get the 'cache directory' error sorted out ... Anyone?? Hi all, I've scoured this thread and found no reference to the error I'm recieving... Perhaps I'm being totally stupid and missing the obvious, but if someone could provide a nudge in the right direction, I'd be grateful. I have installed oscThumb and now instead of images displaying, I'm getting an error description in a .jpg image, which reads: $this->config_cache_directory (/phpThumb/cache) does not exist. Adjust "cache_directory" or "cache_disable_warning" in phpThumb.config.php I have checked that the correct permissions are applied, and the file path is correct too. Am I missing something else? I have made changes to the phpThumb.config.php and I'm still in the same position. Any help would be great! Thanks! Edited October 28, 2010 by myancey260 Quote Link to comment Share on other sites More sharing options...
myancey260 Posted November 1, 2010 Share Posted November 1, 2010 Does anyone pay attention to this thread?? I am having the same trouble, I have tried every combo of directory setting I can think of in phpthumbs.config.php and still can't get the 'cache directory' error sorted out ... Anyone?? Quote Link to comment Share on other sites More sharing options...
myancey260 Posted November 5, 2010 Share Posted November 5, 2010 Figured it out..... $PHPTHUMB_CONFIG['document_root'] = '/home/yourhost/public_html/yourdomain/store'; worked in place of: $PHPTHUMB_CONFIG['document_root'] = DIR_FS_CATALOG; // I never could get DIR_FS_CATALOG to work, so I just manually input the absolute path, don't know if it was my store or what, but no matter what I put into that variable it never showed up in the phpthumbconfig.... Does anyone pay attention to this thread?? Quote Link to comment Share on other sites More sharing options...
lachitmonstar Posted November 7, 2010 Share Posted November 7, 2010 oscthumb.php?src=/images/example.jpg&w=140&h=140&f=jpg&q=50&hash=7c992bbb4b419db9376d51340273ff24 Below is my GD details from php.info GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.1.9 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Why images are not showing from cache folder? Please, anyone explain this issue. Thank you so much. Quote Lachit Kashyap Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2010 Share Posted December 14, 2010 Looking for some assistance on this Contribution OSCThumb I have installed this 2 times with the same success. here is a reference to what I am dealing with oscthumb problems no image Well my temp directory is being filled with all the image so GD is working well the hash being is there but I am having problem seeing if the it being sent the correct path to load the images. I have been reading and trying this like the cache control...seo...phpthumb.config...$PHPTHUMB_CONFIG['nohotlink_enabled'] all these with no luck. So any help would be great....I have turned on all error reporting in php no luck there no errors... I am going crazy as I never been whooped by contrib till now.... Thanks, Craig Quote Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2010 Share Posted December 14, 2010 Well I have still been working on this and it seems possible that the oscthumbs is point to the wrong path for the cached pics does this seem correct or incorrect I have my cache located default catalog/phpthumb/cache/ Below is what I get from view source... which it appears it looking in my old source catlog/images/ directory <td class="infoBoxContents"><center><a href="http://test.obteamsports.com/product_info.php?products_id=1265"><img src="oscthumb.php?src=/images/RIP-IT/2_sm.jpg&w=67&h=100&f=jpg&q=95&hash=37702b0e3864c303bbbfeea7ee5433f9" w="67" h="100" border="0" alt="NEW! RIP-IT DEFENSE WITH BLACKOUT TECHNOLOGY" title="NEW! RIP-IT DEFENSE WITH BLACKOUT TECHNOLOGY"> Heck I don't know I a still fishing........ Any help would be awesome !!!!!!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
blr044 Posted January 26, 2011 Share Posted January 26, 2011 Am not sure if this thread is still being monitored. I did install this mod to oSc ver 2.3.1. At product_info page, I receive this error message. Fatal error: Call to a member function set_type() on a non-object in W:\www\mystore\includes\functions\html_output.php on line 160 line-153 // START oscThumbforoverlaysOWN line-154 // If you want to call the original function, you can call tep_image_original or call this one with $original=true. line-155 function tep_image22($src, $alt = '', $width = '', $height = '', $params = '', $original = false, $thumbnail_type = 0) { line-156 global $oscthumb; line-157 line-158 line-159 line-160 $oscthumb->set_type ($src, $width, $height, $thumbnail_type); // Detect the type of image we are currently processing if ($oscthumb->set_size ($src, $width, $height)==false) return false; // Choose the displayed width and height of the image, and if display something $image22 = $oscthumb->process22($src); // Returns the beginning of the image tag, like <img src="oscthumb.php?src=... or <img src="images/logo.gif" if (tep_not_null($alt)) { $image22 .= ' title="' . tep_output_string($alt) . '"'; } return $image22; } // END oscThumbforoverlays This is installed on my test site. So am looking for some clue/s on what I need to look at or how this can be fixed. Thank you. Quote Link to comment Share on other sites More sharing options...
shadowrider Posted January 31, 2011 Share Posted January 31, 2011 bump. i am getting the same php error msg. This is what all my images look like when i turn on oscthumb In my case was incorrect path defined as DIR_FS_CATALOG in /includes/configure.php Quote Link to comment Share on other sites More sharing options...
parasit55 Posted February 6, 2011 Share Posted February 6, 2011 I have problem with no image on directories catalog/images/ I would do if there is no picture on the server to take the default picture no_images.jpg What should I do. Please Help Thanks Enyone Quote Link to comment Share on other sites More sharing options...
kimzii Posted February 7, 2011 Share Posted February 7, 2011 Hello, I have installed the contribution and everything went as well. But know when i have switched the master switch on and try to upload new images to products nothing happens. It's not scaling the image.. What to do? Thanks! Quote Link to comment Share on other sites More sharing options...
rvlt Posted February 11, 2011 Share Posted February 11, 2011 Same here, i installed everything, update databse, no errors, no image problems nothing, i set my image size in the new parameters, set crop zoom on, then i switch the contribution on and nothing happens, created new produts and nothing new, my thumbs are still the original image shrinked, it's just like before, images are distorted as always, do i need to change any settings in the admin->configuration->images->original parameters? i just need to use the zoom crop function to make thumbs with the same size independently the proportions. But no mather what can´t find a contribution that work. I just double check every step, what i'm i missing? Any ideas? Just run the forum and find no answers. Regards, rvlt Quote Link to comment Share on other sites More sharing options...
wilhilton205 Posted February 27, 2011 Share Posted February 27, 2011 I was hoping someone can help with an issue I am having with oscThumb contribution! It has been working flawless until I switched to a new hosting company. For some reason the cache for the thumbnails is not working. I kept getting the red x and missing thumbnails on the site. I turned off the error in $PHPTHUMB_CONFIG['cache_disable_warning'] = true to get my thumbnails to show. All other cache settings are working as well as the backup settings. One note is that the new hosting company has to have a redirect to my url and was wondering if somehow that is the issue and I may need to change a few more setting in phpThump.config.php Quote Link to comment Share on other sites More sharing options...
♥altoid Posted March 5, 2011 Share Posted March 5, 2011 After installing oscThumb I could not view images on my site. Checking phpThumb/cache I did not see any images being stored in there. After a lot of googling, reading the forum for solutions, etc. it boiled down to something as simple that I did not have a define in my catalog/includes/configure.php file. Before---- define('DIR_FS_CATALOG', ''); ...osThumb won't work After define('DIR_FS_CATALOG', '/home/myusername/public_html/myshop/'); ...osThumb now works Hope that helps someone...... Quote I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are. Link to comment Share on other sites More sharing options...
RobC1962 Posted April 11, 2011 Share Posted April 11, 2011 Have been happily using this contrib for a long time now, but just this week GoogleBot has been generating crawl errors due the the image filename encryption. How can the file encryption be turned off? I have set it to 'off' in the admin side, but all images are still remaining encrypted. Any help will be gratefully appreciated. Thanks, Rob. Quote Link to comment Share on other sites More sharing options...
Paradisebg Posted April 16, 2011 Share Posted April 16, 2011 Hello, I have problem with oscThumb I install this http://addons.oscommerce.com/info/6480 but when I turn on oscThumb image width and height in product info and boxes is the same can some one to help me I use this code for product info image: <?php echo tep_image_lightbox_link(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name']) . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), PRODUCT_INFO_IMAGE_WIDTH, PRODUCT_INFO_IMAGE_HEIGHT) . '</a><br />'; include(DIR_WS_MODULES . 'additional_images.php'); } ?> Thank you Quote Link to comment Share on other sites More sharing options...
detoner Posted May 14, 2011 Share Posted May 14, 2011 Hi your contribution sounds great but where is the download for v2.3.1? - your zips are empty in the main - the addon section says use Use package 1.1.2 without errors which is empty - can you tell me where its possible to download your contribution for v2.3.1? Thanks in advance Quote Link to comment Share on other sites More sharing options...
rvlt Posted May 18, 2011 Share Posted May 18, 2011 (edited) I can´t understand this, maybe someone here can help me. I installed enverything following the readme file with zero problems. I set the two new parameters (product image width and height) to 190x230 the size i want image to be displayed in product_info.php, i also set the same size to the Small Image parameters for the product lists, i want to use zoom crop function to adjust images variable sizes to the the thumb size. My problem is my thumbs are being created to small (+-20% of the original size and not based on the values i set), the only way to get the size i want is by turning "on" the "Allow thumbnails larger than original" also when i click on product_info.php thumbs the popup opens the small thumb and not the original image size, doesn´t this contribution maintain the original image to be displayed? Or i'm not thinking this the right way. My example: Thumb size set up: 190x230 Original image example: 850x752 (this image thumb will be 170x150 and it should be 190x230 zoom croped) And also, i should get the original size in the popup no? Instead it opens the thumb size (170x150). If someone can help me, i search the all post and no one has nothing similar, some complete details on setting image parameters or a admin print screen would help. Thanks, Edited May 18, 2011 by rvlt Quote Link to comment Share on other sites More sharing options...
jonesy827 Posted July 8, 2011 Share Posted July 8, 2011 Hi, I'm having some trouble with oscThumb. It is working and generating the thumbnails perfectly. I'm just having one problem. If it is generating images on a page and I do not let it finish (takes awhile), I will get an Internal Server Error 500. It will show this error on all pages until it is done generating the images. Is there any way around this? I have caching turned on but it still wants to generate images almost every time. We use 1&1 shared hosting. You can view the site at scopestop.com Quote Link to comment Share on other sites More sharing options...
jonesy827 Posted July 9, 2011 Share Posted July 9, 2011 I was not able to edit my post, but just wanted to say I got the issue resolved. I simply switched to otf autothumb which uses GD version 2, which I think may have been the issues. Quote Link to comment Share on other sites More sharing options...
Roaddoctor Posted July 27, 2011 Share Posted July 27, 2011 I had similar phpThumb no image showing issues.... Try setting all the JPEG QUALITY settings to 100, then test. Once I did this the missing images began appearing again, then I was able to re-set the quality any other varables without issue. Odd, but worked for me. oscThumb 1.12 with the core phpThumb 1.7.10 update applied, on mysql5/php5 server. 2.2Rc2a Quote -Dave Link to comment Share on other sites More sharing options...
ntls2000 Posted August 7, 2011 Share Posted August 7, 2011 Hi, i have installed oscthumbs on my oscommerce 2.3.1 i have a problem with popup , there is no watermarks. Any ideas ? Quote Link to comment Share on other sites More sharing options...
blueedge Posted August 20, 2011 Share Posted August 20, 2011 Since installing oscThumb, it seems that images are very slow to load. Does anyone have any suggestions how I can make the images load faster? Could there be some type of setting I overlooked? Also, in the July 20, 2011 update to the contribution, it states: phpThumb has an exploit command vulnerability.I just took the last phpThumb 1.7.10 and update accordingly to the doc prodided : catalog/phpThumb/phpThumb.php: set the error reporting to (E_ERROR | E_PARSE) instead of E_ALL. catalog/phpThumb/phpThumb.config.php: the following parameters have been modified: $PHPTHUMB_CONFIG['document_root']: from osCommerce constant $PHPTHUMB_CONFIG['cache_directory']: from configuration parameter $PHPTHUMB_CONFIG['high_security_password']: from configuration parameter You should replace your current version of phpThumb with the one provided in the zip file. Does the entire contribution need to be updated or just the two files mentioned? Are there changes to other files than the ones listed? Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.