jonny72 Posted November 15, 2010 Share Posted November 15, 2010 Hi guys,I`am having a problem importing a csv file into prestashopThe file imports ok if i miss out the image path but when i include the image path on the full csv file (10000 products) i get this error-Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.If i import only one line of the csv file it imports okcan someone please help ! Link to comment Share on other sites More sharing options...
tomerg3 Posted November 15, 2010 Share Posted November 15, 2010 Sounds like a timeout issue, check out http://www.presto-changeo.com/content/13-fixing-error-500 Link to comment Share on other sites More sharing options...
col88 Posted November 16, 2010 Share Posted November 16, 2010 FYI.. i had this issue yesterday with a large CSV import;I had to update my php.ini file where the max_execution_time (time-out) was set to 30 seconds. Increasing this to 600 seconds allows my CSV enough time to run. max_execution_time = 600; Maximum execution time of each script, in seconds Link to comment Share on other sites More sharing options...
jonny72 Posted November 17, 2010 Author Share Posted November 17, 2010 Hi, thanks for your help but can you tell me where to find the php.ini file,thanks in advance Link to comment Share on other sites More sharing options...
tomerg3 Posted November 17, 2010 Share Posted November 17, 2010 It should be in your home directory, if it's not there, you can create one.To check if the values you are changing take affect, create a new php file <? phpinfo(); ?> Link to comment Share on other sites More sharing options...
jonny72 Posted November 17, 2010 Author Share Posted November 17, 2010 Hi,I dont have a php.ini file in the root directoryIam new to this, can you tell me how to create a php.ini file to change the time to 600 Link to comment Share on other sites More sharing options...
col88 Posted November 17, 2010 Share Posted November 17, 2010 If you dont have one then you can use the one i have attached to this post.This needs to go in the root of your website host's directory. If you still have issues i would contact your webhost and ask them to change this setting for you. php.zip Link to comment Share on other sites More sharing options...
jonny72 Posted November 18, 2010 Author Share Posted November 18, 2010 I have added the php.ini file to the root directory and found it to be no better,I have been in contact with my host company and have modifyed the htaccess file to 600second but still no better, do you have anything else i can try ?thanks Link to comment Share on other sites More sharing options...
tomerg3 Posted November 18, 2010 Share Posted November 18, 2010 check if it was actually changed using phpinfo() Link to comment Share on other sites More sharing options...
jonny72 Posted November 18, 2010 Author Share Posted November 18, 2010 ok,I have checked the php info settings and it is reading 600 seconds,just a quick observation if i upload without the image url the upload runs okthanks Link to comment Share on other sites More sharing options...
tomerg3 Posted November 19, 2010 Share Posted November 19, 2010 Hmm, then try to check the error log right after you get the error, it should have more details about it. 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