Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i know its easy can you help ? please


Dubai

Recommended Posts

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href="http://www.friendsforever.eu" target="_blank">frinedsforever.eu</a>' );

 

If this is the line at which the error is reported, keep in mind the actual error could be on the line previous.

 

this is the previous line

 

*/

 

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href=\"http://www.friendsforever.eu\" target=\"_blank\">frinedsforever.eu</a> )

Link to comment
Share on other sites

this is the previous line

 

*/

 

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href=\"http://www.friendsforever.eu\" target=\"_blank\">frinedsforever.eu</a> )

 

 

Hmm, perhaps a few more lines of code either side might be helpful.

 

That previous line that you say is /* means that everything after it will be treated as code comments and not processed - until the corresponding closing */ is found. So if this footer text is between these comment tags then it wont get processed (and any errors ignored).

 

Perhaps you dont having a matching closing comment tag, perhaps you don't want that comment line there at all.

 

Either way -- in this line :-

 

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href=\"http://www.friendsforever.eu\" target=\"_blank\">frinedsforever.eu</a> )

 

there is a single quote ' missing from just before the closing )

 

Confused though because an earlier post quoted it and it was there.

 

Let's see some more code, and whether you are trying to alter this line, or comment it out so it does not appear.

 

Gav...

Link to comment
Share on other sites

Hmm, perhaps a few more lines of code either side might be helpful.

 

That previous line that you say is /* means that everything after it will be treated as code comments and not processed - until the corresponding closing */ is found. So if this footer text is between these comment tags then it wont get processed (and any errors ignored).

 

Perhaps you dont having a matching closing comment tag, perhaps you don't want that comment line there at all.

 

Either way -- in this line :-

 

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href=\"http://www.friendsforever.eu\" target=\"_blank\">frinedsforever.eu</a> )

 

there is a single quote ' missing from just before the closing )

 

Confused though because an earlier post quoted it and it was there.

 

Let's see some more code, and whether you are trying to alter this line, or comment it out so it does not appear.

 

Gav...

 

 

... and there is no need to escape th double quotes " if the code is wrapped correctly in single quotes '

 

This line could like :-

 

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href="http://www.friendsforever.eu" target="_blank">frinedsforever.eu</a> ')

 

 

and work correctly - as long as code either side of it is correct also.

Link to comment
Share on other sites

... and there is no need to escape th double quotes " if the code is wrapped correctly in single quotes '

 

This line could like :-

 

define('FOOTER_TEXT_BODY', 'Copyright ? 2006 <a href="http://www.friendsforever.eu" target="_blank">frinedsforever.eu</a> ')

and work correctly - as long as code either side of it is correct also.

 

Which is exactly what I posted in my first response, and it looks correct to me. We haven't been given a different error, so if the OP made the change, there is another error elsewhere.

 

The line before is a closing comment block, not an opening block.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Which is exactly what I posted in my first response, and it looks correct to me. We haven't been given a different error, so if the OP made the change, there is another error elsewhere.

 

The line before is a closing comment block, not an opening block.

 

Tis true that you posted exactly the same thing, not sure if the OP spotted that it was a correction so just tried to make it clearer.

 

Tis true that was closing comment block tag, my mistake.

 

Gav...

Link to comment
Share on other sites

Tis true that you posted exactly the same thing, not sure if the OP spotted that it was a correction so just tried to make it clearer.

 

Tis true that was closing comment block tag, my mistake.

 

Gav...

 

THank you all it work :-) now im happy

i would like to thank everyone of you who try to help and give me his advice

 

i wish you all the best

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...