Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
Mr.Kim

syntax error

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Guest

@@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

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×