rommany Posted February 4, 2005 Posted February 4, 2005 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
niknakgroup Posted February 4, 2005 Posted February 4, 2005 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) }
rommany Posted February 5, 2005 Author Posted February 5, 2005 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
♥Vger Posted February 5, 2005 Posted February 5, 2005 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
rommany Posted February 5, 2005 Author Posted February 5, 2005 thank u, your know your stuff again many thxs
Recommended Posts
Archived
This topic is now archived and is closed to further replies.