Mr.Kim Posted May 22, 2012 Share Posted May 22, 2012 Hi~ I am now creating and translating in korean version. My site is www.newzealand-healthproduct.com However, If you see at the following URL, There was occurred error. http://www.newzealand-healthproduct.com/contact_us.php Parse error: syntax error, unexpected ';' in /hermes/bosweb/web247/b2477/ipg.newzealandhealthprod/includes/languages/english/contact_us.php on line 16 I am now using oscommerce. How can I recover the above error? Please help me. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 22, 2012 Share Posted May 22, 2012 @@Mr.Kim This is the default contents of the /includes/languages/english/contact_us.php file: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Contact Us'); define('NAVBAR_TITLE', 'Contact Us'); define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.'); define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME); //this is line 16 define('ENTRY_NAME', 'Full Name:'); define('ENTRY_EMAIL', 'E-Mail Address:'); define('ENTRY_ENQUIRY', 'Enquiry:'); define('ERROR_ACTION_RECORDER', 'Error: An enquiry has already been sent. Please try again in %s minutes.'); ?> just replace the contents with the above or look for the missing ; on line 16 Chris Quote Link to comment Share on other sites More sharing options...
srdeveloper Posted September 18, 2012 Share Posted September 18, 2012 Hi, whenever I click on new language it shows tha error like:: Warning: require(includes/languages/german.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\rud\oscommerce-2.3.2\catalog\admin\includes\application_top.php on line 167 Fatal error: require() [function.require]: Failed opening required 'includes/languages/german.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\rud\oscommerce-2.3.2\catalog\admin\includes\application_top.php on line 167 What to do any suggestion???Please this is so important... Quote Link to comment Share on other sites More sharing options...
multimixer Posted September 18, 2012 Share Posted September 18, 2012 When does it show this error, in admin or the front side? If in admin, then check if the file catalog/admin/includes/languages/german.php is on the server Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.