The MU forums have moved to WordPress.org

The default Edublogging theme doesn't generate working thumbnails (6 posts)

  1. billdennis5
    Member
    Posted 15 years ago #

    when I or any user using the default theme (The default Edublogging theme) tries to insert a thumbnail image into a post, clicking the thumbnail generates an error message:

    Parse error: syntax error, unexpected T_STRING in /home/blogpeor/public_html/wp-content/themes/default/attachment.php on line 33

    lines 30-33 of this file say:

    `<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    <?php printf(__('You can leave a response, or <?php _e('trackback');?> <?php _e('from your own site');?>.'), '#respond', get_trackback_url()); ?>

    Look at this post:

    http://peoriastation.blogpeoria.com/2009/07/23/this-is-a-test/

    any assistance would be appreciated.

  2. andrea_r
    Moderator
    Posted 15 years ago #

    If you go to single.php, you should be able to find the same chunk of code and compare them.

    "unexpected T_STRING" means there text it doesn't recognize as code. Could be a stray character, misplaced quote, but I haven't had enough caffeine yet. :D

  3. billdennis5
    Member
    Posted 15 years ago #

    I'm going to upload the original version of this file and see what happens.

  4. billdennis5
    Member
    Posted 15 years ago #

    I uploaded the original version of the attachment.php file and the problem repeats.

  5. andrea_r
    Moderator
    Posted 15 years ago #

    clicking on thumbs worked for me?

  6. billdennis5
    Member
    Posted 15 years ago #

    Yeah. It started working. Not sure what changed from one attempt to the next.

    Thanks

About this Topic

  • Started 15 years ago by billdennis5
  • Latest reply from billdennis5