Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing breadcrumbs words and fault in check out


rommany

Recommended Posts

Posted

Hi can someone pls help i need to change the word catalog in the breadcrumbs to home, but couldnt find that part, also so i have an error when i purchase something at the very end and a sheet comes up say as below, any ideas what i have done wrong.

 

many thxs

 

 

 

Parse error: parse error, unexpected T_STRING in /data/members/paid/j/e/jellybabys.co.uk/htdocs/www/includes/languages/english/checkout_success.php on line 20

Posted

In includes/languages/english.php find:

 

define('HEADER_TITLE_CATALOG', 'Catalog');

 

change to:

 

 

define('HEADER_TITLE_CATALOG', 'Home');

 

Dont know about the error though! Sorry!

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted

just done that now site has crashed saying

 

Parse error: parse error, unexpected T_STRING in /data/members/paid/j/e/jellybabys.co.uk/htdocs/www/includes/languages/english.php on line 79

 

tried put back catalog to fix but it still says the same any clues anyone pls thxs

Posted

Restore any files you have edited using the osCommerce File Manager from original copies - then stop using the File Manager to edit files, as it causes parse errors.

 

Use a plain text editor such as Notepad, Text Pad, or Crimson Editor, download the file to be edited, take a backup just in case. Then edit the file, upload, and if anything has gone wrong restore from the backup you took.

 

Parse errors are caused when apostrophies are used in text in pages and they are not escaped by a preceeding backslash e.g.

 

Let's = wrong

Let\'s = right

 

The osCommerce File Manager strips these slashes out of the page when you hit the save button, and that's what is causing your error.

 

Vger

Archived

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

×
×
  • Create New...