Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie BEGGING for HELP!!!!!!!!!!!!!!!


bobbisco

Recommended Posts

Posted

I would appreciate any help I can get. My welcome page to my osCommerce is messed up. I don't know Php at all and I might have deleted a code.... :cry:

 

Parse error: parse error, unexpected T_STRING

HEADING_TITLE

TEXT_MAIN

On line 13

 

 

<?php

/*

$Id: index.php,v 1.18 2002/01/14 10:34:17 jan0815 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome To Novelty, Gift & Service at Bobbi's Corner<br><br><br>Novelty, Gift & Service at Bobbi's Corner brings you Coca-cola radios, clocks, phones, gift coolers and Disney items. Novelty radios, clocks and M&M phones. Novelty signs, bath & beauty and electronics. Informative internet tools and ebooks.<br><br>We want you to have a FUN and INTERESTING experience while you are visiting.<br><br>If we do not have something of interest to you, just let us know.<br><br>Enjoy Bobbi's Corner.<br><br>www.bobbiscorner.com');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) {

define('HEADING_TITLE', 'Take A Look At This');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

define('TEXT_ALL', 'All');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Our Newest Products');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

I need to get rid of the errors on the page, insert my title and insert my text. WHAT DO I DO????????????

 

THANK YOU ALL SOOOO MUCH :huh:

 

www.bobbiscorner.com/shop/

Posted
define('TEXT_MAIN', 'Welcome To Novelty, Gift & Service at Bobbi's Corner<br><br><br>Novelty, Gift & Service at Bobbi's Corner brings you Coca-cola radios, clocks, phones, gift coolers and Disney items. Novelty radios, clocks and M&M phones. Novelty signs, bath & beauty and electronics. Informative internet tools and ebooks.<br><br>We want you to have a FUN and INTERESTING experience while you are visiting.<br><br>If we do not have something of interest to you, just let us know.<br><br>Enjoy Bobbi's Corner.<br><br>www.bobbiscorner.com');

 

I believe in from of Bobbi's you need Bobbi's

 

All occurances of that btw. and any other apostrophe :D

Posted

I tried to put / in with all ' in the names and nothing happened. I am so frustrated :x

 

www.bobbiscorner.com/shop/

 

My shop looks sooo "newbie"

Posted

define('TEXT_MAIN', 'Welcome To Novelty, Gift & Service at Bobbi's Corner<br><br><br>Novelty, Gift & Service at Bobbi's Corner brings you Coca-cola radios, clocks, phones, gift coolers and Disney items. Novelty radios, clocks and M&M phones. Novelty signs, bath & beauty and electronics. Informative internet tools and ebooks.<br><br>We want you to have a FUN and INTERESTING experience while you are visiting.<br><br>If we do not have something of interest to you, just let us know.<br><br>Enjoy Bobbi's Corner.<br><br>www.bobbiscorner.com');


 

Copy and Paste in the line above in place of what you have.

 

I pasted that into mine and it worked without error. Perhaps that will help :D

Posted

Linda:

 

Thank you sooooooooooooo much!!!!!!!!!!! I don't know what you did, I retyped it all with the and it still didn't work for me. I used yours and WHAM, there it is!

 

Thank you again for all of your help....You have a new FRIEND!!! :D

 

Sincerely,

 

Bobbi

Posted

Glad that helped you out.

 

10 to 1 there was just one more itty bitty ' that was forgotten from the looks of it. :shock:

 

Pesky little creatures those typos can be.

Posted

As a matter of simple safety when editing any OSC file I copy the file first and add OLD to the name. Then if it goes pear shaped I can relace the original file and better still compare my new file to the original to see where any error is.

Posted

Paul,

 

Thank you for your help also. I have copied my file so I will have a standby in the future.

 

Bobbi :wink:

Archived

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

×
×
  • Create New...