Vote to Improve PrestaShop

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

Photo

[SOLVED] Import - 500 Internal Server Error


  • Please log in to reply
6 replies to this topic
SE123

    PrestaShop Newbie

  • Members
  • Pip
  • 12 posts

Posted 04 June 2010 - 06:52 PM

When i try to import my csv file (1000 products with images) i got this error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxxx@xxxxx.xx 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.


I guess it's about some time out because there are about 200 product imported before error.
Any solution?

rocky

    PrestaShop Legend

  • US Moderators
  • 10079 posts

Posted 05 June 2010 - 03:57 AM

This happens when there are many products. The only solution is to increase your PHP maximum execution time as high as possible. If that doesn't work, you'll need to split the CSV file into small files, or the minimum number of rows that are imported before it times out and then increase the "Skip X lines" value by that number each time it times out so that it resumes about where it left off. What PrestaShop really needs is a "Resume import" option that is similar to the "Resume thumbnail regeneration" option.
Nethercott Constructions - PrestaShop modules and guides

SE123

    PrestaShop Newbie

  • Members
  • Pip
  • 12 posts

Posted 05 June 2010 - 07:07 AM

This happens when there are many products. The only solution is to increase your PHP maximum execution time as high as possible. If that doesn't work, you'll need to split the CSV file into small files, or the minimum number of rows that are imported before it times out and then increase the "Skip X lines" value by that number each time it times out so that it resumes about where it left off. What PrestaShop really needs is a "Resume import" option that is similar to the "Resume thumbnail regeneration" option.



Splitting works.

Thanks :)

supzeb

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts

Posted 27 July 2010 - 09:13 PM

But what should I do If I can't make a split?
I want to make an update for many existing products. so I have to check "Delete all categories before import" - or I will have duplicates.
And then when I try importing (updating) hundreds of products- only a few dozens get updated.
I'd really appreciate your help.

adam3000

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts

Posted 25 August 2011 - 02:49 AM

Splitting? Really. That's the solution?

What about a store with thousands of products?

sixthmind

    PrestaShop Apprentice

  • Members
  • PipPip
  • 95 posts

Posted 30 May 2012 - 12:41 PM

I have thousands of products to import. How can I increase PHP maximum execution time?

bastione

    PrestaShop Apprentice

  • Members
  • PipPip
  • 54 posts

Posted 01 June 2013 - 10:21 AM

WHICH IS THE WAY TO INCREASE THE PHP EXECUTION TIME?
I HAVE A CSV WITH 167 PRODUCTS BUT THE ENGINE IMPORT JUST 12 PRODUCTS EACH TIME...THAT'S INCREDIBLE.
AND THE IMAGE I HAVE SET ON THE IMAGE URL IS JUST 16KB THE DATA ARE LIGHTS BUT THE SITUATION IS LIKE THIS




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users