Magento Forum

   
500 Error only during import/export
 
arronlorenz
Jr. Member
 
Total Posts:  9
Joined:  2009-01-19
 

/disclaimer
First time poster, 5-6 month user
/disclaimer

I have two different Magento installs on dream host. One of them located at quadcitycandle.com/index.php is throwing a 500 error but only during import and export.

The installation went pretty smoothly, and on Friday I got the import feature working correctly and now it’s Monday and the import/export is broken again.

Any tips or pointers on what I should be looking for would help.

According to the error log file i’m seeing the following:

[Mon Jan 19 11:30:18 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgi
[Mon Jan 19 11
:33:18 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgi
[Mon Jan 19 11
:35:56 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgirefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:38:56 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgirefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:40:21 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgirefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:43:09 2009] [error] [client *.*.*.*] Premature end of script headersindex.phprefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:43:21 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgirefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:43:31 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgirefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:43:55 2009] [error] [client *.*.*.*] Premature end of script headersindex.phprefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:45:47 2009] [error] [client *.*.*.*] Premature end of script headersindex.php
[Mon Jan 19 11
:46:28 2009] [error] [client *.*.*.*] Premature end of script headersindex.php
[Mon Jan 19 11
:46:31 2009] [error] [client *.*.*.*] Premature end of script headersphp.cgirefererhttp://quadcitycandle.com/index.php/admin/system_convert_gui/edit/id/1/
[Mon Jan 19 11:46:35 2009] [error] [client *.*.*.*] Premature end of script headersindex.php
[Mon Jan 19 11
:46:49 2009] [error] [client *.*.*.*] Premature end of script headersindex.php
[Mon Jan 19 11
:47:36 2009] [error] [client *.*.*.*] Premature end of script headersindex.php

Most of the forum posts i’ve read in regards to this is errors during install. I have the site up and running, just this one section doesn’t work.

I have also tried using the php5-cgi workaround and that just seems to throw errors for the entire website.

Any tips would be appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
arronlorenz
Jr. Member
 
Total Posts:  9
Joined:  2009-01-19
 

No one has any tips on where to look for a problem? I’ve double checked my folder permissions, and .htaccess files. The front end, and admin work perfectly except for the import/export.

I don’t even need a solution just a push in the right direction.

Regards,
Arron

 
Magento Community Magento Community
Magento Community
Magento Community
 
arronlorenz
Jr. Member
 
Total Posts:  9
Joined:  2009-01-19
 

Rawr

 
Magento Community Magento Community
Magento Community
Magento Community
 
Skeuds
Member
 
Avatar
Total Posts:  53
Joined:  2008-04-15
 

Hi arronlorenz,

I have the same problem but on an other page.

Have you find a solution ?

Thx.

 
Magento Community Magento Community
Magento Community
Magento Community
 
diazwatson
Member
 
Avatar
Total Posts:  35
Joined:  2010-04-23
Spain
 

Since earlier this afternoon I star having this problem when I type /admin
so I can’t even get access to the control panel.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mage Guru
Sr. Member
 
Avatar
Total Posts:  79
Joined:  2009-07-07
 

Anyone had any luck with the cgi fixed versions of magento and exporting a lot of products..

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
preeminent
Jr. Member
 
Total Posts:  7
Joined:  2010-09-27
 

Good luck all, I am just about to abandon the idea of using Magento. No support(it’s free, so I understand) with a system that has so many problems and errors. At least it seems that way, when reading through these forums.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Turnkeye
Enthusiast
 
Avatar
Total Posts:  908
Joined:  2008-12-20
URL: turnkeye.com
 

This issue is divided into 2 parts.

1) Server related 500 error

To fix this error you will need to increase memory and time limit in your PHP.
If it will not help, switch your PHP to suPHP.

2) Memory issue in old version of Magento 1.4.1.1

If you have old version of Magento e.g. 1.4.1.1. you need to apply this patch:
http://www.magentocommerce.com/boards/viewthread/113901/P30/#t280509

It will speed up export process.

We fixed 500 error issue on our hosting for our client with extremely large products catalog recently.
So feel free to contact us if you have 500 error, we will help.

 
Magento Community Magento Community
Magento Community
Magento Community
 
knarz
Member
 
Total Posts:  43
Joined:  2009-07-11
 

Hi, I am having the same problem right now with Magento 1.5.1. I already increased the memory_limit to 1G and max_execution_time to 900! seconds. Nothing helps while running in a fcgi/suexec environment.. :(

Its about ~8500 Products.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mage Guru
Sr. Member
 
Avatar
Total Posts:  79
Joined:  2009-07-07
 

A few lines from my php.ini

Hope it helps..

apc.shm_size = 128
post_max_size = 20M
default_socket_timeout = 200

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top