Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error on store index page


luvnbubbles

Recommended Posts

Posted

taking it slow i finally figured out how to take the unwanted words(the ones that come with it when its installed) off my store and i was going in to delete the words that go with the images that were numbered 1-4 and this is the error i get now and the file

 

Parse error: parse error, unexpected '/' in /home/luvnbub/public_html/catalog/includes/languages/english/index.php on line 13

 

File

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<b>Welcome to Luv-N-Bubbles where you will enjoy yourself, Here you\'ll enjoy our adult themed soaps, oils and other FUN items! Great for Bachelor and Bachelorette Parties, Novelties, Gag Gifts or simply to ENJOY!</b><b></b><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)</td><td class="main" valign="top"><b></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)</td><td class="main" valign="top"><b></td></tr><tr><td class="main" valign="top">

' . tep_image(DIR_WS_IMAGES) </td><td class="main" valign="top"><b></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)</td><td class="main" valign="top"></b></font>');

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') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

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_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

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

define('HEADING_TITLE', 'What\'s New Here?');

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

define('HEADING_TITLE', 'Categories');

}

?>

 

 

maggie

Posted

Does anyone know this

 

maggie

 

taking it slow i finally figured out how to take the unwanted words(the ones that come with it when its installed) off my store and i was going in to delete the words that go with the images that were numbered 1-4 and this is the error i get now and the file

 

Parse error: parse error, unexpected '/' in /home/luvnbub/public_html/catalog/includes/languages/english/index.php on line 13

 

File

 

<?php

/*

  $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright ? 2003 osCommerce

 

  Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<b>Welcome to Luv-N-Bubbles where you will enjoy yourself, Here you\'ll enjoy our adult themed soaps, oils and other FUN items! Great for Bachelor and Bachelorette Parties, Novelties, Gag Gifts or simply to ENJOY!</b><b></b><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)</td><td class="main" valign="top"><b></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)</td><td class="main" valign="top"><b></td></tr><tr><td class="main" valign="top">

' . tep_image(DIR_WS_IMAGES) </td><td class="main" valign="top"><b></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)</td><td class="main" valign="top"></b></font>');

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') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

  define('HEADING_TITLE', 'Let\'s See What We Have Here');

  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_CATEGORIES', 'All Categories');

  define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

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

  define('HEADING_TITLE', 'What\'s New Here?');

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

  define('HEADING_TITLE', 'Categories');

}

?>

maggie

Posted

Here you go, replace line 13 with this..

 

define('TEXT_MAIN', '<b>Welcome to Luv-N-Bubbles where you will enjoy yourself, Here you\'ll enjoy our adult themed soaps, oils and other FUN items! Great for Bachelor and Bachelorette Parties, Novelties, Gag Gifts or simply to ENJOY!</b><b></b><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES) . '</td><td class="main" valign="top"><b></td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES)  . '</td><td class="main" valign="top"><b></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES) . ' </td><td class="main" valign="top"><b></td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES) . '</td><td class="main" valign="top"></b></font>');

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

BTW, that will fix your current error, but will likely not give you the desired results. If you have any further difficulty wiht this, or need help in getting this the way you want it, feel free to send me a pm.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

What you have below your own text, down as far as:

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

is just left over osCommerce code (at least it appears to be so).

 

Leave this in place:

 

define('TEXT_MAIN', '<b>Welcome to Luv-N-Bubbles where you will enjoy yourself, Here you\'ll enjoy our adult themed soaps, oils and other FUN items! Great for Bachelor and Bachelorette Parties, Novelties, Gag Gifts or simply to ENJOY!</b>');

 

Then leave in place this line and all that comes below it:

 

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

 

That will sort out your homepage.

 

Vger

Archived

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

×
×
  • Create New...