Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I have a question about osCommerce Shopping cart


Guest

Recommended Posts

Hi

I have my website redirected so its going to oscommerce shopping cart.

I know how to get to the configurations by going into admin.

I know how to add a new category and new product

but for the life of me I cant figure out how to JUST add text to a page...

For example on the bottom of my site I have the conditions and use page and thats where I want to add my security and privacy schpiel LOL but everytime I add a text and save it and click on the conditions page its giving me a parse message and a line number where the problem is BUT I am NOT finding a problem.

 

Can anyone help me here please?

 

 

Also I am having a problem with the shipping methods on the site...I have an acct with USPS, UPS, and Fedex and am stuck on this flat rate, per item, and best way crap and when I add the USPS, UPS, or Fedex account and save and then go to the site, its NOT showing up and the only thing showing up is the best way but the round circle where you can click on it to proceed isnt there either?

 

thanking you in advance.

If possible, can you please PM me with the info? Thanks

Link to comment
Share on other sites

Your parse error could be just a missing apostrophe like the difference between these two examples:

right:

define('TEXT_INFORMATION', 'your text here');

 

wrong:

define('TEXT_INFORMATION', 'your text here);'

The second example here will give an error.

 

Extra apostrophies in the text can give errors as well.

If you use apostrophies you need to preceed them with a \

For exmple

right:

let\'s

wrong:

let's

 

I assume you are editing the files in the includes/languages/english/ folder. Right?

 

If you can post one of the pages you are getting the error on I would be happy to take a look at it.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Your parse error could be just a missing apostrophe like the difference between these two examples:

right:

define('TEXT_INFORMATION', 'your text here');

 

wrong:

define('TEXT_INFORMATION', 'your text here);'

The second example here will give an error.

 

Extra apostrophies in the text can give errors as well.

If you use apostrophies you need to preceed them with a \

For exmple

right:

let\'s

wrong:

let's

 

I assume you are editing the files in the includes/languages/english/ folder. Right?

 

If you can post one of the pages you are getting the error on I would be happy to take a look at it.

 

Can I PM you?

Link to comment
Share on other sites

Yes I am going into define Languages

 

I typed the following:

 

define('TEXT_INFORMATION', 'Test ')

 

saved it and checked on the site and the following is the message I am getting:

 

Parse error: parse error, unexpected $ in /home/shorelig/public_html/oscommerce/includes/languages/english/conditions.php on line 16

Link to comment
Share on other sites

Yes I am going into define Languages

 

I typed the following:

 

define('TEXT_INFORMATION', 'Test ')

 

saved it and checked on the site and the following is the message I am getting:

 

Parse error: parse error, unexpected $ in /home/shorelig/public_html/oscommerce/includes/languages/english/conditions.php on line 16

Link to comment
Share on other sites

Yes I am going into define Languages

 

I typed the following:

 

define('TEXT_INFORMATION', 'Test ')

 

saved it and checked on the site and the following is the message I am getting:

 

Parse error: parse error, unexpected $ in /home/shorelig/public_html/oscommerce/includes/languages/english/conditions.php on line 16

 

 

Do not do it in your shops admin.

 

1. downlaod the text files to your local computer by using a ftp program .. like for instance smartftp

 

2. then edit them in a text editor, like for instance notepad or phpdesigner

 

3. then upload the edited files overwriting the old ones on your hosting/server...

 

att..always rember to make a backup first...

Link to comment
Share on other sites

Can I PM you?

 

Can you please post the whole includes/languages/english/conditions.php file here so we can all have a look at it?

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Can you please post the whole includes/languages/english/conditions.php file here so we can all have a look at it?

 

I did, please look in the previous post.

Thanks

Link to comment
Share on other sites

I did, please look in the previous post.

Thanks

 

Ok if this line

define('TEXT_INFORMATION', 'Test ')

 

was your whole file that's not right. No php tags and a missing semi-colon.

 

 

Try this in your file instead:

<?php
/*
 $Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Conditions of Use');
define('HEADING_TITLE', 'Conditions of Use');

define('TEXT_INFORMATION', 'your text here');
?>

 

Remember not to use that nasty file manager in the osc admin use an ftp program or connect to your server using SCP. Also make sure there are no empty lines at the end of the file.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...