blr044 10 Posted April 11, 2010 I don't see a reason why it would return that, unless that is the link. All I can suggest is you view the source of the page you are checking and search for http://. Thanks. The problem was with the slideshow in header. The images were pointing to "http://" instead of an complete url to it's location. Share this post Link to post Share on other sites
♥geoffreywalton 139 Posted April 29, 2010 The search results and page rank stopped working due to changes at google. I then uploaded a new version and they worked for a very short time before google made another change. I haven't had time to get back to it to see what they did so those are now broke again. The new forum software changed how the links worked. Apparently there isn't any redirection in the code to handle the old links so it fails. Jack Is there anything I can do to get the google ranking search working? G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted April 29, 2010 The main problem is that the search engines keep changing how they list the links and there's no way to automate that with the way the code is now. So you have to do a search on each one, view the source to find how they are listing the links and then change the $condition variable in the code for each one to match that. It's not difficult but it's an on-going job since they are changing them more now than before, it seems. The code can be changed to not be effected by that but it's something I haven't been able to get to. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
♥geoffreywalton 139 Posted May 5, 2010 Jack Is there anything I can do to get the google ranking search working? G Done and uploaded, changed the conditions but there was also an sql statement missing in the google module which prevented the list of higher ranking url from being displayed. G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted May 5, 2010 Excellent. Thanks for doing that. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
nevergiveup 0 Posted June 24, 2010 (edited) I think Google changed the code/conditions again. I installed SEO Assistant 2.3 and get no errors but the Google or MSN is not ranking/working at all on any of the SEO Assistant tools. The only one working is Yahoo. Did I miss something? or is it Google and MSN that changed? Dawn Edited June 24, 2010 by nevergiveup Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted June 24, 2010 I haven't checked it but it wouldn't surprise me. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
nevergiveup 0 Posted June 25, 2010 (edited) I haven't checked it but it wouldn't surprise me. Jack, Google conditions show: //$conditions = "<span class=a>(.*)</span><nobr>"; //$conditions = "<cite>(.*)</cite>"; $conditions = '/<cite>(.*)<\/cite>/i'; $conditions = '/<nobr>(.*)<\/nobr>/'; Is that right? Thanks for any help you may have Dawn Edited June 25, 2010 by nevergiveup Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted June 25, 2010 Jack, right now Google conditions reads: //$conditions = "<span class=a>(.*)</span><nobr>"; //$conditions = "<cite>(.*)</cite>"; $conditions = '/<cite>(.*)<\/cite>/i'; $conditions = '/<nobr>(.*)<\/nobr>/'; Is that right? Thanks for any help you may have Dawn I don't know. You need to go to google, do a search, view source and look at the code surrounding the domain name. Then that code is used and (.*) is used instead of the domain name. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
111oneeleven 0 Posted September 16, 2010 SEO_Assistant V 2.3 was installed. I can add description, keywords and title to the products through admin/catalog/categories. So far so good, but when I want to check the tags with Firefox's Developers Toolbar, I will see in the field where the tag content should be displayed only: Default Content goes here... . What can I do to get the content? :blink: Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted September 16, 2010 I think you may have your contributions confused. SEO Assistant is just a monitoring tool. It doesn't add any tags. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
Wizbits 0 Posted September 29, 2010 Hello I have installe dthe SEO Assistant module and receive the following issues when testing in admin..., Index Position Unable to open remote file http://search.msn.com/results.aspx?q=enter+search+word(s)&FORM=MSNH&first=0&count=20. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_position.php on line 158 Unable to open remote file http://search.yahoo.com/search?_adv_prop=web&x=op&ei=UTF-8&prev_vm=p&va=enter+search+word(s)&va_vt=any&vp=&vp_vt=any&vo=&vo_vt=any&ve=&ve_vt=any&vd=all&vst=0&vs=&vf=all&vm=p&vc=&fl=0&n=100&b=. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_position.php on line 158 Link Popularity & Key Word Density Failed to read url: www.wizbits.biz Check for SIDS Unable to open remote file http://www.google.com/search?q=site:www.wizbits.biz&num=10&hl=en&lr=&filter=0&start=1. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_sids.php on line 119 Unable to open remote file http://search.msn.com/results.aspx?q=site:www.wizbits.biz&FORM=MSNH&first=1&count=20. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_sids.php on line 119 Unable to open remote file http://siteexplorer.search.yahoo.com/search?p=www.wizbits.biz&n=100&b=. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_sids.php on line 119 Suplemental Listings Unable to open remote file http://www.google.com/search?q=site:www.wizbits.biz&num=10&hl=en&lr=&filter=0&start=1. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_supplemental.php on line 59 Harmful Links Unable to open remote file http://www.google.com/search?q=site:www.wizbits.biz&num=10&hl=en&lr=&filter=0&start=1. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_harm_warning.php on line 60 Hotlinking Check Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_hotlinking.php on line 18 Warning: fopen(http://images.google.com/images?q=site:www.wizbits.biz&num=20&hl=en&&um=1&start=1&sa=N) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_hotlinking.php on line 18 Unable to open remote file http://images.google.com/images?q=site:www.wizbits.biz&num=20&hl=en&&um=1&start=1&sa=N. Warning: fclose(): supplied argument is not a valid stream resource in /home/content/w/i/z/wizbitsb/html/catalog/admin/includes/modules/seo_check_hotlinking.php on line 82 I am also getting multiple denied permisions elsewhere relating to this module Please advise thanks Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted September 29, 2010 I have installe dthe SEO Assistant module and receive the following issues when testing in admin..., I am also getting multiple denied permisions elsewhere relating to this module Those are all server related errors. Some hosts won't allow fopen/fclose calls since they see them as a security problem. The code is written to use curl, which is the alternative, so if that is the problem, you're out of luck. You will need to ask your host to see if the reason for the failures is due to their settings. If they are, they may enable them for you. 1 Wizbits reacted to this Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
Wizbits 0 Posted September 30, 2010 Those are all server related errors. Some hosts won't allow fopen/fclose calls since they see them as a security problem. The code is written to use curl, which is the alternative, so if that is the problem, you're out of luck. You will need to ask your host to see if the reason for the failures is due to their settings. If they are, they may enable them for you. Many thanks for that Jack..., I need to check something. I spoke to my host and they said I need to upgrade my PHP version to 5, that will clear the issue..., I presently have version 4.4.9. I can easily upgrade! My question is..., is there a problem in upgrading with my version of OSCommerce - Version 2.2 RC2a? I seem to remember I had to have 4.4.9 to install a clean version. Many thanks Andy Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted September 30, 2010 My question is..., is there a problem in upgrading with my version of OSCommerce - Version 2.2 RC2a? I seem to remember I had to have 4.4.9 to install a clean version. This isn't a question for this support thread but the short answers are: no, you don't need to do a clean install and yes, there may be problems. You can check similar threads in general support for more details. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
mrossi 0 Posted July 1, 2011 new to this module seems to have installed easily but i get this error in the admin Deprecated: Call-time pass-by-reference has been deprecated in /usr/www/users/osc/admin/includes/modules/seo_header.php on line 30 and Deprecated: Function eregi() is deprecated in /usr/www/users/osc/admin/includes/functions/seo_link_popularity.php on line 22 Think this module needs to be updates to PHP 5.3, process with caution. Thanks, Matt Share this post Link to post Share on other sites
iLC 0 Posted July 9, 2011 I have just installed this add-on and working fine. except that it is not working for Google and Msn search positions. It can however display Yahoo search positions. Share this post Link to post Share on other sites
modem2.0 2 Posted September 25, 2012 Hi, is there anyone using this contribution currently? I've just installed this and I believe it is not working for Google and MSN. I manage to change the google URL from: case "Google": $filename = "http://www.google.com/ie?q=$query&hl=en&num=$hits_per_page&start=$i"; to case "Google": $filename = "http://www.google.com/?#hl=en&output=search&q=$query&num=$hits_per_page&start=$i"; in admin/includes/modules/seo_position.php but I guess I need to change somewhere else as it is still not working. Any ideas? Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted September 25, 2012 The code to interpret their listings has to be changed for it to work. It takes too much time for me to keep up with that but you can do it yourself. See the previous posts regarding this. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
modem2.0 2 Posted September 25, 2012 Thanks Jack, I'll have a look. Share this post Link to post Share on other sites
modem2.0 2 Posted September 26, 2012 Hi Jack, is the search being saved somewhere in the server, or is there a way to do it? Just by going to google, search something and look at the source code seems not enough, as when I do that I can't find the term I searched for in the source as most of it is javascript code... Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted September 26, 2012 You have determine how they are listing the links. You then need to change the code in the modules of this contribution to look for that code. I have code to check googles listing in Header Tags SEO that is less dependant on that and seems to continue working through their changes so if you could use the code from there, though it would not be a simple copy/paste. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
zanerv 0 Posted October 8, 2012 Hello Jack, good job with all your SEO contribution, I really apreciate the work you do for this community. I have one request, can you please update this awsome SEO Assistant, I was using it for years and now google changed again the search string and i can't figure out a way to modify your code. Regards, zanerv Share this post Link to post Share on other sites
Jack_mcs 1,140 Posted October 8, 2012 I would like to but I just don't have the time. It is on my list of things to do but it does not look promising for anytime soon. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Share this post Link to post Share on other sites
anvip 0 Posted February 17, 2013 I found and tested this code for Google, it works. But I do not know how to implement it in Seo Assistant ... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Checking keyword position with PHP</title> <style type="text/css"> body{font-family:Verdana, Geneva, sans-serif; color:#666;} #center{width:350px;margin:5px auto 0 auto;} form { float:left; width:380px; } input, label { width:70%; clear:left; float:left; margin-top:5px; } input{color:#999;} input[type="submit"] { width:30%; clear:left; float:left; margin-top:20px; color:#666; } .small{ font-size:0.7em; color:#999999} h3{font-size:1.4em;} #kwdz{ width:400px; position:relative; top:5px;} #domainz{width:400px; margin-top:10px;} #result{margin-top:20px;} </style> </head> <body> <div id="center"> <form action="pr.php" method="post"> <div id="domainz"> <label>Domain:</label> <input name="domain" value="www.google.com" onclick="this.value=''" /> </div> <div id="kwdz"> <label>Keywords:</label> <input name="keywords" value="Seo Assistant" onclick="this.value=''" /> </div> <input type="submit" name="check" value="Get position" /> </form> <br style="clear:both" /> <?php $i = 1; $hit = 0; if($_POST) { // Clean the post data and make usable $domain = filter_var($_POST['domain'], FILTER_SANITIZE_STRING); $keywords = filter_var($_POST['keywords'], FILTER_SANITIZE_STRING); // Remove begining http and trailing / $domain = substr($domain, 0, 7) == 'http://' ? substr($domain, 7) : $domain; $domain = substr($domain, -1) == '/' ? substr_replace($domain, '', -1) : $domain; // Replace spaces with + $keywords = strstr($keywords, ' ') ? str_replace(' ', '+', $keywords) : $keywords; // Grab the Google page using the chosen keywords $html = new DOMDocument(); @$html->loadHtmlFile('http://www.google.com/search?q='.$keywords.'&num=100'); $xpath = new DOMXPath($html); // Store the domains to nodes $nodes = $xpath->query('//div[1]/cite'); // Loop through the nodes to look for our domain $hit = 2; foreach ($nodes as $n){ echo '<div style="font-size:0.7em">'.$n->nodeValue.'<br /></div>'; // Show all links if (strstr($n->nodeValue, $domain)) { $message = 'Position '.$i.'<br />'; $hit = 1; } else { ++$i; } } } ?> <div id="result"> <?php // Echo the result if ($hit == 1) { echo '<h2>'.$message.'</h2>'; } else if ($hit >= 2) { echo '<h2>Not found!</h2>'; } ?> </div> </div> </body> </html> Share this post Link to post Share on other sites