View Issue Details

IDProjectCategoryView StatusLast Update
0004764OXID eShop (all versions)4.07. Source code, Testpublic2013-09-25 14:07
Status resolvedResolutionfixed 
Product Version4.7.1 / 5.0.1 revision 52468 
Target VersionFixed 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 or also if this parameter is just missing.
If I set blDeprecatedSubshopsInSessions to true in 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 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:
See also 0003075
TagsNo tags attached.
PHP Version5.2.0
Database Versionany



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
$this->blDeprecatedSubshopsInSessions = true;
But if you do this, be aware of 0003075!

Linas Kukulskis

2012-12-10 09:09

reporter   ~0008079

removed function call