Can't tell what you changed???
Post file name & original tex then what you changed it to
Use the code tag <>
Can't tell what you changed???
Post file name & original tex then what you changed it to
Use the code tag <>
Apologies before i explain I'm not a coder, I have only altered this define text, I deleted the "congradualtions string of text and i believe i deleted something more just before it reads english when no template defined file exisits.
I have the classic template and I am just feeling my way around the zen cart
define('TEXT_MAIN',<'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
}
english when no template defined file exists.> It is located in: <strong>/includes/languages/english/index.php</strong>');
Hope you understand, I think there may have been some code before the english when no template. because the default classic file exist, it just looks odd that there is a character alone after ');
I don't have the original text, if i did, I could solve the problem, the cart is on my server, it came with my control panel, and i haven't yet downloaded it to my computer....my intention was just to add some text, where the text was, though i deleted too much i guess.
I guess this is how one learns the hard way!
Last edited by ksl1; 8 Feb 2010 at 08:40 AM.
Like most of us, you learn the rules the hard way...
Always have a BACKUP of a file, before you edit it.
Most important thing for you to do now, is download a full fileset of the software. go to zencart home page and click download link. You will want version 1.3.8a.
Then... REPLACE the includes/languages/english/index.php file on your server with an original copy from the software you just downloaded.
Then..., try your edit again.
DEFINE STATEMENTS must be edited very carefully. You remove only the variable. Leave the single quotes intact.
PHP Code:define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
PHP Code:define('HEADING_TITLE', '');
20 years a Zencart User
Thank you very much! I managed to correct it, by checking the code on my other website, it was the text error, i guessed i had deleted to much text, which i had, because i just cut and pasted the part below, which i suspected was to blame. The words missing was "This is the main define statement for the page for" english
define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');
Up and running again, thanks!