Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unexpected $ end in application_top.php


vjgowns

Recommended Posts

Hi,

 

I just installed Ultimate SEO V 2.2d-9 by Jack_mcs, the admin side shows correctly but the customer only sees ..

 

 

Parse error: syntax error, unexpected $end in /home/vjgowns/public_html/includes/application_top.php on line 602

 

I double checked the installation and can't see any problems, I have a number of contributions installed but none of them appeared to conflict at the code level.

 

I have commented out the application_top.php code for the time being ( so my site stays visable to my customers ).

 

Any help would be much appreciated.

Edited by vjgowns
Link to comment
Share on other sites

You most likely have a 'typo' either on line 602 of /home/vjgowns/public_html/includes/application_top.php on or before line 602. Typically this happens because while installing the contributions you have pasted some html within <?php and ?> tags, or have mistakenly erased some little bit of punctuation within those tags while pasting.

 

Go back carefully over the contribution instructions you installed and redo or recheck everything you did in application_top.php. Php is very unforgiving, a single period or comma out of place or missing is enough to cause this error.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

You most likely have a 'typo' either on line 602 of /home/vjgowns/public_html/includes/application_top.php on or before line 602. Typically this happens because while installing the contributions you have pasted some html within <?php and ?> tags, or have mistakenly erased some little bit of punctuation within those tags while pasting.

 

Go back carefully over the contribution instructions you installed and redo or recheck everything you did in application_top.php. Php is very unforgiving, a single period or comma out of place or missing is enough to cause this error.

 

 

 

yep - that was the problem, I missed a '}' when I cut and pasted the code.

 

Many thanks, it looks like its working now. :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...