certify Posted May 21, 2009 Share Posted May 21, 2009 This is not oscThumb error. Probably you do not have put authorizations to 'images' directory. Try set 755 or 707 or 777 for this directory (this depends where shop is). I'm on Windows server.. Linux permission does not work. Any idea how to set the permission on Windows server? Quote Link to comment Share on other sites More sharing options...
certify Posted May 21, 2009 Share Posted May 21, 2009 I'm on Windows server.. Linux permission does not work. Any idea how to set the permission on Windows server? I got it working.. I just need to set the NTFS folder permission for Internet Guest Account (IUSR_servername) to read and write. Quote Link to comment Share on other sites More sharing options...
bobzh Posted May 22, 2009 Share Posted May 22, 2009 (edited) Hi, I have a problem with the sql file, it comes from this line :  INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (16,'oscThumb','Configuration options for the oscThumb contribution',16,1); On my phpmyadmin I got:  Error SQL: INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible ) VALUES ( 16, 'oscThumb', 'Configuration options for the oscThumb contribution', 16, 1 ); MySQL answer:Documentation #1062 - Duplicate entry '16' for key 1 My OScom is new, I never changed anything on tables. Apparently the number 16 of configuration_group table is already used? How can I change that?  Thank you in advance.  edit: in fact n°16 of configuration_group_id seems to be used by SEO URLs / Options for Ultimate SEO URLs by Chemo Edited May 22, 2009 by bobzh Quote Link to comment Share on other sites More sharing options...
certify Posted May 22, 2009 Share Posted May 22, 2009 I have upload 4 images to this product (all 4 images were successfully uploaded) but when I click enlarge I only can see the the 1st images and there is no left or right arrow to view the rest of the images.. Â http://www.supersave.com.my/shop/product_i...cbnj8esagdo8cs1 Â Any idea? Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted May 22, 2009 Share Posted May 22, 2009 I have upload 4 images to this product (all 4 images were successfully uploaded) but when I click enlarge I only can see the the 1st images and there is no left or right arrow to view the rest of the images.. Any idea? oscThum does not support this, but you can use a file popup_image.php from my other contributions what named Image Mix. Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted May 22, 2009 Share Posted May 22, 2009 Hi, I have a problem with the sql file, it comes from this line :Â INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (16,'oscThumb','Configuration options for the oscThumb contribution',16,1); Fresh installation - I had in mind that nothing is included before. Â I uploaded the new files, this should be good for everyone. Here is latest 1.1 version of oscThumb. Quote Link to comment Share on other sites More sharing options...
certify Posted May 22, 2009 Share Posted May 22, 2009 oscThum does not support this, but you can use a file popup_image.php from my other contributions what named Image Mix. Ok, great! Quote Link to comment Share on other sites More sharing options...
surfinagain Posted May 22, 2009 Share Posted May 22, 2009 I just installed this contrib and unfortunately it's not working. When I enable it there are no thumbnails generated only the alt text for the images. If I click on the image text it goes tot he product page with no thumbnail just text where the image would be. However, if I click the product title under where the image would normally be I get the error below. I didn't receive any sql or other errors during the install. I follow the instructions without issue. I have no problems using the admin interface to change parameters. Any ideas of where the problem is? Thanks in advance for any help. Â Forbidden You don't have permission to access /catalog/index.php/cPath/138_143 on this server. Â Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted May 23, 2009 Share Posted May 23, 2009 Any ideas of where the problem is? Show screenshots instead to describe the problem. It is easier to identify. Someone can help you quickly, when see the error. For example, errors phpThumb have violet background. Quote Link to comment Share on other sites More sharing options...
surfinagain Posted May 24, 2009 Share Posted May 24, 2009 Show screenshots instead to describe the problem. It is easier to identify. Someone can help you quickly, when see the error.For example, errors phpThumb have violet background. Â That's just it...I'm not getting any errors...other than the html error mentioned above and there's nothing there to show. In the product list all I'm getting is the product I'm just not getting thumnails. Perhaps I should mention that I am also displaying products in columns not rows. Quote Link to comment Share on other sites More sharing options...
germ Posted May 24, 2009 Share Posted May 24, 2009 You don't have permission to access /catalog/index.php/cPath/138_143 on this server. From that, I'd say in your Admin, set 'Use Search-Engine Safe URLs (still in development)' to false.  Save it.  The URL is screwed. It should be: /catalog/index.php?cPath=138_143 Quote 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...
surfinagain Posted May 24, 2009 Share Posted May 24, 2009 From that, I'd say in your Admin, set 'Use Search-Engine Safe URLs (still in development)' to false. Save it.  The URL is screwed. It should be: /catalog/index.php?cPath=138_143  yes...tried that first and it didn't help. same issue with not receiving thumbnails. Quote Link to comment Share on other sites More sharing options...
surfinagain Posted May 24, 2009 Share Posted May 24, 2009 I did just now get this error: Â Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/mysite/public_html/catalog/includes/classes/oscthumb.php on line 260 Â Does this help diagnose the problem? Quote Link to comment Share on other sites More sharing options...
ssnb Posted May 26, 2009 Share Posted May 26, 2009 (edited) OscThumb latest version 1.0.1 is available. Here you can see it in action: http://www.novaxim.linuxpl.com/oscDemo/index.php  Hi  First of all, thanks go to the authors for this contribution - it looks great and well done -  however, I've been unable to successfully test it:  www.sk8factoryshop.com  Many of the thumbnail images come up blank with just the alt text in its place - that's the weird thing, some are fine, others don't show up. A page refresh usually results in a completely different set of images not displaying that were last time!  I'm using STS and have implemented all of the suggestions previously made.   I see there are several people who like me have / or had the same issue, but so far no response from anyone!  Can anyone shed any light on this? I'd love to fix it ! :-)   PS: I should say that I also have On The Fly installed and UltraPics - would that matter?    TIA Edited May 26, 2009 by ssnb Quote Link to comment Share on other sites More sharing options...
bobbzh Posted June 1, 2009 Share Posted June 1, 2009 I think I found a bug, thanks to confirm: Â If you have a big product-information-image (300px for exemple) and have a review on this product, if you see the review on colomn_right when you are on the product page, both images have the same size, so right column is completely too large (300px). Â Is it clear? :) Same thing on your site? Â It's not possible to see this problem on demo page from author ( http://www.novaxim.linuxpl.com/oscDemo/ ) because the product-information-image is too small and no review on the product. Â Another problem: I think it's not possible to disable Encrypt Image Filenames option. I think the problem above is because of that (same Encrypt for small image in reviews box and product-information-image) Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted June 1, 2009 Share Posted June 1, 2009 Same thing on your site? I had a problem with images in columns (left or right) when width of image exceeded width of the column. However, the problem disappeared. I will check it again. Box 'What's new?' and 'Revievs' or 'Specials' uses the same display rule, so I think. You suggesting that I have to set the size of main image (product image) on the 300? I did it. Please note, that I have now version 1.1 of oscThumb, which exactly installed according to the information in the Install.html file. Â Encrypt Image Filenames (with thumbnails and watermarks) is a essence feature of this contribution. There is no need to disable Encrypt Image Filenames option. ;) Quote Link to comment Share on other sites More sharing options...
bobbzh Posted June 1, 2009 Share Posted June 1, 2009 Thank you for your quick reply :) Â I had a problem with images in columns (left or right) when width of image exceeded width of the column. However, the problem disappeared. I will check it again. Yes, I mean I have this problem. Did you check? Just put a large image product, and post a review about it... Â Box 'What's new?' and 'Revievs' or 'Specials' uses the same display rule, so I think. You mean it's normal? Reviews box picture and Product picture must have the same width? Â You suggesting that I have to set the size of main image (product image) on the 300? I did it. No no, any size must be allowed of course, but I want to keep my 150px right column when I have a Product picture larger... Â Encrypt Image Filenames (with thumbnails and watermarks) is a essence feature of this contribution. There is no need to disable Encrypt Image Filenames option. Hehe, I agree with that, but I wanted to test without, if the problem come from that... Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted June 1, 2009 Share Posted June 1, 2009 Yes, I mean I have this problem.Did you check? Just put a large image product, and post a review about it... Why do I think that review will change the way? I wrote that the boxes 'What's new?' and 'Reviews' or 'Specials' uses the same display rule. If you have something bad in the 'Reviews', when it should be same in 'What's new?' and 'Specials', is not it? I noticed problem with large width of product image earlier. Today, I see that I have no problem. Check it out on the oscDemo. Â You mean it's normal? Reviews box picture and Product picture must have the same width? Of course, NO! Â No no, any size must be allowed of course, but I want to keep my 150px right column when I have a Product picture larger... ^ check on my oscDemo. Â Hehe, I agree with that, but I wanted to test without, if the problem come from that... You can set the display of original images for other types, such as: logos, buttons, etc. Not checked this, but all images displayed in columns is probably one category. Encrypt Image Filenames option is rather allowed to test a whole. Quote Link to comment Share on other sites More sharing options...
bobbzh Posted June 1, 2009 Share Posted June 1, 2009 Thanks again, Â I will surprise you, take a look on your demo site, I wrote a review and there is the same problem than on my site :) Â http://www.novaxim.linuxpl.com/oscDemo/pro...p?products_id=1 Â So reviews box and what's new box use a different image... Quote Link to comment Share on other sites More sharing options...
dodog Posted June 8, 2009 Share Posted June 8, 2009 Maciej, and what about Lightbox? Â Is it possible to have oscThumb with Lighbox installed and working correctly? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2009 Share Posted June 10, 2009 Just tried to install this contribution and this is what is happening:   Parse error: syntax error, unexpected T_VARIABLE in /home/content/y/o/g/yogicchai/html/catalog/yogicchai/includes/application_top.php on line 683  // START oscThumb   require(DIR_WS_CLASSES . 'oscthumb.php');     $oscthumb = new oscthumb; (This is line 683)     $oscthumb->check_hash(); // Check if parameters have changed. Delete cache if yes. // END oscThumb  Any suggestions? Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted June 11, 2009 Share Posted June 11, 2009 I think I found a bug, thanks to confirm:Â If you have a big product-information-image (300px for exemple) and have a review on this product, if you see the review on colomn_right when you are on the product page, both images have the same size, so right column is completely too large (300px). I think, that reason is it, that oscThumb remembers last thumbnails type setting and right-column is after content product_info.php. Okey, I found two way to solve. First, by adding PRODUCT_INFO_IMAGE_WIDTH and PRODUCT_INFO_IMAGE_HEIGHT for function identify of type or second, by exclusion possibility changing of type for Small Image on product_inf.php page by function identify of type. For this, lines 40-62 of file 'catalog/includes/classes/oscthumb.php' replace with this: function set_type ($src, $width, $height, $thumbnail_type = 0) { // Try to detect what kind of image we are currently processing, so we can do what have to do with it. global $product_info; $this->thumbnail_type = $thumbnail_type; if ($this->thumbnail_type==0) { // If thumbnail type is already chosen, do not try to find it again. if ( $width == SMALL_IMAGE_WIDTH && $height == SMALL_IMAGE_HEIGHT) { $this->thumbnail_type=1; // Small image } elseif ($width == HEADING_IMAGE_WIDTH && $height == HEADING_IMAGE_HEIGHT) { $this->thumbnail_type=2; // Heading image } elseif ($width == SUBCATEGORY_IMAGE_WIDTH && $height == SUBCATEGORY_IMAGE_HEIGHT) { $this->thumbnail_type=3; // Subcategory image } elseif ($width == PRODUCT_INFO_IMAGE_WIDTH && $height == PRODUCT_INFO_IMAGE_HEIGHT) { $this->thumbnail_type=4; // Product info image } elseif (basename ($_SERVER['PHP_SELF'])== FILENAME_PRODUCT_INFO) { // Final check just to make sure that we don't interfere with other contribs. if (isset($product_info['products_image']) && $src == DIR_WS_IMAGES . $product_info['products_image'] && $product_info['products_id']==(int)$_GET['products_id']) { $this->thumbnail_type=4; // Product info image } } elseif (basename ($_SERVER['PHP_SELF'])== FILENAME_POPUP_IMAGE) { $this->thumbnail_type=5; // Popup image } } } and in product_info.php SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, replace with PRODUCT_INFO_IMAGE_WIDTH, PRODUCT_INFO_IMAGE_HEIGHT, or erase it fragment. Â From this time, all images which have declared PRODUCT_INFO_IMAGE_WIDTH and PRODUCT_INFO_IMAGE_HEIGHT on each page or images without declared dimension on product_info.php will be set thumbnail type for Product Info Image. Â Committed any errors? Anyone have a better solution this? Quote Link to comment Share on other sites More sharing options...
osCommaniak Posted June 12, 2009 Share Posted June 12, 2009 Is it possible to have oscThumb with Lighbox installed and working correctly? I think, yes! I need some time for test it. When I done, then I publish new version of oscThumb, which well work with Lightbox. Please be patient. I have corrected some main errors yet. Quote Link to comment Share on other sites More sharing options...
bobbzh Posted June 16, 2009 Share Posted June 16, 2009 Committed any errors?Anyone have a better solution this? I don't know if there is a better solution but seems perfect for me! Thank you so much! :) Â And for information, I already installed lightbox and it's working well :) Quote Link to comment Share on other sites More sharing options...
Amstuned Posted June 17, 2009 Share Posted June 17, 2009 (edited) I installed this contribution on a new install and now the categories show up twice. I followed instructions to a T here is a example. Any idea what I did wrong? If I turn OSCThumbs off it goes back to normal. Turn it on it doubles up again. Â http://upscalefashionboutique.com/index.php?cPath=26 Edited June 17, 2009 by Amstuned 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.