WordPress.org

Ready to get started?Download WordPress

Forums

T-STRING? (5 posts)

  1. nate1977
    Member
    Posted 8 years ago #

    What is a T-STRING?>

    I was working on my blog and when I save it, I got this message.

    Parse error: syntax error, unexpected T_STRING in /home/nathanev/public_html/wp-content/themes/black-letterhead/header.php on line 8

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); "/>

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />

  2. Medizinische Abkuerzungen
    Member
    Posted 8 years ago #

    <?php bloginfo('charset'); "/>

    Missing ?>

    <?php bloginfo('charset'); ?> "/>

  3. nate1977
    Member
    Posted 8 years ago #

    Thanks, still getting the same thing...

    Parse error: syntax error, unexpected T_STRING in /home/nathanev/public_html/wp-content/themes/black-letterhead/header.php on line 8

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset');?> "/>

  4. whooami
    Member
    Posted 8 years ago #

    upload another header.php that you have not edited and be done with it.

  5. You have a random <?php in there...

    And please use a site like http://pastecode.com next time -- it makes it a lot easier to troubleshoot. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.