john_AV Posted June 30, 2011 Posted June 30, 2011 Hi Guys Just a random question, We have just moved from oscommerce to magento. However we loved this addon and it became an essental part of customer research. My hat come off to the developer. I was wondering if it was possible to develop this with a magento store? I am sure the magento community would pay for this addon. :) Quote
Dennis_oss Posted September 3, 2011 Posted September 3, 2011 Hi all, I am using this contrib for years now. I love it!! :D But now I have a small problem. I've installed DC megamenu on the site and now Firefox is adding a code at the end of the product URL. Always starting with #. and then a short random string. Because of this Whois Online can't figure out wich product someone is watching. And in de admin this shows up as a simple / When using IE, this code is not added to the url and whois online shows the productname in the admin. Here is how this url looks like: http://www.domain.com/product_info.php/cPath/287_212/products_id/1989#.TmIRZGq17Tk The last piece starting with # is the problem I think. Is there a way so whois_online can strip this of the url so it knows wich product the customer is looking at? Quote
Pelvis Posted October 10, 2011 Posted October 10, 2011 ATTENTION Attention with the Last version of this Contrib. Our Site was signed with red Flag from Google. Google has found Malicious Software (Malware) in Parts of Code in our Site. The Last Contrib that we had installed was the Upgrade of "Who's Enhancement" The reason was due to the old API "ipinfodb.com". So our Administrator has run a Program Called "I SCANNER" in our Server. And VOILÀ the Program has reported a "Java Script Code" that can run from a remote source. ---------------------------------- From: iScanner 0.7 <iScanner@localhost> Date: 2011/10/8 Subject: iScanner 0.7 report for localhost To: "[email protected]" <[email protected]> Hostname: localhost Directory: /home/xxx Extensions: htm, html, php, js Log file: infected-09:43:55-08.Oct.log /home/XXX/public_html/ Admin/whos_online.php [2.3] (<script.+?src\s*=\s*['\"]?(?:ht|f)tp.+?>(?:.*?<\/script>)?) Javascript code from remote source detected. --------------------------------------------------------------------------- Generated by iScanner 0.7 (db:0.2.0) in Sat Oct 8 09:44:16 2011 Copyright © 2010 iSecur1ty <http://iscanner.isecur1ty.org> After that we Installed Back the Old Version 3.5.5 (2 fixes up from Steve Dallas) and everything was fine also no report from "I SCANNER". Also be Careful !! bhbilbao 1 Quote
bhbilbao Posted October 10, 2011 Posted October 10, 2011 (edited) Thanks Pelvis, can you explain what to do.?? We must install the old version 3.5.5??? or what??? How to identify the mailicious code in our files?? Edited October 10, 2011 by bhbilbao Quote
Pelvis Posted October 10, 2011 Posted October 10, 2011 Yes Version 3.5.5 is for sure save and free from Malicious Software (Malware). Version 3.7 and 3.7_1 is unsafe and has the parts of Malicious Code (Malware). The Malware Code is found in /Admin/whos_online.php Quote
bhbilbao Posted October 10, 2011 Posted October 10, 2011 (edited) thanks, I will delete all files related and reinstall. Who's Online Enhancement 3.5.5 Full + IP Address geolocation + Visitors World Map 5 Aug 2009 But , what about the rest of updates and fixes of versions 3.6.x and 3.7.x. Is there the malicious code??? Edited October 10, 2011 by bhbilbao Quote
Pelvis Posted October 10, 2011 Posted October 10, 2011 I have not time to install everything and test. Version 3.5.5 Full + IP Address geolocation is sure Save. The newer + Visitors World Map from 5 Aug 2009 must be o.k. to. But for the newer (upper of them) is no Garantie what is o.k. and what not. Quote
bhbilbao Posted October 11, 2011 Posted October 11, 2011 (edited) For the moment all needed to do is to replace the whos_online.php archive and add the code for visitors_map.zip. Sometimes I saw a rare visitor like localhost : localdomain with IP 127.0.0.1 I dont know if that is related with the malicious remote script code. With the version 3.5.5 -all ID= 0 -no basket after session changes -no icons, or info about the guest explorer and machine. It will be interesting to install and test the updates one by one and identify the malicious code.(The code isnt too large). Basically the new updates adds an: require(DIR_WS_FUNCTIONS . 'whos_online.php'); require('includes/classes/ipinfodb.class.php'); I use "Who is online ena." all times with a modified main index page with the new customers and orders. Edited October 11, 2011 by bhbilbao Quote
terryduncilsr Posted December 7, 2011 Posted December 7, 2011 I hate to bother but i have a small request, is there a way to add a sound when someone logs onto the oscommerce store? and how would a person go about that? in whos online version 3.5.4 by steve dallas. I am running oscommerse 2.3.1 Quote
Guest Posted December 18, 2011 Posted December 18, 2011 I have 3.5.4 installed and am getting multiple admins online shown in the who's online. Any ideas to fix this? Quote
Guest Posted December 18, 2011 Posted December 18, 2011 (edited) duplicate post Edited December 18, 2011 by lyonsperf Quote
RobC1962 Posted January 23, 2012 Posted January 23, 2012 Hi All, For anyone having problems with the 'Last URL' showing as /images/infoBoxHeading2_td.gif (or anything to do with images) rather than showing the product being viewed, the fix is simple. Basically, the problem is caused by Who's Online Enhancement is looking for an image does not exist. Simply add the image where required and the contrib will show the Last URL correctly. Quote
baps Posted February 3, 2012 Posted February 3, 2012 (edited) Hi folks, Wondering if perhaps someone can suggest what's wrong with my installation of this addon? I'm running osCommerce 2.3.1 and have installed Who's Online version 3.5.4. I've found so many additions/edits of this I'm somewhat confused as to which I should be running to be honest. This version is mostly fine, although it doesn't label bots as bots. From what I'm reading I need to update spiders.txt? Does anyone know where I get a valid updated version of this from? Also, the shopping cart appears to be separate from the rest of the table and doesn't recognise when someone has an item in their cart. You can see this in the attached screenshot where even the style is different on the shopping cart column. Would I be better reinstalling the addon? If someone could point me to the correct version that would be very helpful. Many thanks, Baps. Edit: Regarding the cart issue, I've checked the store sessions settings, they both match. Edited February 3, 2012 by baps Quote
Guest Posted February 5, 2012 Posted February 5, 2012 is not a security risk, to let a folder with permissions on 777??? Quote
Nisinho Brazil Posted June 4, 2012 Posted June 4, 2012 Hello, I'm wanting the API code but Google is different now as mandated by the contribution is to link different Was watching do not know if this is https://developers.google.com/android/maps-api-signup could see me if this is the same code that generates the API? This I thank you Quote
luigicosta Posted June 14, 2012 Posted June 14, 2012 hello all, has anyone ever had this kind of error? thanks Deprecated: Function split() is deprecated in /web/htdocs/www.bestsoccershirt.com/home/admin/whos_online.php on line 583 Deprecated: Function split() is deprecated in /web/htdocs/www.bestsoccershirt.com/home/admin/whos_online.php on line 587 Deprecated: Function split() is deprecated in /web/htdocs/www.bestsoccershirt.com/home/admin/whos_online.php on line 587 Maglia Calcio Germania Trasferta stagione 2011 - 2012 (Product) Quote
SteveDallas Posted July 6, 2012 Posted July 6, 2012 hello all, has anyone ever had this kind of error? thanks Deprecated: Function split() is deprecated in /web/htdocs/www.bestsoccershirt.com/home/admin/whos_online.php on line 583 Deprecated: Function split() is deprecated in /web/htdocs/www.bestsoccershirt.com/home/admin/whos_online.php on line 587 Deprecated: Function split() is deprecated in /web/htdocs/www.bestsoccershirt.com/home/admin/whos_online.php on line 587 Maglia Calcio Germania Trasferta stagione 2011 - 2012 (Product) What version of whos_online are you using? The history for the contribution shows that this issue was fixed in v3.6.6.2 in 2010. --Glen Quote
WWI Posted July 19, 2012 Posted July 19, 2012 Has anyone figured out what is this error: Parse error: syntax error, unexpected T_CLASS in /admin/includes/classes/ipinfodb.class.php on line 2 Quote
Sylvester99 Posted August 13, 2012 Posted August 13, 2012 I am having problem with this contribution after using it for the past 2 years or so. Yesterday the page would not refresh. It just sits there in FireFox with the spinning logo indicating that it is loading. So I tried it in IE8 and it appears to be working fine. I am wondering if this has anything to do with Google changing the API? I have tried disabling the ipinfodb.com stuff, but it still does it which is what makes me think that it has something to do with the Google API. Is anyone else suffering the same issues? And how can the map function be eliminated from the code as I do not use it at all. (I only use ipinfodb.com once in a while and it wouldn't bother me if it had to go too). Thanks! Sylvester99. Quote
abbott75 Posted October 3, 2012 Posted October 3, 2012 Is there a complete package download for 2.3.3? Quote
♥14steve14 Posted October 3, 2012 Posted October 3, 2012 @@abbott75 Have you tried the one for 2.3.1 it may work as the versions are pretty much the same. Quote REMEMBER BACKUP, BACKUP AND BACKUP
Guest Posted October 17, 2012 Posted October 17, 2012 Does anybody have the show map working with the Google Maps API V3. (V2 is deprecated and wont work)? the whos_online part calling the API: <?php echo '<script src="http://maps.google.com/maps?file=api&v=2&key=' . GOOGLE_MAPS_KEY . '" type="text/javascript"></script>'; ?> <script type="text/javascript"> var map; var geoXml; var toggleState = 1; function initialize() { if (GBrowserIsCompatible()) { //Angel - Arreglo para que salgan las burbujas en el Mapa del Mundo //geoXml = new GGeoXml("<?php //echo HTTP_CATALOG_SERVER . "/visitors_georss.php";?>"); geoXml = new GGeoXml("<?php echo HTTP_CATALOG_SERVER . DIR_WS_CATALOG . "visitors_georss.php";?>"); map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(36,2), 1); map.addControl(new GLargeMapControl()); map.addControl(new GLargeMapControl()); map.addOverlay(geoXml); } } </script> needs to be changed to <?php echo '<script src="http://maps.googleapis.com/maps/api/js?key=' . GOOGLE_MAPS_KEY . '&sensor=true" type="text/javascript"></script>'; ?> <script type="text/javascript"> function initialize() { var mapOptions = { center: new google.maps.LatLng(<HERE WE NEED THE LATITUDE>,<HERE WE NEED THE LONGITUDE>), zoom: 8, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions); } </script> Thank you for your input. Quote
intensivex Posted November 24, 2012 Posted November 24, 2012 (edited) Hello folks, Install was a success. API key works (the map throws an alert dialog with an error if it doesn't). I'm digging the newer icons and the updated selects for control. I would love the map, if it actually did anything. Does the map rely on the ipinfo api feed at all? I've also applied pixclinic's v3 update, and the map still seems to work. My questions are: 1) Is the map designed to do anything? Am i supposed to see icons over the map? if so, from what local source? catalog/images/flags? 2) @pixclinic - in your update to v3, you're code seems like it expects "<HERE WE NEED THE LATITUDE>" and "<HERE WE NEED THE LONGITUDE>" - how are these populated and from where? Thanks much for your time. Edited November 24, 2012 by intensivex Quote
intensivex Posted November 29, 2012 Posted November 29, 2012 Seems i fixed my issues with the map. It now populates with icons. The problem was the visitors_georss.php needed to be in the root/catalog, public directory so the google maps api can access it (to populate it with icon locations). Fair enough, but my original assumption was this file not being in a publicly accessible directory. Even though its only basic information, someone can easily mine your traffic stats - exposing them like this probably violates some privacy rules and or laws as well. As a solution, I added this to visitors_georss.php: // Redirect me back to home page if im NOT maps.google.com if($_SERVER['HTTP_REFERER'] != 'http//map.google.com/'.$_SERVER['QUERY_STRING']) header("Location: /"); Also ... the v3 of the Map API code posted by @@pixclinic, didn't actually work for me. I reverted to v2 and all seems well again. Has anyone else gotten his v3 map update to work? Also ... For those of you still having issues with your visitors cart contents not displaying properly or at all, the issue stems from your get_products() and calculate() Methods that live inside your /admin/includes/classes/shopping_cart.php class. Namley to due with the differences in OOP between php 4 and php 5.3+ Apparently the while loops need to be converted into foreach's, and your queries should be updated to ensure they are returning results. The products_id wrapped in that tep_ function inside the queries was our issue. Here are the get_products() and calculate() functions, both /admin/includes/classes/shopping_cart.php http://pastebin.com/SgzpUVDj These work for us. Use a code comparison tool to see what we did. Good Luck! 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.