Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[CONTRIBUTION] Google XML Sitemap Feed - by Chemo


Guest

Recommended Posts

Hello,

 

Can you help me ?

 

Warning: fopen(http://www.yourdomaine.com/catalog/sitemapproducts.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/domaine/public_html/yourdomaine.com/catalog/googlesitemap/sitemap.class.php on line 287

ERROR: Google Product Sitemap Generation FAILED!

Warning: fopen(http://www.yourdomaine.com/catalog/sitemapcategories.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/domaine/public_html/yourdomaine.com/catalog/googlesitemap/sitemap.class.php on line 287

ERROR: Google Category Sitemap Generation FAILED!

Warning: fopen(http://www.yourdomaine.com/catalog/sitemapindex.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/domaine/public_html/yourdomaine.com/catalog/googlesitemap/sitemap.class.php on line 287

ERROR: Google Sitemap Index Generation FAILED!

Thanks you for your assistance,

Basalt

Are you using Chemo's SEO URL's ??

 

/home/domaine/public_html/yourdomaine.com/catalog/googlesitemap/sitemap.class.php

This line looks suspiciously wrong & long?

Have you put the googlesitemaps folder in the same catalog folder as your xml files? and set the xml file permissions to 777 ?

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

how many categories/products do you have? others have said it is dealing with other contribution conflicts and also only having limited category/product listings.

check around post 147/148 of this support thread.

Link to comment
Share on other sites

how many categories/products do you have?  others have said it is dealing with other contribution conflicts and also only having limited category/product listings.

check around post 147/148 of this support thread.

 

 

I have 1 category and 480 products.

 

thanks

Link to comment
Share on other sites

Are you using Chemo's SEO URL's ??

 

/home/domaine/public_html/yourdomaine.com/catalog/googlesitemap/sitemap.class.php

This line looks suspiciously wrong & long?

Have you put the googlesitemaps folder in the same catalog folder as your xml files? and set the xml file permissions to 777 ?

 

 

This line for example.

Not my real url

Link to comment
Share on other sites

I've just wanted to thank great coder Chemo for this contrib.

I've installed it succesfully with its updates and after correction of date problem now google likes my shops with valuable XMLs. Status all OK from Google.. :)

Link to comment
Share on other sites

This line for example.

Not my real url

post the real error page. The info's no good to anyone else as far as i'm aware, but the real address error may hold some clues to the error.

Are you using Chemos SEO url's ???

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

FAO: Basalt,

 

Add another category and see if you still get the same problem.

 

I had problems because under development, I only had 1 category.

 

Regards,

 

Fish

Link to comment
Share on other sites

post the real error page. The info's no good to anyone else as far as i'm aware, but the real address error may hold some clues to the error.

Are you using Chemos SEO url's ???

 

 

Thanks for your message:

 

this is my real page error:

http://www.cybersystem.be/shop/googlesitemap/index.php

 

 

Warning: fopen(http://www.cybersystem.be/shop/sitemapproducts.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/napoleon/public_html/cybersystem/shop/googlesitemap/sitemap.class.php on line 287

ERROR: Google Product Sitemap Generation FAILED!

Warning: fopen(http://www.cybersystem.be/shop/sitemapcategories.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/napoleon/public_html/cybersystem/shop/googlesitemap/sitemap.class.php on line 287

ERROR: Google Category Sitemap Generation FAILED!

Warning: fopen(http://www.cybersystem.be/shop/sitemapindex.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/napoleon/public_html/cybersystem/shop/googlesitemap/sitemap.class.php on line 287

ERROR: Google Sitemap Index Generation FAILED!

 

 

Basalt

Edited by basalt
Link to comment
Share on other sites

FAO: Basalt,

 

Add another category and see if you still get the same problem.

 

I had problems because under development, I only had 1 category.

 

Regards,

 

Fish

 

 

yes, I have got more 1 caterory, please see my website www.cybersystem.be

 

Best regards,

Basalt

Link to comment
Share on other sites

Greetz,

 

Hello, and thx to the original author who kindly incorporated Google Sitemap into osC! Naturally, none of us are guaranteed to see any kind of measurable results. However, we all know this is pretty revolutionary thinking on Google's part to proactively pull data from active e-commerce websites.

 

That being said, we'll be happy to update everyone with our Google index visibility in the days and weeks ahead. 3,700+ products and counting, with 2,000+ more to add next week. I'll be curious to see how the sitemap communicates non-visible pricing ;)

 

Thx

Carpe Carp: Seize the Fish.

Link to comment
Share on other sites

yes, I have got more 1 caterory, please see my website www.cybersystem.be

 

Best regards,

Basalt

Hi again

 

Looking at your site, i would install Chemo's Ultimate SEO URL's and try the Googlesitemaps again. You need to install a URL contribution anyway, so you may aswell use Chemo's as it is compatible with the google mod. This SEO URL's contri includes a mod to the HTML output which affects the link wrapper function.

So it may be worth a try to see if it solves the problem.

 

Julian

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

Thanks for your message:

 

this is my real page error:

http://www.cybersystem.be/shop/googlesitemap/index.php

Warning: fopen(http://www.cybersystem.be/shop/sitemapproducts.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/napoleon/public_html/cybersystem/shop/googlesitemap/sitemap.class.php on line 287

ERROR: Google Product Sitemap Generation FAILED!

Warning: fopen(http://www.cybersystem.be/shop/sitemapcategories.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/napoleon/public_html/cybersystem/shop/googlesitemap/sitemap.class.php on line 287

ERROR: Google Category Sitemap Generation FAILED!

Warning: fopen(http://www.cybersystem.be/shop/sitemapindex.xml): failed to open stream: HTTP wrapper does not support writeable connections. in /home/napoleon/public_html/cybersystem/shop/googlesitemap/sitemap.class.php on line 287

ERROR: Google Sitemap Index Generation FAILED!

Basalt

 

Basalt,

 

I think I've seen this problem before and it was because I was on a windows server. Instead of using an absolute URL in fopen(http://www.cybersystem.be/shop/sitemapcategories.xml), try using a local one instead - probably fopen(../sitemapcategories.xml). I'm not too clever with PHP but it looks like you'll need to look at the SaveFile on line 271 in sitemap.class.php. If you look at the variable $filename, you'll see how it works. Perhaps for a quick fix, you could 'hard code' '../sitemapcategories.xml' into the class. It might work. Also, who did the design on your site? It looks fammiliar.

 

Cheers,

 

Fish

Link to comment
Share on other sites

Basalt,

 

In sitemap.class.php on lin 272, change the entire line to $filename = './' . $this->filename . $type;

 

Cheers,

 

Fish

Edited by neglected_goldfish
Link to comment
Share on other sites

I setup the cron job but I haven't logged into the google sitemaps and told it where to look. I take it you must do this. I thought maybe the cron job took care of this.

 

So I went into google and told it where to look the first time. Will the cron job take care of it from now on?

Link to comment
Share on other sites

I setup the cron job but I haven't logged into the google sitemaps and told it where to look.  I take it you must do this.  I thought maybe the cron job took care of this.

 

So I went into google and told it where to look the first time.  Will the cron job take care of it from now on?

 

Howdy,

 

The way I understand it. The cron is just updating the xml 'data' files on your site. Set it to run on a daily basis so that it covers any changes in categories or products.

 

Having made an account with googly, you have told it where to look for a feed for your site. That will access that file on a regular basis without anymore intervention on your part.

 

Paul

Link to comment
Share on other sites

Big thanks for Chemo and for his hard work!!!! Another usefull contribution!!!!!

 

I had no problem to install Google XML Sitemap Feed but I was wondering if putting a chmod 777 on XML files won't be dangerous for the server (security pbs??).

 

How to have this contribution run even if we put a chmod=775 or 755 on XML files?

OSC2.2

Link to comment
Share on other sites

you register sitemapindex.xml and it will reference the other two files.

 

awesome contribution!

 

Thanks!

 

Yes, it is a great contrib. Very easy to get going. And I am running a modified version of OSC.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...