Jump to content

csv Import Failure


meistergica

Recommended Posts

Hi,

I'm running Prestashop 1.6.1.10 on local host (LAMP over Ubuntu 16.04 LTS) .

 

When I try to import products receive the following error message:

Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /var/www/html/prest/classes/ImageManager.php:237 Stack trace: #0 /var/www/html/prest/controllers/admin/AdminImportController.php(1084): ImageManagerCore::resize('/var/www/html/p...', '/var/www/html/p...', 871, 232, 'jpg', false, 0, 871, 232, 5, 871, 232) #1 /var/www/html/prest/controllers/admin/AdminImportController.php(1823): AdminImportControllerCore::copyImg('14364', '30237', 'http://www.arw....' 'products', true) #2 /var/www/html/prest/controllers/admin/AdminImportController.php(3497): AdminImportControllerCore->productImport() #3 /var/www/html/prest/classes/controller/Controller.php(178): AdminImportControllerCore->postProcess() #4 /var/www/html/prest/classes/Dispatcher.php(367): ControllerCore->run() #5 /var/www/html/prest/admin123/index.php(58): DispatcherCore->dispatch() #6 {main} thrown in /var/www/html/prest/classes/ImageManager.php on line 237

 

Please help me to figure out what's happens 

Link to comment
Share on other sites

I think PHP 7.0 function GD extension is enable ... ( I'm running Prestashop on local host)

 

 

gd

GD Support               enabled

GD headers               Version 2.2.3

GD library                  Version 2.1.1

FreeType Support      enabled

FreeType Linkage      with freetype    

FreeType Version       2.6.1

GIF Read Support      enabled

GIF Create Support    enabled

JPEG Support             enabled

libJPEG Version          8

PNG Support              enabled

libPNG Version           1.2.54

WBMP Support           enabled

XPM Support              enabled

libXpm Version            30411

XBM Support              enabled

WebP Support            enabled

Directive                            Local Value           Master Value

gd.jpeg_ignore_warning           0                           0

Edited by meistergica (see edit history)
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...