Jump to content
Sign in to follow this  
deliclass.co.uk

Google XML Sitemap w/ Admin support

Recommended Posts

Hi,

 

I have just added this contrib to my site and all seems to work ok. No errors and the XML files are created, however in the sitemapindex.xml there are no URLs listed other than the the 3 sitemaps themselves. Is this correct? The other two are listing the categories and products respectively as they are supposed to.

 

Cheers,

 

Craig

Share this post


Link to post
Share on other sites

I just installed and ran the Google XML Sitemap Admin via the admin panel. I saw a blank screen popup. Is that all their is to it? Where does the sitemap get created to? I would like to be able to take a peek at the xml that was created before I actually try submitting it to google. Do I need to add some xml files? I think I may be missing those. I used the "Google XML Sitemap - Admin 2.2 + Better README" install, does that have all the needed files?

Share this post


Link to post
Share on other sites
hi all...

 

I know it's can be very simple solution but I can't find it, please help

 

this is error when i run "update your site map" from admin (step 1)

 

 

 

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] => 4

)

 

[CATEOGRY] => Array

(

[sTATUS] => success

[NUM_ROWS] => 3

)

 

)

 

[sAVE_FILE_XML] => Array

(

[0] => Array

(

[file] => /var/www/vhosts/myurl.com/subdomains/shop/httpdocs//sitemapproducts.xml

[status] => failure

[file_exists] => true

)

 

[1] => Array

(

[file] => /var/www/vhosts/myurl.com/subdomains/shop/httpdocs//sitemapcategories.xml

[status] => failure

[file_exists] => true

)

 

[2] => Array

(

[file] => /var/www/vhosts/myurl.com/subdomains/shop/httpdocs//sitemapindex.xml

[status] => failure

[file_exists] => true

)

 

)

 

)

 

THX

 

 

 

 

 

 

i had create solution package for you who get this errors http://addons.oscommerce.com/info/3439 --> Some solution if you get errors like below, not full package


Deadline always

Share this post


Link to post
Share on other sites
I just installed and ran the Google XML Sitemap Admin via the admin panel. I saw a blank screen popup. Is that all their is to it? Where does the sitemap get created to? I would like to be able to take a peek at the xml that was created before I actually try submitting it to google. Do I need to add some xml files? I think I may be missing those. I used the "Google XML Sitemap - Admin 2.2 + Better README" install, does that have all the needed files?

You may want to try the improved version of this contributon (see My Addons).

 

Jack

Share this post


Link to post
Share on other sites
Opening /sitemapproducts.xml

FS_CAT /home/eddiec/public_html/catalog/

Server http://garagespec.com

Save Path /

WS_CAT /catalog/

 

 

Warning: fopen(/sitemapproducts.xml) [function.fopen]: failed to open stream: Permission denied in /home/eddiec/public_html/catalog/googlesitemap/sitemap.class_Alternate.php on line 354

 

ERROR: Google Product Sitemap Generation FAILED!

 

Opening /sitemapcategories.xml

FS_CAT /home/eddiec/public_html/catalog/

Server http://garagespec.com

Save Path /

WS_CAT /catalog/

 

 

Warning: fopen(/sitemapcategories.xml) [function.fopen]: failed to open stream: Permission denied in /home/eddiec/public_html/catalog/googlesitemap/sitemap.class_Alternate.php on line 354

 

ERROR: Google Category Sitemap Generation FAILED!

 

Opening /sitemapmanufacturers.xml

FS_CAT /home/eddiec/public_html/catalog/

Server http://garagespec.com

Save Path /

WS_CAT /catalog/

 

 

Warning: fopen(/sitemapmanufacturers.xml) [function.fopen]: failed to open stream: Permission denied in /home/eddiec/public_html/catalog/googlesitemap/sitemap.class_Alternate.php on line 354

 

ERROR: Google Manufacturers Sitemap Generation FAILED!

 

Opening /sitemapspecials.xml

FS_CAT /home/eddiec/public_html/catalog/

Server http://garagespec.com

Save Path /

WS_CAT /catalog/

 

 

Warning: fopen(/sitemapspecials.xml) [function.fopen]: failed to open stream: Permission denied in /home/eddiec/public_html/catalog/googlesitemap/sitemap.class_Alternate.php on line 354

 

ERROR: Google Specials Sitemap Generation FAILED!

 

Opening /sitemappages.xml

FS_CAT /home/eddiec/public_html/catalog/

Server http://garagespec.com

Save Path /

WS_CAT /catalog/

 

 

Warning: fopen(/sitemappages.xml) [function.fopen]: failed to open stream: Permission denied in /home/eddiec/public_html/catalog/googlesitemap/sitemap.class_Alternate.php on line 354

 

ERROR: Google Pages Sitemap Generation FAILED!

 

Opening /sitemapindex.xml

FS_CAT /home/eddiec/public_html/catalog/

Server http://garagespec.com

Save Path /

WS_CAT /catalog/

 

 

Warning: fopen(/sitemapindex.xml) [function.fopen]: failed to open stream: Permission denied in /home/eddiec/public_html/catalog/googlesitemap/sitemap.class_Alternate.php on line 354

 

ERROR: Google Sitemap Index Generation FAILED!

 

Array

(

[QUERY] => Array

(

[PRODUCTS] => Array

(

[sTATUS] => success

[NUM_ROWS] => 3207

)

 

[CATEOGRY] => Array

(

[sTATUS] => success

[NUM_ROWS] => 481

)

 

[MANUFACTURERS] => Array

(

[sTATUS] => success

[NUM_ROWS] => 75

)

 

[sPECIALS] => Array

(

[sTATUS] => success

[NUM_ROWS] => 800

)

 

)

 

[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] => /sitemappages.xml

[status] => failure

[file_exists] => false

)

 

[5] => Array

(

[file] => /sitemapindex.xml

[status] => failure

[file_exists] => false

)

 

)

 

)

I'm still getting the above error.

I try replacing the XML with blank files.

I try checking the sitemap.class.php but both solution did not resolve this problem.

the admin/configuration has disappeared when this error occur.

The only way to get it back is to run the SQL comment again. The Admin link will reappear but show a duplicate of everything.

 

Enable Manufacturers Map true Info

Enable Manufacturers Map true Info

Enable Specials Map true Info

Enable Specials Map true Info

Enable Standard Pages Map true Info

Enable Standard Pages Map true Info

Enable Diagnostic Output true Info

Enable Diagnostic Output true Info

Exclude these pages

Exclude these pages

Share this post


Link to post
Share on other sites
I have sucessfully installed the tool but my sitemapindex.xml is so weak

 

i think that should contain links to sitemapcategories.xml and sitemapproducts.xml

 

Hi! Have you found the solution as I have the same problem!

 

Thanx in advance

Share this post


Link to post
Share on other sites

hey there,

 

i installed the SEO Url`s-Contrib and this contrib only generated a sitemap using the old, regular links.

 

does anyone know how to fix that so that its generating the sitemap with the new, seo-enables urls?

 

thanks

Share this post


Link to post
Share on other sites

Has anyone had a issue where sitemapproducts.xml shows each product 8 times I am not sure if this is a problem but will make the file huge when I go live 8,000 products or so, any feed back would be apreciated

 

can't seem to find anything that would be causing it code seems fine

 

using seo urls

if that could be making a difference

 

Thanks in advance

 

Al

Share this post


Link to post
Share on other sites

hey there,

 

i installed the SEO Url`s-Contrib and this contrib only generated a sitemap using the old, regular links.

 

does anyone know how to fix that so that its generating the sitemap with the new, seo-enables urls?

 

thanks

at the bottom of sitemap.class.php

 

function hrefLink

 

change to this

if ( defined('SEO_URLS') && SEO_URLS == 'true' || defined('SEO_ENABLED') && SEO_ENABLED == 'true' ) {
//if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') ) {

Edited by alman

Share this post


Link to post
Share on other sites

Okey after messing around days i feel im still not no where - actually i feel i'm worst off then before

 

i have installed first the Sitemap SEO V 1.5 (where i did not see any change on traffic or anything after a week of install.. but i guess i must wait more a bit). Now i just discovered that it is not actually working after installing Google XML addon (is there any Google XML files that might overwrite the Sitemap SEO files?).

 

 

So anyway i wanted to submit real XML site-map and i installed "Google XML Sitemap - Admin 2.2" everything seems to work (no errors) but when i try to submit it to google - google does not accept it (http://funbox.ee/OSc/ror.xml ). Any idea why?

 

When i look it in Opera it just shows my website name's inside the file and nothing more - what might be wrong?


It's nice to be important, but it's more important to be nice!

[ I do not speak good English, so I hope ya understand ]

Share this post


Link to post
Share on other sites

This is NOT full package, bug fixed in "Google XML Sitemap - Admin 2.2 PL" download this module first. Here is only "sitemap.class.php" file.

 

If you get error like this :

-------------------------------------------------

ERROR: Google Product Sitemap Generation FAILED!

 

ERROR: Google Category Sitemap Generation FAILED!

 

Generated Google Sitemap Index Successfully

 

Array

(

[QUERY] => Array

(

[PRODUCTS] => Array

(

[sTATUS] => success

[NUM_ROWS] => 1

)

 

[CATEOGRY] => Array

(

[sTATUS] => success

[NUM_ROWS] => 1

)

 

)

 

[sAVE_FILE_XML] => Array

(

[0] => Array

(

[file] => /home/prettypi/public_html/lovetogame.co.uk//sitemapindex.xml

[status] => success

[file_exists] => true

)

 

)

 

)

 

-------------------------------------------------

 

- open catalog/sitemap.class.php file

- find these lines (857 & 947)

 

if ( sizeof($container) > 1 ) {

 

- change to these lines

 

if ( sizeof($container) >= 1 ) {

 

 

- it will start generating xml sitemaps ..

 

Module : http://addons.oscommerce.com/info/3439 => Google XML Sitemap - Admin 2.2 PL_1 (Bug Fixing)

Share this post


Link to post
Share on other sites

Hi, I have installed this contribution out of the box on one of my sites, and on my other site with a different hosting company, it is not working. I get the database error, so i use the updated sitemap.index.php file, which solves that problem, but then it does not create my sitemaps, although Ive set the write permissions. Anyone know what the problem could be?

 

Thanks

 

 

Look Solution Here .... http://addons.oscommerce.com/profile/129035 = Google XML Sitemap - Admin 2.2 PL (Bug Fix) => KPR-ITSolutions

Share this post


Link to post
Share on other sites

Warning:  array_merge() [function.array-merge]: Argument #1 is not an array in /home/xxxxxxx/public_html/sitemap.class.php on line 757

Warning:  Invalid argument supplied for foreach() in /home/xxxxxxx/public_html/sitemap.class.php on line 757
Generated Google Sitemap Index Successfully

 

I am getting the above error message when I run the script. It says "Generated Google Sitemap Index Successfully", but there is only the main URL in this file. Is this correct?

 

Scott

Share this post


Link to post
Share on other sites

This is line 757:

 

		foreach ( array_merge(glob($this->savepath . $pattern)) as $filename ) {

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
Sign in to follow this  

×