rajsharma Posted January 12, 2012 Share Posted January 12, 2012 Recently we have migrated by prestashop from shared hosting to VPS. And we are using prestashop Verison 1.3.3.0 and now after the migration we are facing some issues like: 1) The product is showing in BO but sometime it gives error in Front end - Product is no longer available 2) In the BO for example in a categories there are 20 products but after few products are displayed and after that its blank and the page does not loads below and it looks like a corrupt code to us but not able to understand. Check the attach image just below item no. 996 - Dali there is an product in 1031 but its not showing and there are nearly 10 more products below that but not we are not able to edit them. please let us know what could be the issue. And also sometime the Front End only shows the left side column and rest all becomes white... Link to comment Share on other sites More sharing options...
bellini13 Posted January 12, 2012 Share Posted January 12, 2012 for the backoffice issue you are getting an error. the issue would seem to be related to the product image. in config/config.inc.php, change the display_errors setting to 'on' and try again. hopefully this will display the error for you as for issue 1, you could try deleting the smarty compile and cache, as well as your browser cookies, but I really don't know if that would help. Link to comment Share on other sites More sharing options...
rajsharma Posted January 12, 2012 Author Share Posted January 12, 2012 Thanx for ur early response... Now i have changed the error setting to ON now i am getting error - Fatal error: Call to undefined function imagecreatefromgif() in /shop/images.inc.phpon line 16 please let me know what needs to be done now... Link to comment Share on other sites More sharing options...
rajsharma Posted January 12, 2012 Author Share Posted January 12, 2012 coding from the actual file images.inc.php - function cacheImage($image, $cacheImage, $size, $imageType = 'jpg') { if (file_exists($image)) { if (!file_exists(_PS_TMP_IMG_DIR_.$cacheImage)) { $imageGd = ($imageType == 'gif' ? imagecreatefromgif($image) : imagecreatefromjpeg($image)); $x = imagesx($imageGd); $y = imagesy($imageGd); hope this will help you to understand the issue... and the Green color text is the line 16 Link to comment Share on other sites More sharing options...
bellini13 Posted January 12, 2012 Share Posted January 12, 2012 hmm. i had encountered this issue in the past... what version of php are you using? it would seem the GD library is not enabled. the following site has some details http://www.boutell.com/gd/faq.html if you can run a phpinfo on your host, you should find a section called GD. GD support needs to be on. 1 Link to comment Share on other sites More sharing options...
rajsharma Posted January 13, 2012 Author Share Posted January 13, 2012 prestashop Verison 1.3.3.0 I am afraid of updating to 1.4.6 as i can't risk losing product details, customer history.... as i have heard from many they have faced issued with 1.4 version... And i will check the GD and if its not there will install that.. and will get back to u... Link to comment Share on other sites More sharing options...
rajsharma Posted January 13, 2012 Author Share Posted January 13, 2012 We have started the installation of GD ... But now in BO we are also having this issues.... Deprecated: Assigning the return value of new by reference is deprecated in /home/pranab/public_html/home/shop/classes/Module.php(323) : eval()'d code on line 529 Warning: include_once(../../classes/Product.php) [function.include-once]: failed to open stream: No such file or directory in/home/pranab/public_html/home/shop/classes/Module.php(323) : eval()'d code on line 12 Warning: include_once() [function.include]: Failed opening '../../classes/Product.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/pranab/public_html/home/shop/classes/Module.php(323) : eval()'d code on line 12 Thanx Link to comment Share on other sites More sharing options...
rajsharma Posted January 13, 2012 Author Share Posted January 13, 2012 @Bellini13 - thanx the issue of the image was coming has been solved - we have installed the GD and now its working well.. but the later issues in the post above this mention is there till now... Link to comment Share on other sites More sharing options...
bellini13 Posted January 13, 2012 Share Posted January 13, 2012 those are warnings and likely due to the fact that you are using a 1.3 version of prestashop. you should really considering upgrading. if you disable the display errors now, you should not see those warnings. Link to comment Share on other sites More sharing options...
rajsharma Posted January 30, 2012 Author Share Posted January 30, 2012 We have upgraded and new issues have come up - Presta 1.4.6.2 category issue after upgrade BO slowed downed after upgrade Please see if u can help Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted October 8, 2012 Share Posted October 8, 2012 hmm. i had encountered this issue in the past... what version of php are you using? it would seem the GD library is not enabled. the following site has some details http://www.boutell.com/gd/faq.html if you can run a phpinfo on your host, you should find a section called GD. GD support needs to be on. solved after installed gd lib sudo apt-get install php5-gd Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now