This is the error I am receiving upon import of some new products, everything was working fine before the import but why does an import cause the JM Product Slider to crash site? Any help ASAP would be great as I have a deadline for this site. Thanks again guys.
Error:
Notice: getimagesize() [function.getimagesize]: Read error! in /home/empirebo/public_html/xmas/app/code/local/JoomlArt/JmProductsSlider/Block/List.php on line 348
Trace:
#0 [internal function]: mageCoreErrorHandler(8, ‘getimagesize() …’, ‘/home/empirebo/…’, 348, Array)
#1 /home/empirebo/public_html/xmas/app/code/local/JoomlArt/JmProductsSlider/Block/List.php(348): getimagesize(‘/home/empirebo/…’)
#2 /home/empirebo/public_html/xmas/app/design/frontend/default/jm_seleni/template/joomlart/jmproductsslider/list.phtml(167): JoomlArt_JmProductsSlider_Block_List->jmResize(NULL, ”, ”)
#3 /home/empirebo/public_html/xmas/app/code/core/Mage/Core/Block/Template.php(144): include(‘/home/empirebo/…’)
#4 /home/empirebo/public_html/xmas/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#5 /home/empirebo/public_html/xmas/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#6 /home/empirebo/public_html/xmas/app/code/local/JoomlArt/JmProductsSlider/Block/List.php(66): Mage_Core_Block_Template->_toHtml()
#7 /home/empirebo/public_html/xmas/app/code/core/Mage/Core/Block/Abstract.php(643): JoomlArt_JmProductsSlider_Block_List->_toHtml()
#8 /home/empirebo/public_html/xmas/app/code/core/Mage/Core/Model/Email/Template/Filter.php(135): Mage_Core_Block_Abstract->toHtml()
#9 [internal function]: Mage_Core_Model_Email_Template_Filter->blockDirective(Array)
#10 /home/empirebo/public_html/xmas/lib/Varien/Filter/Template.php(134): call_user_func(Array, Array)
#11 /home/empirebo/public_html/xmas/app/code/core/Mage/Cms/Block/Page.php(78): Varien_Filter_Template->filter(‘
4 answers
during the import it had some unusual characters brought into the image fields this is fixed.
Dear davep,
Thank you for contacting JoomlArt., please check again . Our dev fixed in your site
Hey guys actually looks like while I thought I was troubleshooting really joomlart dev’s were already in my site taking care of business. Thanks guys super quick response much appreciated!!! I think this will be yet another Joomlart customer when I have the site done: http://www.empireboardgames.com moving to JM_seleni
HI
Please open app/design/frontend/default/jm_seleni/template/joomlart/jmproductsslider/list.phtml file, at about line 90, find following code:
Code:
$resize_image = $this->jmResize($_product->getImage(), $configs['width'], $configs['height']);
and change to:
Code:
$resize_image = $this->jmResize($_product['thumbnail'], $configs['width'], $configs['height']);
This question is now closed