Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter Doodlebug

    (@doodlebug)

    PHP error log for MAMP when trying to login…

    [14-Sep-2008 16:42:40] PHP Notice:  Undefined index:  cat in /Applications/MAMP/htdocs/wordpress/wp-includes/query.php on line 525
    [14-Sep-2008 16:42:40] PHP Notice:  Undefined index:  query in /Applications/MAMP/htdocs/wordpress/wp-includes/canonical.php on line 187
    [14-Sep-2008 16:42:40] PHP Notice:  Undefined index:  query in /Applications/MAMP/htdocs/wordpress/wp-includes/canonical.php on line 187
    [14-Sep-2008 16:42:40] PHP Notice:  Use of undefined constant �name� - assumed '�name�' in /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/header.php on line 23
    [14-Sep-2008 16:42:40] PHP Notice:  get_links_list is <strong>deprecated</strong> since version 0.0! Use wp_list_bookmarks() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 2146
    [14-Sep-2008 16:42:40] PHP Notice:  get_links is <strong>deprecated</strong> since version 0.0! Use get_bookmarks() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 2146
    [14-Sep-2008 16:42:40] PHP Notice:  Use of undefined constant �name� - assumed '�name�' in /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/footer.php on line 9
    [14-Sep-2008 16:42:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 267
    [14-Sep-2008 16:42:43] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 279
    [14-Sep-2008 16:42:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 267
    [14-Sep-2008 16:42:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 279
    [14-Sep-2008 16:42:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 595
    [14-Sep-2008 16:42:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 596
    [14-Sep-2008 16:42:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 597
    [14-Sep-2008 16:42:47] PHP Warning:  Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/abletonartists/functions.php:11) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 770
    Thread Starter Doodlebug

    (@doodlebug)

    BTW i’ve seen similar topics about blank pages. However I can see the login page fine – I enter my admin and password but it goes to a blank page with no source code.

    Cleared cookies/cache – no luck.

    Thread Starter Doodlebug

    (@doodlebug)

    Does anyone have any ideas?

    Hi, I’m currently using poppacket’s code from this very thread above (http://wordpress.org/support/topic/153039?replies=11#post-686564).

    But it’s overkill, and also, when you have many posts spread over several pages, the second page is displayed exactly as the first (eg. latest posts). This is because there is no if (!(is_paged()) { in the code. I’m not sure how to implement this if/else in php though.

    Any ideas how I can simplify this code and have multiple pages work again?

    Here’s my site btw: http://doodlebug.josephlavington.com

    http://codex.wordpress.org/Creating_Horizontal_Menus

    display:inline; will be your friend here!

    Thread Starter Doodlebug

    (@doodlebug)

    No, I mean the black info box that appears over each thumbnail – the thing with Title, Ratings and Comments.

    Thread Starter Doodlebug

    (@doodlebug)

    OK, so I believe i’ve now fixed this.

    Line 51 had a similar problem to line 17, so change it (51) to:
    $oddcomment = ( empty( $oddcomment ) ) ? 'alt ' : '';

    I’m no PHP expert, so if you think this isn’t the right way to do it, please let me know!

    Thread Starter Doodlebug

    (@doodlebug)

    Weirdly I copied in your method for line 29 (from your first reply) and then used your fix for line 17. The problem still persisted, but this time some of the highlighted admin comments weren’t highlighted anymore.

    Because as well as
    <li class="class="alt" " id="comment-6">
    it would give
    `li class=”class=”alt” authcomment” id=”comment-8″>’
    when a post was both admin highlight and alternate.

    So I changed line 29 back to how I had it at the start and the original problem remains.

    This is really quite strange.

    I normally test changes on my localhost, but i’ve added a few comments to the actual blog here: http://doodlebug.josephlavington.com/?p=17

    Thread Starter Doodlebug

    (@doodlebug)

    Line 17 seems to have the format for the bad class being spat out, but this is in the bit that shouldn’t and wasn’t edited.

    Thread Starter Doodlebug

    (@doodlebug)

    I’ve uploaded what my comments.php code looks like here:
    http://wordpress.pastebin.ca/1173219

    Works fine for me.

    Firefox / Windows.

Viewing 11 replies - 16 through 26 (of 26 total)