Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-541 now.

session (fix completed in vcs)

phpBB Debug] PHP Notice: in file /includes/session.php on line 542: Undefined index: k
[phpBB Debug] PHP Notice: in file /includes/session.php on line 713: Cannot modify header information - headers already sent by (output started at /home/linkweb/public_html/forums/includes/functions.php:2232)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 713: Cannot modify header information - headers already sent by (output started at /home/linkweb/public_html/forums/includes/functions.php:2232)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 713: Cannot modify header information - headers already sent by (output started at /home/linkweb/public_html/forums/includes/functions.php:2232)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 297: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/session.php on line 713: Cannot modify header information - headers already sent by (output started at /home/linkweb/public_html/forums/includes/functions.php:2232)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 713: Cannot modify header information - headers already sent by (output started at /home/linkweb/public_html/forums/includes/functions.php:2232)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 713: Cannot modify header information - headers already sent by (output started at /home/linkweb/public_html/forums/includes/functions.php:2232)

My Quick Solutions:
includes/session.php
Code: Select all
[u]if (is_array($active_bots))[/u] foreach ($active_bots as $row)


Why i put as ACM ?
Based on phpBB3-CVS_2006-05-16
includes/acm/acm_main.php:258
Code: Select all
function obtain_bots(&$bots)
   {
      if (!([b]$bots = $this->get('bots')[/b]))
      ...
   }
and
includes/acm/acm_file.php:127
Code: Select all
function get($var_name)
   {
      if ($var_name{0} == '_')
      {
          ...
      }
      else
      {
         return ($this->_exists($var_name)) ? $this->vars[$var_name] : [b]false[/b];
      }
   }


Thanks

Comments / History

Linked ticket with changeset: r5920

Action performed by Anonymous (I am too lazy to register) on May 17th 2006, 16:26

Ticket details

Related SVN changesets