Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Rianton Simbolon

Pioneers
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Rianton Simbolon

  1. I've installed, and work fine. Thanks for the contrib. Any suggestion how to cut off the contrib size files? Especially prototype.js.
  2. I've installed all codes, but i found this when i tried on search: Fatal error: Call to a member function getFacets() on a non-object in /home/..../public_html/search_result.php on line 67 any help?
  3. I've just installed Header Tags SEO V 3.1.0, everything's working good, but I have 1 problem. I cannot edit a product from Admin page, coz everytime I try to edit a product, it will perform adding new product function. I have checked all codes and contribution, but it seems I've following Installation instruction correctly. Please any help would be appreciate...
  4. <?php //function to check that there is no HTML in the comment field. function screenForm($field_value){ $stripped = strip_tags($field_value); if($field_value!=$stripped) { // something in the field value was HTML return false; } else return true; } ?> ---->just remove this <?php ----> just remove this ----->>>>> I hope it will work. require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/pollbooth.php'); $location = ' : <a href="' . tep_href_link('pollbooth.php', 'op=results', 'NONSSL') . '" class="headerNavigation"> ' . NAVBAR_TITLE_1 . '</a>'; DEFINE('MAX_DISPLAY_NEW_COMMENTS', '5'); if (($HTTP_GET_VARS['action']=='do_comment')&& (screenForm($HTTP_POST_VARS['comment']))) { $comment_query_raw = "insert into phesis_comments (pollid, customer_id, name, date, host_name, comment,language_id) values ('" . $HTTP_GET_VARS['pollid'] . "', '" . $customer_id . "', '" . addslashes($HTTP_POST_VARS['comment_name']) . "', now(),'" . $REMOTE_ADDR . "','" . addslashes($HTTP_POST_VARS['comment']) . "','" . $languages_id . "')"; $comment_query = tep_db_query($comment_query_raw); $HTTP_GET_VARS['action'] = ''; $HTTP_GET_VARS['op'] = 'results'; } ?>
  5. I've installed Poll Booth v2.3, but when I tried to add a new poll, I got this messege in my browser: Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/belibuku/public_html/admin/includes/functions/database.php on line 107 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'apa?', 0, 0, '1')' at line 1 insert into phesis_poll_data (pollid,optiontext,optioncount,voteid, language_id) values (, 'apa?', 0, 0, '1') [TEP STOP] Anyone can help me please... :blink: :blink:
×
×
  • Create New...