You are here:  » large file feeds

Support Forum



large file feeds

Submitted by shopinn on Sun, 2008-03-16 13:27 in

hi david i know this has proberbly been coverd before
but can you advise me on the best way to import large files via putty as when i try to load them through the admin window i get the following notice

Internal Server Error

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

i have requested the host heartinternet to remove the server timeout limit but they are not prepared to do this this is there reply below

Unfortuantely we can;t remove the time limit, but you can set a max_execution_time in a custom php.ini to increase the limit.

for example, the 30 = 30 seconds.

max_execution_time = 30

can you advise the best way of getting around this if poss
best regards
dave

Submitted by support on Sun, 2008-03-16 14:31

Hi Dave,

The first thing to try is using the command line import script (docs). For example (where $ is your command prompt):

$cd path/to/pricetapestry/scripts
$php import.php merchant.xml

(merchant.xml must be one of your registered feeds)

If the time limit is only imposed against the Apache module version of PHP then this method should enable you to import with no time restriction.

Cheers,
David.