Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Condition install error


ecgbyme

Recommended Posts

Posted

I install a condition called 'customer_testimonials"

I'm a Newbie and it's my first install, It looks like everything went well in the SQL database as the file appeared and it stated the istall was succesful.

I'm sure I install every .php file and and install every addition code into perspective .php files

However there is one that keeps giving me an error.

 

It goes as an addition into 'column_right.php' and this is the file:

 

/*

Add the following line to either column_left.php or column_right.php

*/

 

include(DIR_WS_BOXES . 'customer_testimonials.php');

 

 

Now I assumed the first part between the /* is instructions only, so I installed the next line of code.

In the file I noticed that other files that are similar have } else { before the file and } after the file. I thought perhaps the designer failed to include these code htmls.

If I install as that I get an error:

 

Parse error: parse error, unexpected ')' in /home/ecgnatur/public_html/store/includes/column_right.php on line 36

 

 

If I install the line of cide just as provided without the } else { the error I get is error:

 

1146 - Table 'ecgnatur_osc1.TABLE_CUSTOMER_TESTIMONIALS' doesn't exist

 

select * FROM TABLE_CUSTOMER_TESTIMONIALS WHERE status = 1 ORDER BY rand() LIMIT 1

 

[TEP STOP]

 

 

I will appreciate very much any help with this problem!! :(

Archived

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

×
×
  • Create New...