View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006990 | OXID eShop (all versions) | 4.02. Session handling | public | 2019-05-31 11:21 | 2022-03-23 09:40 |
Reporter | [email protected] | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Summary | 0006990: On ever page, I get an error "Warning: ini_set(): A session is active. You cannot change the session module's ini settings at.." | ||||
Description | ( ! ) Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in /var/www/oxideshop/source/bootstrap.php on line 204 Call Stack # Time Memory Function Location 1 0.0013 362328 {main}( ) .../index.php:0 2 0.0027 363096 require_once( '/var/www/oxideshop/source/bootstrap.php' ) .../index.php:7 3 0.2124 1404600 ini_set ( ) .../bootstrap.php:204 | ||||
Tags | No tags attached. | ||||
Theme | Flow | ||||
Browser | Firefox | ||||
PHP Version | 7.1 | ||||
Database Version | Not defined | ||||
|
Hi, I couldn't reproduce this case. But I guess, a modification of a file is the reason for this message. On a original bootstrap file of the latest version the line 204 is empty: https://github.com/OXID-eSales/oxideshop_ce/blob/master/source/bootstrap.php#L204 Furthermore, the shop will start the session by calling the Method OxidEsales\EshopCommunity\Core\Oxid::run(); which is called after including the bootstrap file. So something will start the session before executing the file bootstrap, which causes this error message. It is also possible, that the PHP ini file was adapted and the session is started on the very beginning of the request: https://github.com/php/php-src/blob/master/php.ini-production#L1345 This should also off. Else I need further information how to reproduce the case on a default system. -MK |
|
No feedback, not able to reproduce. - MK |