• lala1

    (@lala1)


    getting this error once the page is configured…

    Parse error: parse error, unexpected $ in /home/blaq/public_html/b2/try.php on line 47

    ONLY problem is…. line 47 says
    </html>
    and before i was receiving this error, the stupid shit worked.
    Soooo what do I do to solve this retarded ass problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. You have removed part of the code that WP needs. What exactly did you do right before this error ?

    2. I understand your frustration (been there, done that, screamed at the monitor) but keep the language family friendly please ? Ta ??

    Thread Starter lala1

    (@lala1)

    Umm.. I erased some of the things that it said was wrong with it like a blank PHP code. trp.php is actually WP.php, and i’ve literally tried putting things back into it or going back to the original which works but as soon as I format it, it doesn’t work…

    Thread Starter lala1

    (@lala1)

    gonna post the code…..

    <?php /* Don’t remove this line, it calls the WP function files ! */
    $blog=1;
    require_once(“wp-blog-header.php”);
    ?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
    https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head>
    <title><?php bloginfo(‘name’) ?><?php single_post_title(‘ :: ‘) ?><?php single_cat_title(‘ :: ‘) ?><?php single_month_title(‘ :: ‘) ?></title>
    <!– Change charset if needed(?) But please do not remove this metatag –>
    <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
    <meta name=”generator” content=”WordPress <?php $wp_version ?>” /> <!– leave this for stats –>
    <meta http-equiv=”reply-to” content=”[email protected]” />
    <link rel=”alternate” type=”text/xml” title=”RDF” href=”<?php bloginfo(‘rdf_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <style type=”text/css”>
    <!–
    body,td,th {
    font-family: Arial Narrow;
    font-size: 10px;
    color: #0099FF;
    }
    –>
    </style></head>
    <body>

    <!– // loop start –>
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <?php the_date(“m.d.y”,”<h2>”,”</h2>”); ?>

    <?php the_content(); ?><?php link_pages(“
    Pages: “,”
    “,”number”) ?>
    <p align=”right”>posted by: <?php the_author() ?> @ “><?php the_time() ?>

    <p align=”right”><?php comments_popup_link(“inspired ?”, “1 inspired”, “% inspired”) ?>

    <?php include (“wp-comments.php”); ?>

    <!– // this is just the end of the motor – don’t touch that line either ?? –>

    <div align=”center”><cite>Powered by WordPress</cite>

    </div>

    </body>
    </html> <—— LINE 50

    Thread Starter lala1

    (@lala1)

    BLAH! fixed the problem. i just went back and copied the ORIGINAL code then altered whatever I needed to change and it worked.

    This program is so sensitive but it works

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse Error….’ is closed to new replies.