Jump to content

CSV import problem


Recommended Posts

When I try to import csv file, after I click 'Next step' the screen goes blank without any error.

What can be the problem?

 

When I select English it imports with caharacter problem, but when I select Turkish goes to blank white screen. The language of the site and the products is Turkish.

 

Isn't there any solution without buying a module?

Link to comment
Share on other sites

These are the errors:

Notice: Constant MAX_LINE_SIZE already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 29

Notice: Constant UNFRIENDLY_ERROR already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 32

Notice: Constant MAX_COLUMNS already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 35

Fatal error: Cannot redeclare class AdminImportControllerCore in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 41

Link to comment
Share on other sites

Please turn on error report from define.inc.php file in located in config folder.

then check error message

 

These are the errors:

 

Notice: Constant MAX_LINE_SIZE already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 29

 

Notice: Constant UNFRIENDLY_ERROR already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 32

 

Notice: Constant MAX_COLUMNS already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 35

 

Fatal error: Cannot redeclare class AdminImportControllerCore in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php on line 41

Link to comment
Share on other sites

Getting a similar error, just showed up today, following various (presta) module updates:

 

Notice on line 17 in file /home../modules/tablerateshipping/classes/CarrierTableRate.php
[8] Constant MAX_LINE_SIZE already defined

Link to comment
Share on other sites

  • 3 years later...

Hi,

Open the file mentioned in error like 

Notice: Constant UNFRIENDLY_ERROR already defined in /home/istanbuldabuhaftasonu.com/httpdocs/controllers/admin/AdminImportController.php 
on line 32

Then above file and goto line 32 
there you will find some thing like this 

define('UNFRIENDLY_ERROR', false); 

and replace it with 

if(!defined('UNFRIENDLY_ERROR')){
 define('UNFRIENDLY_ERROR', false);   
}

 

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