Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error


clvahlberg

Recommended Posts

I am editing my copyright in the english.php file. I get the following error:

 

Parse error: syntax error, unexpected T_STRING in /home/zmgqknid/public_html/chrystals_creations/includes/languages/english.php on line 326

 

Here is the line.

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . STORE_NAME . ''<a href="http://www.thoughtfulthingsfrommomandme.com/hollys_happenings" target="_blank">Holly\'s Happenings'</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');

 

Here is what I want it to say:

 

Copyright @ 2008 my store name & Holly's Happenings

 

Holly's Happenings needs to link to http://www.thoughtfulthingsfrommomandme.co...llys_happenings

 

Any help would be greatly appreciated!

 

Chrystal

Link to comment
Share on other sites

 STORE_NAME . ''<a

Should be:

 

 STORE_NAME . '"<a

That's a single tick mark (') followed by quote mark (")

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Missed one:

 

Holly\'s Happenings'</a><br>

Should be:

 

Holly\'s Happenings</a><br>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Missed one:

 

Holly\'s Happenings'</a><br>

Should be:

 

Holly\'s Happenings</a><br>

 

Awesome! Thx!! Found the 2nd one after I fixed the 1st.

 

Chrystal

 

P.S. Thanks for the fast response!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...