Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

[CONTRIBUTION] Google XML Sitemap Feed - by Chemo


749 replies to this topic

#681 tastar

  • Community Member
  • 127 posts
  • Real Name:Tony Auretto
  • Gender:Male
  • Location:Pittsburgh, PA, USA

Posted 19 June 2008, 01:58

Hi all,

So I'm getting this error at Google: Unsupported file format
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.

I've been using the dynamic sitemap contrib for at least 2 years and I just noticed that I was getting these errors. I've checked the code against their guidelines and don't see any issues. If I generate the sitemap using the googleSitemapCategories.php, save it as a text file and then upload the generated file to my website, Google likes it. But the googleSitemap...php files continually generate the same error.

Here's the beginning of a generated text file that Google likes:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.tastarsupply.com/storage-media-optical-dvd-c-129_158_162.html</loc>
<lastmod>2008-06-15</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>

<url>

So, the question is, why did these googleSitemap...php files stop working, and why do the text files that these php files generate work?

Any help that you can provide would be appreciated!

thanks.

tony

Edited by tastar, 19 June 2008, 02:00.


#682 neo_505

  • Community Member
  • 7 posts
  • Real Name:D

Posted 19 June 2008, 12:30

I do have the very same problem.

It appears even when u change the output and the respectove header to .txt -format.

AND even when u hachange the resp file-ending .php to txt and tell google so ( of course i priorly ptu the resp. addhandler to my .htaccess and tested it ).


This is realy weird.

#683 adfod

  • Community Member
  • 11 posts
  • Real Name:mike

Posted 29 June 2008, 22:55

I've started receiving this error with my sitemap "All the URLs in your Sitemap have the same priority." does anyone know how to fix it?

#684 johnyx2

  • Community Member
  • 13 posts
  • Real Name:Richard Montalvan

Posted 07 July 2008, 02:18

View Posthiggalls, on Jan 29 2007, 11:56 PM, said:

Hey,

You REALLY should just scrap that contrib and install the on-the-fly one that Chemo did. It works HEAPS better, and already has the code for articles.

Get the contrib from here: http://www.oscommerce.com/community/contri.../search,sitemap
and from there install the latest one that I put there on the 13th July 2006.

Regards,
Chris

Hello there,

These finally worked, thank you very much. However I get these error in the following 2 files:

XML Parsing Error: mismatched tag. Expected: </br>.
Location: http://www.my_site.com/googleSitemapTopics.php
Line Number 18, Column 98: articles_last_mod ASC<br><br><small><font color="#ff0000">[TEP STOP]</font></small><br><br></b></font>

XML Parsing Error: mismatched tag. Expected: </br>.
Location: http://my_site.com/googleSitemapArticles.php
Line Number 9, Column 111: articles_date_added DESC<br><br><small><font color="#ff0000">[TEP STOP]</font></small><br><br></b></font>

I do not have articles yet and I do not know what are topics. Does that matter?

Thanks

#685 ceetah

  • Community Member
  • 18 posts
  • Real Name:Marius

Posted 14 July 2008, 19:55

can anyone tell me where the latest package I should download ?
thx

#686 merxmedia

  • Community Member
  • 2 posts
  • Real Name:Martin Emanuel

Posted 29 July 2008, 05:10

View PostTom14, on May 29 2008, 04:14 PM, said:

Your shop is in the root and the contri wants a 'catalog' folder. You see it on the "double" slash.

Go to sitemaps.index.php an change following:

define('DIR_WS_CATALOG', DIR_WS_HTTP_CATALOG);

to

define('DIR_WS_CATALOG', '/var/www/vhosts/xxxxx.de/httpdocs/');
define('DIR_WS_HTTP_CATALOG', '/var/www/vhosts/xxxxx.de/httpdocs/');

for example in Plesk. That should solve the problem.


I am having the same issue and I went into the sitemaps.index.php file and changed accordingly:

define('DIR_WS_CATALOG', '/var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs/');
define('DIR_WS_HTTP_CATALOG', '/var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs/');


I am using plesk and think it may have something to do with the subdomain I am testing on, but am not entirely sure.

the test url is here

http://vintagestore.merxmedia.com/

The error I am getting is below:

ERROR: Google Product Sitemap Generation FAILED!

ERROR: Google Category Sitemap Generation FAILED!

ERROR: Google Sitemap Index Generation FAILED!

Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 27
)

[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 20
)

)

[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs//sitemapproducts.xml
[status] => failure
[file_exists] => false
)

[1] => Array
(
[file] => /var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs//sitemapcategories.xml
[status] => failure
[file_exists] => false
)

[2] => Array
(
[file] => /var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs//sitemapindex.xml
[status] => failure
[file_exists] => false
)

)

)

Any help is appreciated.

Martin

#687 knitnut

  • Community Member
  • 3 posts
  • Real Name:gouzy

Posted 04 August 2008, 01:40

Hello to all... a call for help! The installation went well and have been generating Google Sitemaps without a problem till I've realized that on the sitemaps of course there are all the products including those that have 0 quantities and if you test these particular products in pasting their URL from the sitemap to see the page that Google will see, the page shows No Product Found (normal, there is no longer a quantity) but with the following error to the left of the add to cart button :

Warning: implode () : bad arguments in /mysite/includes/functions/general.php on line 241

Line 241 ( in the Generate a path to categories function) is :
$cPath_new = implode('_', $cPath_array);

I'm on Linux, php 4.1, MS2.2 with Chemo's Ultimate SEO v.2.1d (which works like a charm). All functions correctly EXCEPT the URL's from the Sitemap with 0 quantities. Is this wierd? All help is greatly appreciated!

Knitnut

#688 knitnut

  • Community Member
  • 3 posts
  • Real Name:gouzy

Posted 04 August 2008, 14:06

View Postknitnut, on Aug 4 2008, 02:40 AM, said:

Hello to all... a call for help! The installation went well and have been generating Google Sitemaps without a problem till I've realized that on the sitemaps of course there are all the products including those that have 0 quantities and if you test these particular products in pasting their URL from the sitemap to see the page that Google will see, the page shows No Product Found (normal, there is no longer a quantity) but with the following error to the left of the add to cart button :

Warning: implode () : bad arguments in /mysite/includes/functions/general.php on line 241

Line 241 ( in the Generate a path to categories function) is :
$cPath_new = implode('_', $cPath_array);

I'm on Linux, php 4.1, MS2.2 with Chemo's Ultimate SEO v.2.1d (which works like a charm). All functions correctly EXCEPT the URL's from the Sitemap with 0 quantities. Is this wierd? All help is greatly appreciated!

Knitnut


Hello out there... am I the only one with this problem? I'd appreciate it if anyone knows how to get out of this one!

Knitnut

#689 adambeaumont

  • Community Member
  • 7 posts
  • Real Name:adam beaumont

Posted 12 August 2008, 15:18

I had the exact same problem but if you install the install by djmatrix (sitemap.index.php)http://www.oscommerce.com/community/contributions,3439
that worked for me.
hope it does the same for you..







View Postmerxmedia, on Jul 29 2008, 06:10 AM, said:

I am having the same issue and I went into the sitemaps.index.php file and changed accordingly:

define('DIR_WS_CATALOG', '/var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs/');
define('DIR_WS_HTTP_CATALOG', '/var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs/');


I am using plesk and think it may have something to do with the subdomain I am testing on, but am not entirely sure.

the test url is here

http://vintagestore.merxmedia.com/

The error I am getting is below:

ERROR: Google Product Sitemap Generation FAILED!

ERROR: Google Category Sitemap Generation FAILED!

ERROR: Google Sitemap Index Generation FAILED!

Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 27
)

[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 20
)

)

[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs//sitemapproducts.xml
[status] => failure
[file_exists] => false
)

[1] => Array
(
[file] => /var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs//sitemapcategories.xml
[status] => failure
[file_exists] => false
)

[2] => Array
(
[file] => /var/www/vhosts/merxmedia.com/subdomains/vintagestore/httpdocs//sitemapindex.xml
[status] => failure
[file_exists] => false
)

)

)

Any help is appreciated.

Martin


#690 CapeDecals

  • Community Member
  • 2 posts
  • Real Name:James

Posted 11 October 2008, 14:10

Hi Everyone.
I'm hopinig that somone can help me here.

I installed the mod with out any problems from this location Chemo Google XML Sitemap Feed : http://www.oscommerce.com/community/contributions,3233

I have to tell ya,.. I wish more people would have posted the link to the mod from Chemo because i had the toughest time finding it.
I downloaded the Full Version that was 6th from the Bottom by Mushindo.

Anyway,...
This morning when I opened up my email i received an email saying.

Quote

Status: 404
Content-type: text/html

No input file specified.

I inserted php /path/to/googlesitemap/index.php into the Cron Jobs Command just like the Directions told me to.

Anyone have any idea whats wrong?

Thanks in advanced guys
CD.

Edited by CapeDecals, 11 October 2008, 14:15.


#691 CapeDecals

  • Community Member
  • 2 posts
  • Real Name:James

Posted 13 October 2008, 10:31

View PostCapeDecals, on Oct 11 2008, 10:10 AM, said:

Hi Everyone.
I'm hopinig that somone can help me here.

I installed the mod with out any problems from this location Chemo Google XML Sitemap Feed : http://www.oscommerce.com/community/contributions,3233

I have to tell ya,.. I wish more people would have posted the link to the mod from Chemo because i had the toughest time finding it.
I downloaded the Full Version that was 6th from the Bottom by Mushindo.

Anyway,...
This morning when I opened up my email i received an email saying.



I inserted php /path/to/googlesitemap/index.php into the Cron Jobs Command just like the Directions told me to.

Anyone have any idea whats wrong?

Thanks in advanced guys
CD.


Doesnt anyone support this thread any longer?

#692 paulieGB

  • Community Member
  • 232 posts
  • Real Name:paul

Posted 18 October 2008, 17:31

hello,

i am having problems,
i have errors on the screen when i try to access -

http://www.my-site.com/googlesitemap/index.php

these are the errors =

Warning: fopen(): open_basedir restriction in effect. File(/sitemapproducts.xml) is not within the allowed path(s): (d:\users;E:\PHP\sessiondata;/tmp) in d:\users\foxycardsuk\public_html\googlesitemap\sitemap.class.php on line 291

Warning: fopen(/sitemapproducts.xml): failed to open stream: Operation not permitted in d:\users\foxycardsuk\public_html\googlesitemap\sitemap.class.php on line 291
ERROR: Google Product Sitemap Generation FAILED!


Warning: fopen(): open_basedir restriction in effect. File(/sitemapcategories.xml) is not within the allowed path(s): (d:\users;E:\PHP\sessiondata;/tmp) in d:\users\foxycardsuk\public_html\googlesitemap\sitemap.class.php on line 291

Warning: fopen(/sitemapcategories.xml): failed to open stream: Operation not permitted in d:\users\foxycardsuk\public_html\googlesitemap\sitemap.class.php on line 291
ERROR: Google Category Sitemap Generation FAILED!


Warning: fopen(): open_basedir restriction in effect. File(/sitemapindex.xml) is not within the allowed path(s): (d:\users;E:\PHP\sessiondata;/tmp) in d:\users\foxycardsuk\public_html\googlesitemap\sitemap.class.php on line 291

Warning: fopen(/sitemapindex.xml): failed to open stream: Operation not permitted in d:\users\foxycardsuk\public_html\googlesitemap\sitemap.class.php on line 291
ERROR: Google Sitemap Index Generation FAILED!

------------
any ideas ?
need help,

Paulie

#693 paulieGB

  • Community Member
  • 232 posts
  • Real Name:paul

Posted 19 October 2008, 22:20

i have changed in my admin in configuration - sessions - sessions directory - /tmp to tmp,
and that doen't work, still the exact same errors.
Also tryed a few different options - different paths, and nothin is working still the exact same errors.

Paulie.

#694 alistair.tweed

  • Community Member
  • 14 posts
  • Real Name:Alistair Tweed

Posted 30 December 2008, 16:16

Hi All,

Had a look at this contribution and I am very interested in installing it or something like it.

My question is, does it deal with multiple languages?

I am working on a German version of my site at http://aging-management.com/. Ultimately, both the site and products will be multilanguage and I would like to choose a version of Google Sitemap Generator that will include these in the sitemap.

If this contribution doesn't, can anyone recommend a contribution that does?

Thanks,

Alistair

#695 johnnybebad

  • Community Member
  • 672 posts
  • Real Name:Johnny

Posted 08 February 2009, 14:50

please can anyone advise on how I expand on chemos contribution to include other groups such as faq's, manufacturers etc, without the on the fly option.

Thanks

Johnny
Getting better with mods but no programmer am I.

#696 uniquexme

  • Community Member
  • 79 posts
  • Real Name:Desmond Tay

Posted 04 March 2009, 02:34

i have this error (i already changed the file permission by manually key in 777 for the 5 dummy files.



Warning: fopen(/sitemapproducts.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Product Sitemap Generation FAILED!



Warning: fopen(/sitemapcategories.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Category Sitemap Generation FAILED!



Warning: fopen(/sitemapmanufacturers.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Manufacturer Sitemap Generation FAILED!

ERROR: Google Specials Sitemap Generation FAILED!



Warning: fopen(/sitemapindex.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Sitemap Index Generation FAILED!

Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 215
)

[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 24
)

[MANUFACTURERS] => Array
(
[STATUS] => success
[NUM_ROWS] => 22
)

[SPECIALS] => Array
(
[STATUS] => success
[NUM_ROWS] => 0
)

)

[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /sitemapproducts.xml
[status] => failure
[file_exists] => false
)

[1] => Array
(
[file] => /sitemapcategories.xml
[status] => failure
[file_exists] => false
)

[2] => Array
(
[file] => /sitemapmanufacturers.xml
[status] => failure
[file_exists] => false
)

[3] => Array
(
[file] => /sitemapindex.xml
[status] => failure
[file_exists] => false
)

)

)

#697 Jack_mcs

  • Community Member
  • 24,436 posts
  • Real Name:Jack
  • Gender:Male

Posted 04 March 2009, 03:19

View Postjohnnybebad, on Feb 8 2009, 09:50 AM, said:

please can anyone advise on how I expand on chemos contribution to include other groups such as faq's, manufacturers etc, without the on the fly option.

Thanks

Johnny
See the update of this contribution, under a new name, in My Addons.

Jack

#698 jrthor2

  • Community Member
  • 225 posts
  • Real Name:Jason
  • Gender:Male

Posted 05 March 2009, 02:48

View Postuniquexme, on Mar 3 2009, 09:34 PM, said:

i have this error (i already changed the file permission by manually key in 777 for the 5 dummy files.



Warning: fopen(/sitemapproducts.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Product Sitemap Generation FAILED!



Warning: fopen(/sitemapcategories.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Category Sitemap Generation FAILED!



Warning: fopen(/sitemapmanufacturers.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Manufacturer Sitemap Generation FAILED!

ERROR: Google Specials Sitemap Generation FAILED!



Warning: fopen(/sitemapindex.xml) [function.fopen]: failed to open stream: Permission denied in /home/content/u/n/i/uniquexme/html/googlesitemap/sitemap.class.php on line 300

ERROR: Google Sitemap Index Generation FAILED!

Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 215
)

[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 24
)

[MANUFACTURERS] => Array
(
[STATUS] => success
[NUM_ROWS] => 22
)

[SPECIALS] => Array
(
[STATUS] => success
[NUM_ROWS] => 0
)

)

[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /sitemapproducts.xml
[status] => failure
[file_exists] => false
)

[1] => Array
(
[file] => /sitemapcategories.xml
[status] => failure
[file_exists] => false
)

[2] => Array
(
[file] => /sitemapmanufacturers.xml
[status] => failure
[file_exists] => false
)

[3] => Array
(
[file] => /sitemapindex.xml
[status] => failure
[file_exists] => false
)

)

)
I have the same error. Can anyone help?

Thanks

#699 ernstie

  • Community Member
  • 4 posts
  • Real Name:bjoern

Posted 05 March 2009, 12:31

hello i am too stupid i think....

i have load all files to the server. my destination is shop/googlesitemap/index.php

If i start this i get the failure down....

has someone a solution?


Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 1990 is not allowed to access / owned by uid 0 in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300

Warning: fopen(/sitemapproducts.xml) [function.fopen]: failed to open stream: No such file or directory in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300
ERROR: Google Product Sitemap Generation FAILED!


Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 1990 is not allowed to access / owned by uid 0 in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300

Warning: fopen(/sitemapcategories.xml) [function.fopen]: failed to open stream: No such file or directory in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300
ERROR: Google Category Sitemap Generation FAILED!


Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 1990 is not allowed to access / owned by uid 0 in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300

Warning: fopen(/sitemapmanufacturers.xml) [function.fopen]: failed to open stream: No such file or directory in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300
ERROR: Google Manufacturer Sitemap Generation FAILED!


Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 1990 is not allowed to access / owned by uid 0 in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300

Warning: fopen(/sitemapspecials.xml) [function.fopen]: failed to open stream: No such file or directory in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300
ERROR: Google Specials Sitemap Generation FAILED!


Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 1990 is not allowed to access / owned by uid 0 in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300

Warning: fopen(/sitemapindex.xml) [function.fopen]: failed to open stream: No such file or directory in /var/www/web564/html/googlesitemap/sitemap.class.php on line 300
ERROR: Google Sitemap Index Generation FAILED!

Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 12625
)

[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 320
)

[MANUFACTURERS] => Array
(
[STATUS] => success
[NUM_ROWS] => 283
)

[SPECIALS] => Array
(
[STATUS] => success
[NUM_ROWS] => 56
)

)

[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /sitemapproducts.xml
[status] => failure
[file_exists] => false
)

[1] => Array
(
[file] => /sitemapcategories.xml
[status] => failure
[file_exists] => false
)

[2] => Array
(
[file] => /sitemapmanufacturers.xml
[status] => failure
[file_exists] => false
)

[3] => Array
(
[file] => /sitemapspecials.xml
[status] => failure
[file_exists] => false
)

[4] => Array
(
[file] => /sitemapindex.xml
[status] => failure
[file_exists] => false
)

)

)

#700 uniquexme

  • Community Member
  • 79 posts
  • Real Name:Desmond Tay

Posted 06 March 2009, 00:34

guys, help, pls, i need solution to the above errors.