View Issue Details

IDProjectCategoryView StatusLast Update
0004764OXID eShop (all versions)4.07. Source code, Testpublic2013-09-25 14:07
Reportermartinwegele Assigned To 
PriorityurgentSeverityblockReproducibilityrandom
Status resolvedResolutionfixed 
Product Version4.7.1 / 5.0.1 revision 52468 
Fixed in Version4.7.2 / 5.0.2 revision 53018 
Summary0004764: PHP Fatal error: Call to undefined function header_remove() in /core/oxconfig.php on line 903
DescriptionI 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 ReproduceInstall 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 InformationI 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
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Version5.2.0
Database Versionany

Activities

martinwegele

2012-12-06 13:50

reporter   ~0008065

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!

Linas Kukulskis

2012-12-10 09:09

reporter   ~0008079

removed function call