• Resolved tcsbradshaw

    (@tcsbradshaw)


    Not sure what is meant by these warnings.

    Warning: Cannot modify header information – headers already sent by (output started at /home/timb/public_html/wp-content/themes/busiprof/functions/Pagination/pagination.php:1) in /home/timb/public_html/wp-includes/pluggable.php on line 899

    Warning: Cannot modify header information – headers already sent by (output started at /home/timb/public_html/wp-content/themes/busiprof/functions/Pagination/pagination.php:1) in /home/timb/public_html/wp-admin/post.php on line 222

Viewing 10 replies - 1 through 10 (of 10 total)
  • I have the exact same problem since 3.17 update

    @rev & tcsbradshaw

    We will look into this issue.. It seems that update to 3.7.1 is causing some problems.

    -Ankit

    Hi,

    We’ll fix this issue in our next update.

    Mean While you can remove white space from the
    /functions/Pagination/pagination.php

    What exactly do I have to remove in pagination.php?

    @rev-angeldust

    just remove some extra white space in pagination.php at the stating of the code.

    so I deleted some empty lines in the pagination.php file. I guess white space are line breaks with empty lines and spaces?

    Nothing changed, while trying to log in come these warnings:

    Warning: Cannot modify header information - headers already sent by (output started at /kunden/319717_79106/frei-cycle/wp-content/themes/busiprof/functions/Pagination/pagination.php:1) in /kunden/319717_79106/frei-cycle/wp-login.php on line 409
    
    Warning: Cannot modify header information - headers already sent by (output started at /kunden/319717_79106/frei-cycle/wp-content/themes/busiprof/functions/Pagination/pagination.php:1) in /kunden/319717_79106/frei-cycle/wp-login.php on line 421

    Anything I can do?

    Hi rev-angeldust,

    Remove all white space, php tag space, empty lines and line break in pagination.php.
    It will solve your problem.

    thats my code now…

    <?php
    function busiprof_pagination($pages = '', $range = 2)
    {
    $showitems = ($range * 2)+1;
    global $paged;
    if(empty($paged)) $paged = 1;
    if($pages == '')
    {
    global $wp_query;
    $pages = $wp_query->max_num_pages;
    if(!$pages)
    {
    $pages = 1;
    }
    }
    if(1 != $pages)
    {
    echo "<div class='pagination_blog'><ul>";
    if($paged > 2 && $paged > $range+1 && $showitems < $pages)?>
    <li class='page_links'><a href=<?php get_pagenum_link(1);?>><?php _e('Previous','busi_prof'); ?></a></li>
    <?php
    if($paged > 1 && $showitems < $pages) echo "<li><a href='".paginate_links($paged - 1)."'>&lsaquo;</a></li>";
    for ($i=1; $i <= $pages; $i++)
    {
    if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems ))
    {
    echo ($paged == $i)? "<li class='active'><a  href=#>".$i."</a></li>":"<li><a href='".get_pagenum_link($i)."' class='inactive' >".$i."</a></li>";
    }
    }
    if ($paged < $pages && $showitems < $pages) echo "<li><a href='".paginate_links($paged + 1)."'>&rsaquo;</a></li>";
    if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) ?>
    <li class='page_links'><a href="<?php get_pagenum_link($pages);?>"><?php _e('Next','busi_prof'); ?></a></li>
    </ul></div>
    <?php
    }
    }
    ?>

    still wont work.
    what am I doing wrong?

    and now this wild message appears when trying to login:

    Warning: Cannot modify header information – headers already sent by (output started at /kunden/319717_79106/frei-cycle/wp-content/themes/busiprof/functions.php:204) in /kunden/319717_79106/frei-cycle/wp-includes/pluggable.php on line 899

    @rev-angeldust

    This is very strange. Pls contact us through the contact form on webriti.com

    I will take a look at your website.

    -Ankit

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cannot enable home page’ is closed to new replies.