piotrek.btr Posted July 11, 2017 Share Posted July 11, 2017 Hello i have a problem When i click in menu in CSV link a get Blank Page i cant open CSV page why ? Thank you for any ideas Link to comment Share on other sites More sharing options...
piotrek.btr Posted July 11, 2017 Author Share Posted July 11, 2017 i have this problem Parse error: syntax error, unexpected ''active'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) in override/controllers/admin/AdminImportController.phpon line 13 Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2017 Share Posted July 11, 2017 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 More sharing options...
piotrek.btr Posted July 11, 2017 Author Share Posted July 11, 2017 1.6.1.11 version i build my shop so when i started with prestashop csv was ok but now i click in menu on csv and i get blank page what i can do this ? thank you Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2017 Share Posted July 11, 2017 Have you just installed any new modules? Link to comment Share on other sites More sharing options...
piotrek.btr Posted July 11, 2017 Author Share Posted July 11, 2017 i never use csv but now i would like to use this so i building my shop 2 months and i installed few modules but all work goods when i started. Link to comment Share on other sites More sharing options...
piotrek.btr Posted July 11, 2017 Author Share Posted July 11, 2017 i can repair this problem ? Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2017 Share Posted July 11, 2017 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 More sharing options...
piotrek.btr Posted July 18, 2017 Author Share Posted July 18, 2017 I can reinstall CSV in prestashop ? CSV not working when i choose this option i get blank page. Any solutions ? Thank you Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2017 Share Posted July 18, 2017 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 More sharing options...
piotrek.btr Posted July 19, 2017 Author Share Posted July 19, 2017 Hi I uninstaled a few modules but this not helpful. I disable all modules which i installed and this not helpful. So what can i do ? Thank you for answers ! Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2017 Share Posted July 19, 2017 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 More sharing options...
piotrek.btr Posted July 19, 2017 Author Share Posted July 19, 2017 <?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 More sharing options...
endriu107 Posted July 19, 2017 Share Posted July 19, 2017 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 More sharing options...
piotrek.btr Posted July 19, 2017 Author Share Posted July 19, 2017 Thank you very much !!!!!! When i paste this code my csv work !!!!! Thank you now i check that this work when i send some file ! Link to comment Share on other sites More sharing options...
endriu107 Posted July 20, 2017 Share Posted July 20, 2017 I mark this topic as solved 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