[SOLVED] Import - 500 Internal Server Error - Configuring & using PrestaShop - PrestaShop

Jump to content

Photo

[SOLVED] Import - 500 Internal Server Error

#1

Posted 04 June 2010 - 06:52 PM

SE123

    PrestaShop Newbie

  • Members
  • Pip
  • 12 Active Posts
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?

#2

Posted 05 June 2010 - 03:57 AM

rocky

    PrestaShop Legend

  • US Moderators
  • 10220 Active Posts
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

#3

Posted 05 June 2010 - 07:07 AM

SE123

    PrestaShop Newbie

  • Members
  • Pip
  • 12 Active Posts

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 :)

#4

Posted 27 July 2010 - 09:13 PM

supzeb

    PrestaShop Newbie

  • Members
  • Pip
  • 6 Active Posts
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.

#5

Posted 25 August 2011 - 02:49 AM

adam3000

    PrestaShop Newbie

  • Members
  • Pip
  • 1 Active Posts
Splitting? Really. That's the solution?

What about a store with thousands of products?

#6

Posted 30 May 2012 - 12:41 PM

sixthmind

    PrestaShop Apprentice

  • Members
  • PipPip
  • 95 Active Posts
I have thousands of products to import. How can I increase PHP maximum execution time?

#7

Posted 01 June 2013 - 10:21 AM

bastione

    PrestaShop Apprentice

  • Members
  • PipPip
  • 54 Active Posts
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

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more