Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PLEASE HELP


Corwyn

Recommended Posts

I opened

column_left.php to see the mods in the file

 

closed it. I thought without any changes.

 

Now I get this error loading the main page

Parse error: parse error in /home/corwyn/public_html/phonestore/includes/column_left.php on line 9

 

 

here is the code in column_left.php. I can't figure out what's wrong with it.

 

<?php

/*

$Id: column_left.php,v 1.13 2002/06/16 22:08:05 harley_vb Exp $

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

Copyright © 2002 osCommerce

Released under the GNU General Public License

*/

if ( (USE_CACHE == 'true') !SID) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

if ( (USE_CACHE == 'true') !SID) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

require(DIR_WS_BOXES . 'cc.php');

}

?>

Link to comment
Share on other sites

Ok you can either upload from your oscommerce zip file the column_left.php file (BEST OPTION)

 

Otherwise heres an unaltered 2.2 MS2 column_left.php

 

<?php

/*

 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $



 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2003 osCommerce



 Released under the GNU General Public License

*/



 if ((USE_CACHE == 'true') && empty($SID)) {

   echo tep_cache_categories_box();

 } else {

   include(DIR_WS_BOXES . 'categories.php');

 }



 if ((USE_CACHE == 'true') && empty($SID)) {

   echo tep_cache_manufacturers_box();

 } else {

   include(DIR_WS_BOXES . 'manufacturers.php');

 }



 require(DIR_WS_BOXES . 'whats_new.php');

 require(DIR_WS_BOXES . 'search.php');

 require(DIR_WS_BOXES . 'information.php');

?>

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...