Jump to content

New issue came up


Recommended Posts

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.

 

eio3h1.jpg

 

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...

post-158249-0-80482200-1326369165_thumb.jpg

Link to comment
Share on other sites

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

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

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

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

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

  • 3 weeks later...
  • 8 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...