• PHP Help PHP Coding
  • Good ol' Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING... issue.

I'm hoping that I will finally get this add on working and get some assistance. Total newb to coding/php, etc and have looked through many sites to find my answer but am worried to horribly mess something up. So here is the error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/42/10109242/html/shop/controlpanel/admin/easypopulate.php on line 1082
The following code is lines 1079 - 1084

//*******************************

require(DIR_WS_INCLUDES . 'template_top.php');

?>

<td class="pageHeading" valign="top"><?phpecho "Easy Populate ".EP_CURRENT_VERSION." - Default Language : " . EP_DEFAULT_LANGUAGE_NAME . '(' . EP_DEFAULT_LANGUAGE_ID .')' ;?>



<script type="text/javascript"><!--

Thank you kindly =)

    Try sticking a space between the [FONT=Courier New]<?PHP[/FONT] and the [FONT=Courier New]echo[/FONT].

      I tried it and now it says this

      Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/content/42/10109242/html/shop/controlpanel/admin/easypopulate.php on line 16

      Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/42/10109242/html/shop/controlpanel/admin/easypopulate.php on line 16

        Nevermind!! I got it now!!! Thank you sooo much NogDog! I just had to add that space and move it to my control panel folder and it works! Wow this is the first site that offered ANY help and i've been posting other places since December!! Much appreciated!

          No problem. Browse around, read some of the FAQ's, and return the favor when you see someone with a question you can answer.

          There are a pretty good group of core users here who can help a lot -- just don't expect them to do all the work for you: sometimes we will just point you in the right direction so that you can find the answer yourself. 🙂

            Write a Reply...