Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter owzzz

    (@owzzz)

    Hi, I figured out what was wrong.. the perma link structure was wrong.. I set up a custom structure but only put in /%category%/ and not the full structure /%postname%/%post_id%/

    Ooops..

    Thread Starter owzzz

    (@owzzz)

    I have noticed the same problem on another blog I set up, Has anyone experienced this problem?

    the other blog is Joe-blogggs

    Any ideas why it’s not referencing the correct posts?

    Any help would be great.. I’m pulling my hair out with this…

    Thread Starter owzzz

    (@owzzz)

    I already have something similar:

    <h2 class="postHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    ?

    owzzz

    (@owzzz)

    I’ve worked out that it has something to do with the theme I’ve created.. when I take the theme out of the theme folder using ftp, the problem goes away…

    the pluggable.php seems to be affected.. has anyone found a solution to this? I’m at a dead at with it at the minute..

    owzzz

    (@owzzz)

    i get the same as Babysenkids.nl

    Any idea why this might be happening? it locks me out of the admin panel, There are no spaces on the code… the lines of code it refers to is:

    setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, $cookie_domain, $secure);
    setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, $cookie_domain, $secure);
    setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, $cookie_domain);
    if ( COOKIEPATH != SITECOOKIEPATH )
    setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, SITECOOKIEPATH, $cookie_domain);
    }
    }
    endif;

    This is the second time it has happened now.. I wondering If its to do with plugins? I’ve tried taking the plugins out of the plugins folder but it seems to have little effect..

    any ideas on this?

    Thread Starter owzzz

    (@owzzz)

    any ideas on this?

    I have deactivated the theme and I can now access the backend, so it’s something to do with the theme I’m working on..

    Thread Starter owzzz

    (@owzzz)

    I’ve deleted the css styling that effected the header and now I get a similar error but it’s pointing to a pluggable.php file in the w-includes, here is the error:

    PHP Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/icomprint/wp-content/themes/icomprint/functions.php:417) in /Applications/MAMP/htdocs/icomprint/wp-includes/pluggable.php on line 868

    line 868 is the following:

    header(“Location: $location”, true, $status);

    Thread Starter owzzz

    (@owzzz)

    checking the logs I’ve found this error:

    Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/icomprint/wp-content/themes/icomprint/functions.php:446) in /Applications/MAMP/htdocs/icomprint/wp-login.php on line 314

    the functions.php is the one used in the kubrik theme.. and line 314 is a css style for the header…

    any ideas why im getting these errors?

    Thread Starter owzzz

    (@owzzz)

    I’m using Mamp to run the wordpress install by the way..

    Thread Starter owzzz

    (@owzzz)

    Thanks both, will look into these.. Will get back to you with my findings..

    thanks again

    Ow

    Will the above solution work if I want to pull the latest posts to a static home page I have set up?

    I want to display 3 posts from my index.php to my new static home page
    front_page.php.. how would I do this?

    Any help would be great.

Viewing 11 replies - 1 through 11 (of 11 total)