zoombie Posted July 1, 2004 Posted July 1, 2004 I was tryign to install this module with no knowledge of wat I was doing...I got to the part where I have to change the code in the admin\includes\functions\general.php I did wat the instructions said i.e. add the following code into my general.php file // Sets the status of a testimonial function tep_set_testimonials_status($testimonials_id, $status) { if ($status == '1') { return tep_db_query("update " . TABLE_TESTIMONIALS . " set status = '1' where testimonials_id = '" . $testimonials_id . "'"); } elseif ($status == '0') { return tep_db_query("update " . TABLE_TESTIMONIALS . " set status = '0' where testimonials_id = '" . $testimonials_id . "'"); } else { return -1; } } I did that and now the result is this Parse error: parse error, unexpected T_VARIABLE in /home/httpd/html/zoombiefone/cgi-bin/oscommerce/admin/includes/functions/general.php on line 403 I cant access my admin area :( Quote
zoombie Posted July 1, 2004 Author Posted July 1, 2004 ohh great now my whole site is down :angry: Quote
zoombie Posted July 1, 2004 Author Posted July 1, 2004 Thats not wat i'm interested in...i'm interested in wat went wrong ??? Sure i can start again but until I know wat went wrong there is no pt. Wat is a T_string ?? I got this error when I try to access my homepage Parse error: parse error, unexpected T_STRING in /home/httpd/html/zoombiefone/cgi-bin/oscommerce/includes/languages/english.php on line 80 Similar error...so wat is a t_string ??? Quote
zoombie Posted July 2, 2004 Author Posted July 2, 2004 I just read the instructions...correct me if i'm wrong but the only way to add a testimonial is to do it through the Admin area ??? If thats the case then its not a very good module, wouldnt it be better to allow the customer add their testiminoal themselves ??? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.