View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001182 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2009-08-10 13:38 | 2009-09-08 09:29 |
Reporter | MBa | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.4 revision 21266 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0001182: clear cache of categorys displays 'headers already sent' | ||||
Description | If I use in admin->categories->Re-Index Category Tree I got a error message: 'headers already sent' This problem is since 21266. | ||||
Additional Information | I found following changes between 19188 and 21266. views/oxshopcontrol.php from: // show output //ob_Start("gzip"); echo ( $sOutput ); to: // show output //ob_Start("gzip"); // #M1047 Firefox duplicated GET fix header("Content-Type: text/html; charset=".oxLang::getInstance()->translateString( 'charset' )); echo ( $sOutput ); | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
child of | 0001047 | resolved | alfonsas_cirtautas | Firefox doubles HTTP request |
|
Reminder sent to: MBa Hi, Sorry, but we cannot reproduce this case localy. Maybe there are some additional changes in templates or environment on your local shop? Maybe there are some modules installed, which may affect such behavior? Could you please try the same case on our demoshops at: http://demoshop.oxid-esales.com/professional-edition http://demoshop.oxid-esales.com/enterprise-edition The change in the code named "#M1047 Firefox duplicated GET fix" was implemented as a workaround for FireFox bug (entry in our bugrack - 0001047). Best regards, |
|
I think, this is a question of the server, not of my installation. I know, I had simular problems with an other application, on xampp it works great, but a normal productive configured webserver give me this message. And the problem was the same like this, too. > http://es2.php.net/manual/en/function.header.php > Remember that header() must be called before any actual output is sent... and if you take a look to the generated HTML of this Popup, you see, that there is output before the header. This output is written in /core/oxcategorylist.php:494 Ok, I can change my server configuration, but php.net says is a error and there many users who can't change the config on their server. As a quick fix you can use output buffering. But better is to give the output of oxcategorylist.php:494 to the template. Regards, Markus |
|
@Developers: please check from the source code side if there is such situation when output is before the header. If there is - please implement some fix or consider about possible workaround (if it depends on server configuration), and check also in other places to make sure that there is no such behavior. Also please take a look to the fix 0001047, which was implemented as a workaround to solve the harmfull bug in FireFox. |
|
Reminder sent to: MBa can you give us phpinfo output? would like to check on similar environment you have |
|
Reminder sent to: MBa Please give us phpinfo output |
|
Already done > php_info.pdf.zip [^] (88,552 bytes) 08-21-09 20:12 |
|
configured local env. similar to yours and could not get similar problem. Maybe because my system runs on windows. Possibly some non oxid output comes before rendering page, and this causes header sending error. Can you have a look at popup generated html - maybe there is some extra space written or something what does not belong to shop? |
|
fixed |
|
Attachment now has been deleted. |