You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been tracking an issue, but I was wondering if anyone else has seen something like this.
My wordpress template has a DOCTYPE tag on the first line. When I have a $_SESSION variable declared, I automatically get 3 lines of white space before the DOCTYPE tag. If I wipe my session, the white space goes away.
I was able to track the problem down to this line:
\library\zend\session.php
approximately line 470
$startedCleanly = session_start();
Right before the session_start(), there is no white space. As soon as the function exits, I have 3 lines of white space.
I did a var_dump(debug_backtrace()), and it seems to arrive at this file/line through Vulnero. But I'm not sure how to track this any further.
This is the debug trace once i get into Bootstrap.
\library\Vulnero\Application\Bootstrap\Bootstrap.php (function=authenticate, approximate line number 386)
\library\Zend\Auth.php
\library\Zend\Auth\Storage\Session.php
\library\Zend\Session\Namespace.php
//white space line here (goes away if there are no $_SESSION variables)
//white space line here (goes away if there are no $_SESSION variables)
//white space line here (goes away if there are no $_SESSION variables)
The text was updated successfully, but these errors were encountered:
I've been tracking an issue, but I was wondering if anyone else has seen something like this.
My wordpress template has a DOCTYPE tag on the first line. When I have a $_SESSION variable declared, I automatically get 3 lines of white space before the DOCTYPE tag. If I wipe my session, the white space goes away.
I was able to track the problem down to this line:
\library\zend\session.php
approximately line 470
$startedCleanly = session_start();
Right before the session_start(), there is no white space. As soon as the function exits, I have 3 lines of white space.
I did a var_dump(debug_backtrace()), and it seems to arrive at this file/line through Vulnero. But I'm not sure how to track this any further.
This is the debug trace once i get into Bootstrap.
\library\Vulnero\Application\Bootstrap\Bootstrap.php (function=authenticate, approximate line number 386)
\library\Zend\Auth.php
\library\Zend\Auth\Storage\Session.php
\library\Zend\Session\Namespace.php
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
//white space line here (goes away if there are no $_SESSION variables)
//white space line here (goes away if there are no $_SESSION variables)
//white space line here (goes away if there are no $_SESSION variables)
The text was updated successfully, but these errors were encountered: