Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

syntax error


Mr.Kim

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 months later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...