Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jsmith2

Archived
  • Posts

    44
  • Joined

  • Last visited

Profile Information

  • Real Name
    john

jsmith2's Achievements

  1. I'm not sure if QT pro is the issue here, basically its a mod that checks the stock of each product attribute. Because OSC did not come with this ugh. The line I'm supposed to replace in products_info.php is $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'"); BUT, its this line instead: $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); $products_attributes = tep_db_fetch_array($products_attributes_query); if ($products_attributes['total'] > 0) { @ line 134 This is the error message I'm getting~ Parse error: parse error, unexpected '}' in /home/content/j/s/m/jsmith1/html/bac/product_info.php on line 253
  2. Have you found an issue to this? Here is a few lines in my authorizenet_cc_aim.php if (function_exists('curl_init')) { $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['curl'] . (isset($server['query']) ? '?' . $server['query'] : '')); curl_setopt($curl, CURLOPT_PORT, $server['port']); curl_setopt($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_FORBID_REUSE, 1); curl_setopt($curl, CURLOPT_FRESH_CONNECT, 1); Where do I Put curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, TRUE); curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); curl_setopt($curl, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128");
  3. I've been looking for two weeks but no1 has a straight forward answer about where to put the curl inside the .php file.
  4. Yes, I need this too! I need to figure out where to place this, who said they're going to make a guide? Please!
  5. Can anybody send me the latest file thats missing in this package please? This is ridiculous
  6. I'm using the default authorize aim module, and my host is GoDaddy. https://mysite.com/checkout_payment.php?pay...p;error=general There has been an error processing your credit card Please try again and if problems persist, please try another payment method. I've even tried different a.net mods still doesn't work. Anybody know what the issue could be?
  7. Ken, I installed the tag mod, it works... however when I edit the tags in admin, it doesn't update on the page that I edited. Would you like me to paste any PHP pages?
  8. Chemo, msg me your url for your OSC techhelp site
×
×
  • Create New...