Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SambaMambo

Pioneers
  • Posts

    58
  • Joined

  • Last visited

1 Follower

About SambaMambo

  • Birthday 10/23/1977

Profile Information

SambaMambo's Achievements

  1. well, you just need to change the ip locator api edit /admin/whos_online.php and change to this (line 160): //Function to get IP address geolocation data from IPInfoDB and update whos_online table function updateIps($ips){ //Old,incesure method //$d = file_get_contents("http://ipinfodb.com/ip_query2.php?ip=$ips"); //Initialize the Curl session $ch = curl_init(); $URL = ("http://api.hostip.info/?ip=$ips"); //Set curl to return the data instead of printing it to the browser. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //Set the URL, then execute, then close curl_setopt($ch, CURLOPT_URL, $URL); $d = curl_exec($ch); curl_close($ch); //Use backup server if cannot make a connection if (!$d){ //$backup = file_get_contents("http://backup.ipinfodb.com/ip_query2.php?ip=$ips"); $ch = curl_init(); $URL = ("http://api.hostip.info/?ip=$ips");
  2. hello

    i guess you should try this one :

    http://addons.oscommerce.com/info/7195

    Regards,

    JF / SambaMambo

  3. When I enter to the Shopping Cart, it displays some products which I had not added to cart.

    Can any one help me out to solve this one out.

    Thanks in advance

    Regards

    Arun

  4. is working hard ^_^

  5. ok i've found the problem there is a conflict with a security fix by TiM-SE about the XSS issue in /includes/functions/database.php /admin//includes/functions/database.php *** Find *** function tep_db_input($string, $link = 'db_link') { global $$link; if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); } *** Replace with *** // Added below for [TiM's osC Solutions] Safer Database Input Method: $allowable_tags = false // To allow tags, either pass (boolean)true for all tags or example (string)'<b><i>' for certain tags. function tep_db_input($string, $link = 'db_link', $allowable_tags = false) { global $$link; // BOF: [TiM's osC Solutions] Safer Database Input Method if ($allowable_tags === false || is_string($allowable_tags)) { $string = strip_tags($string, $allowable_tags); } // EOF: [TiM's osC Solutions] Safer Database Input Method if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); } i'm going to send a message to TiM and see with him if he can fix that. Thanks
  6. ok it works on a clean osc i'm going to check the diffrence and let you know if i have with which contrib there is a conflict
  7. i tryed soft and hard but nothing change i'm going to test it on a clean osc
  8. what do you mean??? where do i have to set it ? in the /admin/includes/functions/html_output.php ? where and how? i'm going to test it on a clean osc
  9. hi im trying to install this contrib and make it works but here's the problem : When i try to make a new product, the CKEditor appears on the edit page when i click on preview the text is well formatted but then when i click save and look at the front-office, the text is not formatted. so then i go back to the back-office and edit the new product i've made and the text is unformated into the ckeditor area. do you have any idea why it happens? thanks
  10. hi im going to test this oscommerce but i wonder if the author still support it or not? also the demo is offline does someone test it and manage to get it working properly? thanks.
  11. http://addons.oscommerce.com/info/7271 best regards ;)
  12. hi just go to your admin panel and add the special character like this : l'=> and reset the cache i've just test it and it works fine
  13. thanks for the answer the file html_output.php wasnt upload properly now it works perfectly. i just don't know what happen during the transfert... Great contrib. i'm going to make a french translation . Thanks
  14. hi i wanted to test your contrib but without success. i've installed a fresh osc MS2.2rc2a and then i uploads the /uploads/ and /drop on top/ folders run the database installer.php chmod the cache folder and copy the htaccess.txt to my .htaccess switch standard to rewrite throught the admin panel. when i go to the shop and try to click on a product i can see that the rewrite is not working as it still have the product_info.php?id=... urls i put the debug mode on to see what happen and it seems that nothing is rewriting and nothing is in the cache i just dont understand what i've done wrong... also i know that rewrite is working on my server as i use the ultimate from chemo and its working fine ... any help would be appreciate Thanks
×
×
  • Create New...