Jump to content

CSV not working why ?


Recommended Posts

Which version of prestashop?

Is this a new problem or had it never worked?

If a new problem have you jsut installed a new module?

 

The error message suggests an override, so that suggests a faulty module somewhere

Link to comment
Share on other sites

The only think I can suggest is to disable all the third party modules one at a time until you find out the one that is causing the problem

Link to comment
Share on other sites

I told you the only method that is possible

 

Something is conflicting. A module is conflicting with the CSV import. All you can do is work through the modules one at a time until you find the culprit. Start with the most recently installed modules.

 

 

This: override/controllers/admin/AdminImportController.php

 

Tells you that something has overridden the stadard file. You could try to look at that file and work out which module installed the override, or you can disbale the modules as I already explained

Link to comment
Share on other sites

Have you looked at this file?

 

override/controllers/admin/AdminImportController.php

 

perhaps you can upload the contents of the file here, it may say which module is the culprit

Link to comment
Share on other sites

<?php

@ini_set('max_execution_time', 0);
 
define('MAX_LINE_SIZE', 0);
 
define('UNFRIENDLY_ERROR', false);
 
define('MAX_COLUMNS', 6);
 
@ini_set('auto_detect_line_endings', '1');
class AdminImportController extends AdminImportControllerCore
{
        'active' => array('AdminImportController', 'getBoolean'),
        'tax_rate' => array('AdminImportController', 'getPrice'),
        
        'price_tex' => array('AdminImportController', 'getPrice'),
        
        'price_tin' => array('AdminImportController', 'getPrice'),
        'reduction_price' => array('AdminImportController', 'getPrice'),
        'reduction_percent' => array('AdminImportController', 'getPrice'),
        'wholesale_price' => array('AdminImportController', 'getPrice'),
        'ecotax' => array('AdminImportController', 'getPrice'),
        'name' => array('AdminImportController', 'createMultiLangField'),
        'description' => array('AdminImportController', 'createMultiLangField'),
        'description_short' => array('AdminImportController', 'createMultiLangField'),
        'meta_title' => array('AdminImportController', 'createMultiLangField'),
        'meta_keywords' => array('AdminImportController', 'createMultiLangField'),
        'meta_description' => array('AdminImportController', 'createMultiLangField'),
        'link_rewrite' => array('AdminImportController', 'createMultiLangField'),
        'available_now' => array('AdminImportController', 'createMultiLangField'),
        'available_later' => array('AdminImportController', 'createMultiLangField'),
        'category' => array('AdminImportController', 'split'),
        'online_only' => array('AdminImportController', 'getBoolean'),
    );
}
 
 
Thank you ! this is copy my file 
Link to comment
Share on other sites

This is all content of this file?

 

Normally it should looks like:

 

<?php
@ini_set('max_execution_time', 0);
 
define('MAX_LINE_SIZE', 0);
 
define('UNFRIENDLY_ERROR', false);
 
define('MAX_COLUMNS', 6);
 
@ini_set('auto_detect_line_endings', '1');
class AdminImportController extends AdminImportControllerCore
{
    public static $validators = array(
        'active' => array('AdminImportController', 'getBoolean'),
        'tax_rate' => array('AdminImportController', 'getPrice'),
        
        'price_tex' => array('AdminImportController', 'getPrice'),
        
        'price_tin' => array('AdminImportController', 'getPrice'),
        'reduction_price' => array('AdminImportController', 'getPrice'),
        'reduction_percent' => array('AdminImportController', 'getPrice'),
        'wholesale_price' => array('AdminImportController', 'getPrice'),
        'ecotax' => array('AdminImportController', 'getPrice'),
        'name' => array('AdminImportController', 'createMultiLangField'),
        'description' => array('AdminImportController', 'createMultiLangField'),
        'description_short' => array('AdminImportController', 'createMultiLangField'),
        'meta_title' => array('AdminImportController', 'createMultiLangField'),
        'meta_keywords' => array('AdminImportController', 'createMultiLangField'),
        'meta_description' => array('AdminImportController', 'createMultiLangField'),
        'link_rewrite' => array('AdminImportController', 'createMultiLangField'),
        'available_now' => array('AdminImportController', 'createMultiLangField'),
        'available_later' => array('AdminImportController', 'createMultiLangField'),
        'category' => array('AdminImportController', 'split'),
        'online_only' => array('AdminImportController', 'getBoolean'),
    );
}
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...