Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

kunal247

Members
  • Content count

    373
  • Joined

  • Last visited

Everything posted by kunal247

  1. kunal247

    Sage Line 50

    Contribution - http://www.oscommerce.com/community/contributions,4240 any idea how to make it compatible with other versions as this seems to be for V2.2
  2. Hi Steve, Changed it to false now but still no luck. Any other ideas why this is happening? Regards, Kunal
  3. Hi this is my mobile/includes/configure.php My define previous ('SEO_ENABLED', 'false'); but i have changed this to true now. now getting a different error and no page is opening up. My Mobile Site <?php define('DIR_MOBILE_IMAGES', 'mobile/images/'); define('DIR_MOBILE_INCLUDES', 'mobile/includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', DIR_MOBILE_INCLUDES . 'languages/'); define ('MOBILE_IMAGE_WIDTH', '70px'); define ('MOBILE_IMAGE_HEIGHT', '70px'); //define ('FILENAME_DEFAULT', 'mobile_index.php'); define ('FILENAME_ADVANCED_SEARCH_RESULT', 'mobile_advanced_search_result.php'); define ('FILENAME_PRODUCTS', 'mobile_products.php'); define ('FILENAME_ABOUT', 'mobile_about.php'); define ('FILENAME_SEARCH', 'mobile_search.php'); define ('FILENAME_LANGUAGES', 'mobile_languages.php'); define ('FILENAME_LOGIN', 'mobile_login.php'); define ('FILENAME_MOBILE_LOGOFF', 'mobile_logoff.php'); define ('FILENAME_MOBILE_ACCOUNT', 'mobile_account.php'); define ('FILENAME_MOBILE_CONDITIONS', 'mobile_conditions.php'); define ('FILENAME_MOBILE_SHIPPING', 'mobile_shipping.php'); define ('FILENAME_MOBILE_PRIVACY', 'mobile_privacy.php'); define ('FILENAME_MOBILE_CONTACT_US', 'mobile_contact_us.php'); define('FILENAME_MOBILE_ACCOUNT_EDIT', 'mobile_account_edit.php'); define('FILENAME_MOBILE_ACCOUNT_HISTORY', 'mobile_account_history.php'); define('FILENAME_MOBILE_ACCOUNT_HISTORY_INFO', 'mobile_account_history_info.php'); define('FILENAME_MOBILE_ACCOUNT_NEWSLETTERS', 'mobile_account_newsletters.php'); define('FILENAME_MOBILE_ACCOUNT_NOTIFICATIONS', 'mobile_account_notifications.php'); define('FILENAME_MOBILE_ACCOUNT_PASSWORD', 'mobile_account_password.php'); define('FILENAME_MOBILE_ADDRESS_BOOK', 'mobile_address_book.php'); define('FILENAME_MOBILE_CHECKOUT_CONFIRMATION', 'mobile_checkout_confirmation.php'); define('FILENAME_MOBILE_CHECKOUT_PAYMENT', 'mobile_checkout_payment.php'); define('FILENAME_MOBILE_CHECKOUT_PAYMENT_ADDRESS', 'mobile_checkout_payment_address.php'); define('FILENAME_MOBILE_CHECKOUT_SHIPPING', 'mobile_checkout_shipping.php'); define('FILENAME_MOBILE_CHECKOUT_SHIPPING_ADDRESS', 'mobile_checkout_shipping_address.php'); define('FILENAME_MOBILE_CHECKOUT_SUCCESS', 'mobile_checkout_success.php'); define ('SEO_ENABLED', 'true'); define ('MOBILE_DEBUG', false); define ('AJAX_ENABLED', false); ?> Appreciate your support and the responses. dont know what else to do to get this fixed. Regards, Kunal
  4. hi, found the line exactly where you said and I have made the change but still has not solved the issue. Please visit my site and have a look -My Mobile Site Thanks. Appreciate your help in this matter.
  5. Can some one please help with this?
  6. kunal247

    Protx Direct v2.22

    Hi, Need some help please. I have Protx Direct working fine all transactions going thru but when I log into Protx/Sagepay the 3DSecureStatus shows disabled. How can I get this activated? - I now the 3D seucre is working on our account as our other websites are pushing the transactions and getting the 3D seure check carried out on the same account. Urgent help needed. Kunal
  7. Hi, Forgot to mention my configure file is: <?php define('DIR_MOBILE_IMAGES', 'mobile/images/'); define('DIR_MOBILE_INCLUDES', 'mobile/includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', DIR_MOBILE_INCLUDES . 'languages/'); define ('MOBILE_IMAGE_WIDTH', '80px'); define ('MOBILE_IMAGE_HEIGHT', '80px'); define ('FILENAME_DEFAULT', 'mobile_index.php'); define ('FILENAME_ADVANCED_SEARCH_RESULT', 'mobile_advanced_search_result.php'); define ('FILENAME_PRODUCTS', 'mobile_products.php'); define ('FILENAME_ABOUT', 'mobile_about.php'); define ('FILENAME_SEARCH', 'mobile_search.php'); define ('FILENAME_LANGUAGES', 'mobile_languages.php'); define ('FILENAME_LOGIN', 'mobile_login.php'); define ('FILENAME_MOBILE_LOGOFF', 'mobile_logoff.php'); define ('FILENAME_MOBILE_ACCOUNT', 'mobile_account.php'); define ('FILENAME_MOBILE_CONDITIONS', 'mobile_conditions.php'); define ('FILENAME_MOBILE_SHIPPING', 'mobile_shipping.php'); define ('FILENAME_MOBILE_PRIVACY', 'mobile_privacy.php'); define ('FILENAME_MOBILE_CONTACT_US', 'mobile_contact_us.php'); define('FILENAME_MOBILE_ACCOUNT_EDIT', 'mobile_account_edit.php'); define('FILENAME_MOBILE_ACCOUNT_HISTORY', 'mobile_account_history.php'); define('FILENAME_MOBILE_ACCOUNT_HISTORY_INFO', 'mobile_account_history_info.php'); define('FILENAME_MOBILE_ACCOUNT_NEWSLETTERS', 'mobile_account_newsletters.php'); define('FILENAME_MOBILE_ACCOUNT_NOTIFICATIONS', 'mobile_account_notifications.php'); define('FILENAME_MOBILE_ACCOUNT_PASSWORD', 'mobile_account_password.php'); define('FILENAME_MOBILE_ADDRESS_BOOK', 'mobile_address_book.php'); define('FILENAME_MOBILE_CHECKOUT_CONFIRMATION', 'mobile_checkout_confirmation.php'); define('FILENAME_MOBILE_CHECKOUT_PAYMENT', 'mobile_checkout_payment.php'); define('FILENAME_MOBILE_CHECKOUT_PAYMENT_ADDRESS', 'mobile_checkout_payment_address.php'); define('FILENAME_MOBILE_CHECKOUT_SHIPPING', 'mobile_checkout_shipping.php'); define('FILENAME_MOBILE_CHECKOUT_SHIPPING_ADDRESS', 'mobile_checkout_shipping_address.php'); define('FILENAME_MOBILE_CHECKOUT_SUCCESS', 'mobile_checkout_success.php'); define ('SEO_ENABLED', 'false'); define ('MOBILE_DEBUG', false); define ('AJAX_ENABLED', false); ?>
  8. Hi, I have installed this Add-On but seem to be having an issue with links on the site. I have added the changes that Steve has suggested Here. Here is a link to the Mobile_index.php - My link Once you reach the index page and you click on any category then it switches to the PC Site rather than the mobile site. Pls Help!!! How can I get this issue resolved. Thanks!
  9. Hi, Adding those files as per your suggestion in the Mobile folders worked!!!! But I have a new error coming up: Warning: include(includes/seo_cache.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/includes/application_top.php on line 322 Warning: include(includes/seo_cache.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/includes/application_top.php on line 322 Warning: include() [function.include]: Failed opening 'includes/seo_cache.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/includes/application_top.php on line 322
  10. Hi, My includes/functions/security.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License ###### includes/functions/security.php #### ###### Security Pro #### ###### FWR Media #### ###### www.fwrmedia.co.uk #### ###### 3rd March 2008 #### ###### Version 1.0.2 #### ##########################################*/ // Changelog - removed %(percent) added urldecode function tep_clean_get__recursive($get_var) { if (!is_array($get_var)) return preg_replace("/[^ {}a-zA-Z0-9_.-]/i", "", urldecode($get_var)); // Add the preg_replace to every element. return array_map('tep_clean_get__recursive', $get_var); } function fwr_clean_global($get_var) { foreach ($get_var as $key => $value) ( isset($GLOBALS[$key]) ? $GLOBALS[$key] = $get_var[$key] : NULL ); } ?> and my includes/classes/cache.class.php <?php /*=======================================================================*\ || #################### //-- SCRIPT INFO --// ########################## || || # Script name: cache.class.php || # Contribution: osC-Advanced Cache Class || # Version: 1.2 || # Date: 31 January 2005 || # ------------------------------------------------------------------ # || || #################### //-- COPYRIGHT INFO --// ######################## || || # Copyright (C) 2005 Bobby Easland # || || # Internet moniker: Chemo # || || # Contact: chemo@mesoimpact.com # || || # Commercial Site: http://gigabyte-hosting.com/ # || || # GPL Dev Server: http://mesoimpact.com/ # || || # # || || # This script is free software; you can redistribute it and/or # || || # modify it under the terms of the GNU General Public License # || || # as published by the Free Software Foundation; either version 2 # || || # of the License, or (at your option) any later version. # || || # # || || # This script is distributed in the hope that it will be useful, # || || # but WITHOUT ANY WARRANTY; without even the implied warranty of # || || # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # || || # GNU General Public License for more details. # || || # # || || # Script is intended to be used with: # || || # osCommerce, Open Source E-Commerce Solutions # || || # http://www.oscommerce.com # || || # Copyright (c) 2003 osCommerce # || || ###################################################################### || \*========================================================================*/ class cache { # temp resource container var $cache_query; # cache memory container and parameter var $data, $keep_in_memory; # languages var $lang_id; /*=======================================================================*\ ########################################################################### class constructor ########################################################################### \*=======================================================================*/ # initialize with the actual languages_id or pass an integer function cache($languages_id, $memory = false){ $this->lang_id = (int)$languages_id; //set language_id $this->keep_in_memory = $memory; // keep the data in memory? $this->data = array(); // initialize data array $this->cache_gc(); // clean up expired entries } # end class constructor /*=======================================================================*\ ########################################################################### function to save the cache to database $name => name of entry $value => data to be cached $method => EVAL, ARRAY, or RETURN $gzip => option to gzip the data, recommended to save space $global => setting to make the cached data global in scope $expires => in the format [ time interval (int)/ date interval (string) ] ########################################################################### \*=======================================================================*/ function save_cache($name, $value, $method='RETURN', $gzip=1, $global=0, $expires = '30/days'){ # convert $expires to date in the future $expires = $this->convert_time($expires); # if the method is ARRAY serialize the data if ($method == 'ARRAY' ) $value = serialize($value); # check to see if it should be compressed $value = ( $gzip === 1 ? base64_encode(gzdeflate($value, 1)) : addslashes($value) ); // addslashes if not compressed # initialize the data array for either insert or update $sql_data_array = array('cache_id' => md5($name), // md5 it to get a unique name 'cache_language_id' => (int)$this->lang_id, 'cache_name' => $name, 'cache_data' => $value, 'cache_global' => (int)$global, 'cache_gzip' => (int)$gzip, 'cache_method' => $method, 'cache_date' => date("Y-m-d h:i:s"), 'cache_expires' => $expires ); # check whether it is already in the database # $is_cached and $is_expired is passed by reference! $this->is_cached($name, $is_cached, $is_expired); # $is_cached is returned from above as either true / false $cache_check = ( $is_cached ? 'true' : 'false' ); // convert the bool to string for switch comparison # swtich to find out whether we need to update or insert switch ( $cache_check ) { case 'true': // is cached so update the record tep_db_perform('cache', $sql_data_array, 'update', "cache_id='".md5($name)."'"); break; case 'false': // is not cached so insert the record tep_db_perform('cache', $sql_data_array, 'insert'); break; default: // should be one of the above...but just in case :-) break; } # end switch ($cache check) # unset the variables...clean as we go unset($value, $expires, $sql_data_array); }# end function save_cache() /*=======================================================================*\ ########################################################################### function to get the cache from database $name is the cache name => if no params are passed it will pull all the global cache entries and eval() them ########################################################################### \*=======================================================================*/ function get_cache($name = 'GLOBAL', $local_memory = false){ # define the column select list $select_list = 'cache_id, cache_language_id, cache_name, cache_data, cache_global, cache_gzip, cache_method, cache_date, cache_expires'; # global check, used below $global = ( $name == 'GLOBAL' ? true : false ); // was GLOBAL passed or is using the default? # switch the $name to determine the right query to run switch($name){ case 'GLOBAL': // either using default or passed as GLOBAL $this->cache_query = tep_db_query("SELECT ".$select_list." FROM cache WHERE cache_language_id='".(int)$this->lang_id."' AND cache_global='1'"); break; default: // anything other than default or GLOBAL $this->cache_query = tep_db_query("SELECT ".$select_list." FROM cache WHERE cache_id='".md5($name)."' AND cache_language_id='".(int)$this->lang_id."'"); break; } # end switch ($name) # number of rows for the query $num_rows = tep_db_num_rows($this->cache_query); if ( $num_rows ){ // if there were rows returned let's loop the return $container = array(); while($cache = tep_db_fetch_array($this->cache_query)){ # grab the cache name $cache_name = $cache['cache_name']; // not really needed but it makes the code look cleaner # check to see if it is expired if ( $cache['cache_expires'] > date("Y-m-d h:i:s") ) { // not expired yet # determine whether data was compressed $cache_data = ( $cache['cache_gzip'] == 1 ? gzinflate(base64_decode($cache['cache_data'])) : stripslashes($cache['cache_data']) ); # switch on the method switch($cache['cache_method']){ case 'EVAL': // must be PHP code eval("$cache_data"); break; case 'ARRAY': // it's an array, unserialize it $cache_data = unserialize($cache_data); case 'RETURN': // it's regular data, just return it default: break; } # end switch ($cache['cache_method']) # copy the data to an array if ($global) $container['GLOBAL'][$cache_name] = $cache_data; // it's global else $container[$cache_name] = $cache_data; // not global } else { // cache is expired if ($global) $container['GLOBAL'][$cache_name] = false; // it's global else $container[$cache_name] = false; // not global }# end if ( $cache['cache_expires'] > date("Y-m-d h:i:s") ) # if keep_in_memory is true save to array if ( $this->keep_in_memory || $local_memory ) { if ($global) $this->data['GLOBAL'][$cache_name] = $container['GLOBAL'][$cache_name]; // it's global else $this->data[$cache_name] = $container[$cache_name]; // not global } } # end while ($cache = tep_db_fetch_array($this->cache_query)) # unset some varaibles...clean as we go unset($cache_data); tep_db_free_result($this->cache_query); # switch on true, case num_rows switch (true) { case ($num_rows == 1): // only one row returned if ($global){ // is global # the value is false or is not set, return false if ($container['GLOBAL'][$cache_name] == false || !isset($container['GLOBAL'][$cache_name])) return false; else return $container['GLOBAL'][$cache_name]; // else return the value } else { // not global # the valu is false or is not set, return false if ($container[$cache_name] == false || !isset($container[$cache_name])) return false; else return $container[$cache_name]; // else return the value } # end if ($global) case ($num_rows > 1): // more than 1 row returned default: // might as well put a default in here :-) return $container; // return the data array break; }# end switch (true) } else { // there were no returned rows from the query: return false return false; }# end if ( $num_rows ) } # end function get_cache() /*=======================================================================*\ ########################################################################### function to retrieve the cache from memory before it is in memory it must be called at least once by get_cache() !! ########################################################################### \*=======================================================================*/ function get_cache_memory($name, $method = 'RETURN'){ # check to see if there is GLOBAL in memory first # if so, use that over non-GLOBAL $data = ( isset($this->data['GLOBAL'][$name]) ? $this->data['GLOBAL'][$name] : $this->data[$name] ); # sanity check to make sure the data has content if ( isset($data) && !empty($data) && $data != false ){ // data has content # switch on the method switch($method){ case 'EVAL': // data must be PHP eval("$data"); return true; break; case 'ARRAY': // already unserialized from get_cache() case 'RETURN': default: return $data; break; } # end switch ($method) } else { // data was not set or had no content return false; } # end if (isset($data) && !empty($data) && $data != false) } # end function get_cache_memory() /*=======================================================================*\ ########################################################################### function to do some basic GC ########################################################################### \*=======================================================================*/ function cache_gc(){ # just deleting entries that are expired tep_db_query("DELETE FROM cache WHERE cache_expires <= '" . date("Y-m-d h:i:s") . "'" ); } /*=======================================================================*\ ########################################################################### function to convert $expires datetime parameter is in the format [ time interval (int)/ date interval (string) ] 30/d == 30 days, 1/m == 1 month, etc. ########################################################################### \*=======================================================================*/ function convert_time($expires){ //expires date interval must be spelled out and NOT abbreviated !! # explode the passed parameter $expires = explode('/', $expires); switch( strtolower($expires[1]) ){ // strtolower just in case :-) case 'seconds': $expires = mktime( date("h"), date("i"), date("s")+(int)$expires[0], date("m"), date("d"), date("Y") ); break; case 'minutes': $expires = mktime( date("h"), date("i")+(int)$expires[0], date("s"), date("m"), date("d"), date("Y") ); break; case 'hours': $expires = mktime( date("h")+(int)$expires[0], date("i"), date("s"), date("m"), date("d"), date("Y") ); break; case 'days': $expires = mktime( date("h"), date("i"), date("s"), date("m"), date("d")+(int)$expires[0], date("Y") ); break; case 'months': $expires = mktime( date("h"), date("i"), date("s"), date("m")+(int)$expires[0], date("d"), date("Y") ); break; case 'years': $expires = mktime( date("h"), date("i"), date("s"), date("m"), date("d"), date("Y")+(int)$expires[0] ); break; default: // if something fudged up then default to 1 month $expires = mktime( date("h"), date("i"), date("s"), date("m")+1, date("d"), date("Y") ); break; } # end switch( strtolower($expires[1]) ) # return the converted expiration date return date("Y-m-d h:i:s", $expires); } # end function convert_time() /*=======================================================================*\ ########################################################################### function to check if the cache is in the database and expired ########################################################################### \*=======================================================================*/ function is_cached($name, &$is_cached, &$is_expired){ // NOTE: $is_cached and $is_expired is passed by reference !! # query for the expiration date $this->cache_query = tep_db_query("SELECT cache_expires FROM cache WHERE cache_id='".md5($name)."' AND cache_language_id='".(int)$this->lang_id."' LIMIT 1"); # check to see if there were any rows returned $is_cached = ( tep_db_num_rows($this->cache_query ) ? true : false ); if ($is_cached){ // there were rows returned # fetch the array $check = tep_db_fetch_array($this->cache_query); # check to see if it is expired $is_expired = ( $check['cache_expires'] <= date("Y-m-d h:i:s") ? true : false ); # unset $check...clean as we go unset($check); } # free the result...clean as we go tep_db_free_result($this->cache_query); }# end function is_cached() } # end of cache class ?>
  11. Hi, Webstore is: /var/www/html/ Mobile site: /var/www/html//mobile Hope this will help.
  12. Hi, Just tried to setup this module but having some problems. uploaded all the files with directory mobiles to the root folder, so that the website add would be www.xyz.com/mobile after uploading files and correcting the configure.php file when loading up the mobile site i am getting this error Warning: include(includes/functions/security.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/includes/application_top.php on line 79 Warning: include(includes/functions/security.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/includes/application_top.php on line 79 Warning: include() [function.include]: Failed opening 'includes/functions/security.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/includes/application_top.php on line 79 Warning: include(includes/classes/cache.class.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/includes/application_top.php on line 319 Warning: include(includes/classes/cache.class.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/includes/application_top.php on line 319 Warning: include() [function.include]: Failed opening 'includes/classes/cache.class.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/includes/application_top.php on line 319 Fatal error: Class 'cache' not found in /var/www/html/includes/application_top.php on line 320 Can you please help solve this. Why is this error coming up regards, Kunal
  13. kunal247

    [Contribution] Register globals easy

    I too am having the same problem on my site when i switch to PHP5. is there a fix for this out there? can anyone help!!
  14. kunal247

    [Contribution] Register globals easy

    Hi Did you get this fixed? I have also installed this contribution 3 times now but still getting the same error msg: FATAL ERROR: register_globals is disabled in php.ini, please enable it! can some one pls help!!
  15. kunal247

    [Contribution] Register globals easy

    The full .htaccess file reads as: Action php5-script /interpreters/php5-script AddHandler php5-script .php Options +SymlinksIfOwnerMatch RewriteEngine on RewriteBase / RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} It has been suggested that Code placed in a .htaccess file does have to be ordered in a particular way, but I'm no expert on that !! Can some one pls help with this!
  16. kunal247

    [Contribution] Register globals easy

    Hi, I have just added this contribution and added to the .htaccess a code as requested by my host to switch to PHP5 added to .htaccess: Action php5-script /interpreters/php5-script AddHandler php5-script .php my site is coming up blank when i go to the website address. Nothing seems to be coming up at all. Can some one pls help!!
  17. kunal247

    Protx Direct v2.22

    I have made the above URL changes on my site now. Can we activate the shpping cart info now? Also wanted to thank: @Babygurgles @perfectpassion @Vger Vger - Has been my hosting company for 2 years now and she has been very supportive and would definately recommend TerraNetwork to any one looking for a good host. Cheers!! Kunal :thumbsup:
  18. kunal247

    Protx Direct v2.22

    Thanks again Tom!! I have made the changes and updated. is this a temp add on or best to leave it there permanently. Kunal
  19. kunal247

    Protx Direct v2.22

    Hi Tom, Thanks for the quick response. Can you please tell me where to add the Timeout code ? protx_process.php lines 38 - 54 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, $data); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Uncomment these lines if having problems connecting to Protx server // // curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); // // End $response = curl_exec($ch); curl_close ($ch);
  20. kunal247

    Protx Direct v2.22

    I am having the same issue on my site. Transaction going thru but order not being completed on our site. Also some cases we are getting " 3021 : The Basket format is invalid." What is the best temp. fix for this till the matter can be resolved at protx. Kunal
  21. I have for the last 3 months an unknown IP address roaming on my site which creates sessions. The above line is from my Who is online and that is what I see. I have checked my access log too but on that it some how does not appear. appreciate any help on this as I cant get rid of it at all. Kunal
  22. Steve, Thanks for your response. Is there a way to add multiple IP addresses in the format you gave earlier? Also can we some how block unknow IP addresses? or refuse people entering the site if the IP address is unknown. Kunal
  23. Tiger, I am also getting the same IP address coming up on my site and adding products. It has been doing this for a while now. I am pretty convinced it is not a customer but a bot. Can make out these things by the kind of items it adds to its cart. Kunal
  24. Hi Steve, I have this IP address creating sessions on my site all the time and adding random products on my site. It used to crawl my sites about 6 months ago and then stopped now it seems to be back again in a big way. Can you help? Kunal
  25. Hi, Can I get the above code to work only when no Xsell products listed, but when xsell products have been defined then the code below to work
×