View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004764 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2012-11-30 18:04 | 2013-09-25 14:07 |
Reporter | martinwegele | Assigned To | |||
Priority | urgent | Severity | block | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.1 / 5.0.1 revision 52468 | ||||
Fixed in Version | 4.7.2 / 5.0.2 revision 53018 | ||||
Summary | 0004764: PHP Fatal error: Call to undefined function header_remove() in /core/oxconfig.php on line 903 | ||||
Description | I am really unsure what this is or why it occurs: After fresh installation of EE 5.0.1 on a server running PHP 5.2.17 I cannot access the shop because of HTTP error 500 and this error in php_error.log: PHP Fatal error: Call to undefined function header_remove() in /core/oxconfig.php on line 903 I am unsure if it only occurs if blDeprecatedSubshopsInSessions is set to false explicitly in the config.inc.php or also if this parameter is just missing. If I set blDeprecatedSubshopsInSessions to true in config.inc.php there is no problem. Also it seems that this happens only if you already have a session. | ||||
Steps To Reproduce | Install EE 5.0.1 from OXID_ESHOP_EE_5.0.1_52468.zip on a server running PHP5.2.x. Step through installation procedure. Go to shop's homepage and put something into the basket. | ||||
Additional Information | I could not find this function (header_remove) being defined anywhere. However the function was only introduced in PHP 5.3.0. So if you try to run this on PHP5.2.x you will get the Fatal error: http://php.net/header_remove See also 0003075 | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | 5.2.0 | ||||
Database Version | any | ||||
|
Maybe I was wrong setting the Priority to "urgent". It is very easy to fix: Just add this line to config.inc.php: $this->blDeprecatedSubshopsInSessions = true; But if you do this, be aware of 0003075! |
|
removed function call |