Webonator Posted August 2, 2013 Share Posted August 2, 2013 Hi I am trying to upload a csv file. it was working and now it is broken. When I upload a file I get an 500 - Internal server error. Even trying to upload 4 lines just takes for ever and then throws that error. This started happening after I tried to import more than 2500 line items. Can anyone please assist as it seems that Prestashop is broken. Thank you. Link to comment Share on other sites More sharing options...
swsindonesia Posted August 2, 2013 Share Posted August 2, 2013 Hi, What kind of CSV are you trying to upload ? product / category ? can you attach that file here (you may change the name into bogus information if needed) ? Please tell us more about your hosting environment There may be something wrong with your PHP max_input_file or any other limitation, the first place to look would be your webserver error_log. Link to comment Share on other sites More sharing options...
Webonator Posted August 2, 2013 Author Share Posted August 2, 2013 Thank you for your prompt reply. CSV is products I am running on an IIS Webserver. I have checked PHP limitations. Even if I remove all lines baring three or four it still fails. I cant seem to attach the file (it is a straight forward csv file). I get this error when trying to attach it. Error You aren't permitted to upload this kind of file Link to comment Share on other sites More sharing options...
Webonator Posted August 2, 2013 Author Share Posted August 2, 2013 This seems to work new.txt Link to comment Share on other sites More sharing options...
swsindonesia Posted August 2, 2013 Share Posted August 2, 2013 Hi, did you enable your php error reporting ? Try to enable development mode, so you can get more detailed error rather than the 500 internal error go to config/defines.inc.php change define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); Let's see if that gives you a proper error stack information. Link to comment Share on other sites More sharing options...
Webonator Posted August 19, 2013 Author Share Posted August 19, 2013 Hi My apologies for the late reply. Thank you again for your assistance. I canged the define('_PS_MODE_DEV_', true);however it does not provide any stack detail. Thank you Link to comment Share on other sites More sharing options...
swsindonesia Posted August 19, 2013 Share Posted August 19, 2013 Hi, Let's run through this once more: 1. You're uploading a csv file through your PS back-office 2. Suddenly out of nowhere you got an error 500 3. At this point, go to your adminfolder/import and check whether your just uploaded file is there or not. 4. If not, that means you failed to upload that file, perhaps due to permission problem, change that folder permission to writeable then redo the upload 5. If problem persists, take a look at your web server / hosting error_log by first enabling the error reporting, described by the steps here: http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ Link to comment Share on other sites More sharing options...
Recommended Posts