Latest News: (loading..)
Jack_mcs

SEO Assistant

504 posts in this topic

I have installed version 2.1 of this contribution, but it wont work for me. I get the following errors:

 

Unable to open remote file http://www.google.com/search?as_q=discount...ges&start=0.

 

Unable to open remote file http://search.msn.com/results.aspx?q=disco...=0&count=20.

 

Unable to open remote file http://search.yahoo.com/search?_adv_prop=w...mp;n=100&b=.

 

I tried the htaccess/fopen fix, but that didn't work, it just gave me a 500 internal server error. Any suggestions?

Share this post


Link to post
Share on other sites

Your host may not allow fopen calls. This question has come up many times and, as I recall, there is more than one fix/suggestion. So you may want to read through the whole thread, if you have not done so.

 

Jack

Share this post


Link to post
Share on other sites

I looked all the way back through, and it did remind me to check the allow_fopen status in OSC tools, but no other hints. fopen is allowed, so could there be another problem?

Share this post


Link to post
Share on other sites

If you post what you are trying to do and the entries you are using I will try it here to see if it fails on my installation.

 

Jack

Share this post


Link to post
Share on other sites

Searching for my search terms and site aren't going to help you, as it is new. But when I search for the term "google" for www.google.com, I get the following errors, and no listings in top 10 for all search engines:

 

Unable to open remote file http://www.google.com/search?as_q=boat+par...ges&start=0.

 

Unable to open remote file http://search.msn.com/results.aspx?q=boat+...=0&count=20.

 

Unable to open remote file http://search.yahoo.com/search?_adv_prop=w...mp;n=100&b=.

 

When I do page rank for www.google.com, I get this error: Failed to read url: www.google.com

 

I could go on, but suffice it to say something is either wrong with the installation or something is blocking my site from contacting other sites. One thought I just had is, does this use SMTP for outgoing requests? Because my server does not currently have SMTP enabled.

Share this post


Link to post
Share on other sites

Something is blocking it on your end. The code never gets to the point at which it really does anything because it can't connect to the site. You should contact your host and ask them why the open is failing.

 

Jack

Share this post


Link to post
Share on other sites

It started working on its own. I asked tech support about it, they said it should be working, then it worked. I have a feeling they did something, but have no idea. I do seem to have sporadic moments where one or the other of the tools don't work, but usually it works great. Love this contribution!

Share this post


Link to post
Share on other sites

Hi,

 

I have the same problem but only with Google.

Yahoo and MSN are working fine but a search for Google returns Unable to open remote file...

Any idea why this only happens with Google?

 

Thanks.

Share this post


Link to post
Share on other sites

There is a problem with the fopen call in some versions of php 5 (which I assume your server is using). The fix is to use curl instead. I've tested it here and it works but I haven't had time to integrate it into the code. Until that is done, that part of SEO Assistant won't work with google if running some versions of php 5.

 

Jack

Edited by Jack_mcs

Share this post


Link to post
Share on other sites
Hi,

 

I have the same problem but only with Google.

Yahoo and MSN are working fine but a search for Google returns Unable to open remote file...

Any idea why this only happens with Google?

 

Thanks.

I suspect that the problem is the search query returning nothing?

Share this post


Link to post
Share on other sites
I suspect that the problem is the search query returning nothing?

When I do the query in my browser I do get a result.

Still strange that it is only not working for Google.

Edited by Fure

Share this post


Link to post
Share on other sites
There is a problem with the fopen call in some versions of php 5 (which I assume your server is using). The fix is to use curl instead. I've tested it here and it works but I haven't had time to integrate it into the code. Until that is done, that part of SEO Assistant won't work with google if running some versions of php 5.

 

Jack

Sorry, didn't see your post before.

Yes indeed, my host is using php5.

Is it much to change it to curl, could you post it here?

Edited by Fure

Share this post


Link to post
Share on other sites

The curl code is just a few lines but it returns a string where the code is setup to handle an array. So it's that code that has to be converted and tested, which takes more time than I have right now.

 

Jack

Share this post


Link to post
Share on other sites

Hi Jack,

 

Wonder if you could help I have two issues with SEO assistant. I had a test site all worked well however I have now moved it to the root folder and have some problems Firstly the Header Staus returns HTTP/1.1 400 Bad Request but I have checked through several sights as my hosting company has done also and is shows HTTP Status Code - 200 OK . Not sure why this would be different.

 

Also with the Keyword density it just shows all HTML code and no actual text.

 

Any Ideas?

Share this post


Link to post
Share on other sites

It might be something in the header of site that is confusing the code. I seem to recall this happening with a site early on. Please post your url and I will take a look at it.

 

Jack

Share this post


Link to post
Share on other sites
It might be something in the header of site that is confusing the code. I seem to recall this happening with a site early on. Please post your url and I will take a look at it.

 

Jack

Thanks Jack,

 

its www.mylittledarling.co.uk

Share this post


Link to post
Share on other sites
Thanks Jack,

 

its www.mylittledarling.co.uk

Yes, it is failing the same way here so there is something in your code that the code in SEO Assistant can't handle, though it should be able to. When I get a chance, I will work on this, though I've no idea when that will be. Once I do, and if I find a fix, I will post it here.

 

Jack

Share this post


Link to post
Share on other sites

A new version has been uploaded with the following changes:

 

- Changed Google search condition in includes/modules/seo_google_position.php to work with their new code.

- Changed MSN search condition in includes/modules/seo_msn_position.php to work with their new code.

- Changed Get Header to return better results.

- Fixed layout problem in seo_assistant.php that affected how the page looked in FireFox.

 

The new google code probably needs some edits. I didn't know when I would be able to get back to it so thought it best to just go ahead and upload it as is. I have tested it on my site though and didn't find any problems.

 

Jack

Share this post


Link to post
Share on other sites

A new version has been uploaded with the following changes:

 

- Changed Google search condition in includes/modules/seo_google_position.php to work with their new code.

- Changed MSN search condition in includes/modules/seo_msn_position.php to work with their new code.

- Changed Get Header to return better results.

- Fixed layout problem in seo_assistant.php that affected how the page looked in FireFox.

 

The new google code probably needs some edits. I didn't know when I would be able to get back to it so thought it best to just go ahead and upload it as is. I have tested it on my site though and didn't find any problems.

 

Jack

Share this post


Link to post
Share on other sites

I am new for oscommerce and only know a little bit about it. I am trying to add some functions without my programer's help. could any one tell me where the seo_assistant.sql file is? how to do this step:2) Load the seo_assistant.sql file using phpmyadmin. You can alter the

file prior to uploading to start with your url and chosen search

word(s) if you like..

 

Please explain details.

Very thanks

Share this post


Link to post
Share on other sites

seo_assistant.SQL is located in the same place as the ReadMe.txt that you quoted step 2 from.

Share this post


Link to post
Share on other sites

google results are inaccurate and don't display results and page rank doesn't work with latest version. Also, support thread page listed on contribution download page leads nowhere.

Edited by crimble crumble

Share this post


Link to post
Share on other sites

google results are inaccurate and don't display results and page rank doesn't work with latest version. Also, support thread page listed on contribution download page leads nowhere.

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now