Results 1 to 9 of 9

New bug?

This is a discussion on New bug? within the Bug Reporting forums, part of the vBSEO SEO Plugin category; Code: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/msxorg/public_html/forum/includes/functions_vbseo.php:1062) in /home/msxorg/public_html/forum/includes/functions_vbseo_url.php on line ...

  1. #1
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    311
    Liked
    1 times

    Question New bug?

    Code:
    PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/msxorg/public_html/forum/includes/functions_vbseo.php:1062) in /home/msxorg/public_html/forum/includes/functions_vbseo_url.php on line 248
    PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/msxorg/public_html/forum/includes/functions_vbseo.php:1062) in /home/msxorg/public_html/forum/includes/functions_vbseo_url.php on line 244
    ?

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    when does this happen?

  3. #3
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    311
    Liked
    1 times
    Quote Originally Posted by briansol View Post
    when does this happen?
    I see them in the 404 error logs.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Can you compare it to access log to find out which URL causes that?

  5. #5
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    311
    Liked
    1 times
    I really can't find which URL causes to these errors:

    Code:
    [Wed Dec 26 14:01:29 2007] [error] [client 66.249.73.183] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/msxorg/public_html/forum/includes/functions_vbseo.php:1062) in /home/msxorg/public_html/forum/includes/functions_vbseo_url.php on line 248
    [Wed Dec 26 14:01:29 2007] [error] [client 66.249.73.183] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/msxorg/public_html/forum/includes/functions_vbseo.php:1062) in /home/msxorg/public_html/forum/includes/functions_vbseo_url.php on line 244
    [Wed Dec 26 14:01:29 2007] [error] [client 66.249.73.183] PHP Warning:  Invalid argument supplied for foreach() in /home/msxorg/public_html/forum/includes/functions_vbseo.php on line 1062
    But it's Google spider.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Please try to modify functions_vbseo.php file.
    FIND:
    PHP Code:
    foreach($catarr as $cid=>$carr
    ADD ABOVE
    PHP Code:
                if(is_array($catarr)) 

  7. #7
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    311
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Please try to modify functions_vbseo.php file.
    FIND:
    PHP Code:
    foreach($catarr as $cid=>$carr
    ADD ABOVE
    PHP Code:
                if(is_array($catarr)) 
    It's already there.

    Code:
    if(VBSEO_REWRITE_BLOGS)
    {
    global $categories, $postattach;
    if($find_blog_ids)
    vbseo_get_blog_info($find_blog_ids);
    if(isset($vbulletin->vbblog['categorycache']))
    foreach($vbulletin->vbblog['categorycache'] as $uid=>$catarr)
    if(is_array($catarr))
    foreach($catarr as $cid=>$carr)
    {
    $g_cache['blogcat'][$cid] = $carr;
    }

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    There should be another instance of the mentioned code.

  9. #9
    Senior Member NeutralizeR's Avatar
    Real Name
    Mavi KARANLIK
    Join Date
    Feb 2006
    Location
    Ankara/TÜRKİYE
    Posts
    311
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    There should be another instance of the mentioned code.
    Ok, added and checking the logs...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •