Zen Cart Logo
Forums / All Other Contributions/Addons / Google SitemapAdmin

Google SitemapAdmin

Views: 229,053

Results 421 to 440 of 842
29 Aug 2007, 10:26
#421
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Google SitemapAdmin

Argh. After a second look I did miss your point and now see what you were stating.

I do not believe previous mod versions had this same issue.

I suspect standard sitemap protocol states you should place your sitemap files in your webroot. Thus this may be the reason why child directories are no longer included in the directory paths to the other three sitemap files within the sitemapindex file. This is confusing and worth investigating. Thanks for the heads up.

At any rate be sure to add the "Sitemap" entry in your robots.txt file
e.g.
Sitemap: http://www.your_domain.com/sitemapindex.xml

Woody

01 Sep 2007, 18:10
#422
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

Re: Google SitemapAdmin

Gulp!

I have just updated to the latest version in the downloads section, and have encountered the following error when I try to open the Google XML Sitemap under the Tools Menu (in Admin):

Google Sitemap Generation (v 1.3.13 14.08.2007 10:32) started

Save path - "/xxxx/yyyy/public_html/store/"
Base URL - "http://hohose.exphoster.com/store/"

Fatal error: Call to undefined function: zen_get_info_page() in /xxxx/yyyy/public_html/store/admin/googlesitemap.php on line 279
(xxxx and yyyy used for security purposes)

I have previously been able to generate the relevant XML files without problems, and I have set the XML files' permissions to '777'

Can anyone please, please be so kind as to give me some guidance as to how to overcome this problem?

05 Sep 2007, 17:14
#423
drex avatar

drex

New Zenner

Join Date:
Jul 2007
Posts:
10
Plugin Contributions:
0

Re: Google SitemapAdmin

error with google and robots.txt file.... this is aggravating.

google states this:

"Network unreachable: robots.txt unreachable "

therefore, it won't index the site.

the problem is that it is listed and indexed correctly:

tampabayuniforms.com/robots.txt

it is clearly there to index the site.

the xml files are also there:

http://tampabayuniforms.com/sitemapindex.xml

and all the listings are congruent (no www. either in the files or the robot files or the listing.)

I give up.

any help is appreciated.

thanks!

07 Sep 2007, 21:47
#424
dbabbage avatar

dbabbage

New Zenner

Join Date:
Jul 2007
Posts:
30
Plugin Contributions:
0

Re: Google SitemapAdmin

dbabbage:

When I create the sitemap I get messages telling me that four pages have been successfully created. However, when I try to view the sitemapezpages.xml, I get the following error:

XML Parsing Error: not well-formed
Location: (the URL location)
Line Number 8, Column 49: <loc>http://siteurl.com/page.html?chapter=1&id=1</loc>
I have figured out why I am getting this error. It is because the plugin is not writing the & characters in the URLs to & in the sitemap. Because I am using SEO urls for all other pages, this is only happening on the EZPages sitemap (since I haven't been able to figure out how to have these re-written by the SEO plugin... any leads on that?)

Anyone know how to fix this?

26 Sep 2007, 00:29
#425
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Google SitemapAdmin

Zen-Cart 1.3.7.?
3 installs
2 went great on Linux servers
1 only 1/2 works on NT and wamp 5 1.7.2

The googlesitemap.php in the root dir works fine from the command line
http://www.stuff4toys.com/googlesitemap.php?ping=yes
works great.

From the admin I get:

Google Sitemap Generation (v 1.3.13 14.08.2007 10:32) started

Save path - "e:/www/"
Base URL - "http://www.stuff4toys.com/"

Fatal error: Call to undefined function zen_get_info_page() in E:\www\admin_folder\includes\languages\english\googlesitemap.php on line 298

help?
JOhn ><>

26 Sep 2007, 06:18
#426
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google SitemapAdmin

Fatal error: Call to undefined function zen_get_info_page() in E:\www\admin_folder\includes\languages\english\goo glesitemap.php on line 298
admin_folder\includes\languages\english\goo glesitemap.php don't use zen_get_info_page() function has no 298 lines.

Reinstall.

26 Sep 2007, 14:57
#427
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Google SitemapAdmin

a_berezin:

admin_folder\includes\languages\english\goo glesitemap.php don't use zen_get_info_page() function has no 298 lines.

Reinstall.
Hey you are right. Must have been a bad ftp session or something to put the wrong files there. I re-uploaded and PERFECT! :clap:

Thanks for pointing that out.
JOhn ><>

04 Oct 2007, 11:12
#428
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Google SitemapAdmin

Installed google sitemap locally with a fresh install of zen cart 1.3.7.
I also installed the latest version of Ultimate SEO URLs
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=231.

From what I can gather there have been compatibility issues with Chemo's Ultimate URLs and the sitemap generator in the past.

I am wondering however if there is a solution for the new Ultimate SEO and 1.3.7.

Can anyone help me out?

Basically I am getting this for all four of the xml files...
ERROR: Google Product Sitemap Generation FAILED!

All the configuration items are basically set to the default.

thanks in advance

04 Oct 2007, 11:55
#429
bhunted avatar

bhunted

New Zenner

Join Date:
Mar 2007
Location:
NJ
Posts:
68
Plugin Contributions:
0

Re: Google SitemapAdmin

Hi Folks!

It seems that the latest version is generating the sitemaps with an error in one. Google does not like the EZ pages xml page. I'm getting the following error.

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. A semi colon character was expected.

Any ideas? Thanks... :cry:

05 Oct 2007, 04:35
#430
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Google SitemapAdmin

mafiasam:

Installed google sitemap locally with a fresh install of zen cart 1.3.7.
I also installed the latest version of Ultimate SEO URLs
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=231.

From what I can gather there have been compatibility issues with Chemo's Ultimate URLs and the sitemap generator in the past.

I am wondering however if there is a solution for the new Ultimate SEO and 1.3.7.

Can anyone help me out?

Basically I am getting this for all four of the xml files...
ERROR: Google Product Sitemap Generation FAILED!

All the configuration items are basically set to the default.

thanks in advance

This issue was solved. It was a problem with the permissions of the xml files. On the local machine they were writable but when they were transferred to the server the permissions changed.

12 Oct 2007, 06:34
#431
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Google SitemapAdmin

I am also having issues with this mod.

I have a fresh install of the latest ZenCart, and the xml files are located in catalog/*.xml.

Initially I received an error, so I changed all the permissions to CMOD 777, as suggested by Andrew in his installation instructions.

I am getting the following error:

Processing file: http://www.domain.com/subdir/sitemapezpages.xml
Warning: fopen(http://www.domain.com/subdir/sitemapezpages.xml%29: failed to open stream: HTTP wrapper does not support writeable connections. in /aaa/bbb/c/d/e/domainename/html/subdir/googlesitemap.php on line 203
Failed!
ERROR: Google Category Sitemap Generation FAILED!

This is the code in googlesitemap.php:

$filename .= '.xml';
echo 'Processing file: ' . $filename;
if ($fp = fopen($filename, 'w+')){    (line 203)
fwrite($fp, $data, strlen($data));
fclose($fp);
echo ' OK! Written ' . $records . ' records, ' . strlen($data) . ' bytes <br />';
return true;
} else {
echo ' Failed!<br />';
$file_check = file_exists($filename) ? 'true' : 'false';
return false;

This error comes up for all the *.xml files.

Any idea's?

Thanks,

Goshawk

12 Oct 2007, 08:14
#432
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

Re: Google SitemapAdmin

Goshawk:

I am also having issues with this mod.

I have a fresh install of the latest ZenCart, and the xml files are located in catalog/*.xml.

Initially I received an error, so I changed all the permissions to CMOD 777, as suggested by Andrew in his installation instructions.

I am getting the following error:

This is the code in googlesitemap.php:

$filename .= '.xml';
echo 'Processing file: ' . $filename;
if ($fp = fopen($filename, 'w+')){ (line 203)
fwrite($fp, $data, strlen($data));
fclose($fp);
echo ' OK! Written ' . $records . ' records, ' . strlen($data) . ' bytes <br />';
return true;
} else {
echo ' Failed!<br />';
$file_check = file_exists($filename) ? 'true' : 'false';
return false;

> 
> This error comes up for all the *.xml files.
> 
> Any idea's?
> 
> Thanks,
> 
> Goshawk
Still sounds like a file permissions problem to me. I have found that some web hosts don't allow complete CHMOD changes. It may be that you need to go to your cPanel (if your web host has such a thing) and change the permissions from there!
12 Oct 2007, 11:06
#433
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google SitemapAdmin

Goshawk:

I am getting the following error:

Processing file: http://www.domain.com/subdir/sitemapezpages.xml
Warning: fopen(http://www.domain.com/subdir/sitemapezpages.xml%29: failed to open stream: HTTP wrapper does not support writeable connections. in /aaa/bbb/c/d/e/domainename/html/subdir/googlesitemap.php on line 203
Failed!
ERROR: Google Category Sitemap Generation FAILED!
Any idea's?
Only one idea - wrong setting for GOOGLE_SITEMAP_XML_FS_DIRECTORY. You myst set FILE SYSTEM directory! Not 'http://www.domain.com/subdir/', '/aaa/bbb/c/d/e/domainename/html/subdir/'.

12 Oct 2007, 22:20
#434
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Google SitemapAdmin

Thanks Andrew,

That was the problem, changed the filepath to:
/home/content//html/catalog/ and it is now working.

Goshawk

13 Oct 2007, 15:51
#435
tot_2_teen avatar

tot_2_teen

New Zenner

Join Date:
Oct 2007
Posts:
26
Plugin Contributions:
0

Re: Google SitemapAdmin

Hi Andrew,
I added your files to my site, https://www.tot2teenonline.com . I have a link in the admin now, but when I click the link to create sitemap, I get a blank screen. In addition, Google doesn't seem to be picking up anything but my Home Page which was added priorto your files. Any thoughts as to how to fix the 'create sitemap' issues?

:lamo:

15 Oct 2007, 06:33
#436
tweakservers avatar

tweakservers

New Zenner

Join Date:
Sep 2007
Posts:
67
Plugin Contributions:
0

Re: Google SitemapAdmin

Hey Guys,

I am trying to load in the mod to the 1.3.7 and while try to generate the XML files steps, it throws the following error :

Warning: main(includes/header.php) [function.main]: failed to open stream: No such file or directory in C:\domains.com\wwwroot\store\googlesitemap.php on line 84

Warning: main(includes/header.php) [function.main]: failed to open stream: No such file or directory in C:\domains.com\wwwroot\store\googlesitemap.php on line 84

Warning: main(includes/header.php) [function.main]: failed to open stream: No such file or directory in C:\domains.com\wwwroot\store\googlesitemap.php on line 84

Fatal error: main() [function.require]: Failed opening required 'includes/header.php' (include_path='.;c:\php4\pear') in C:\domains.com\wwwroot\store\googlesitemap.php on line 84

Any ideas?

15 Oct 2007, 14:21
#437
tot_2_teen avatar

tot_2_teen

New Zenner

Join Date:
Oct 2007
Posts:
26
Plugin Contributions:
0

Re: Google SitemapAdmin

I had the same issue and have fixed it. What I noticed was that when I opened the unzipped files there was a YOUR_ADMIN file which I uploaded to the appropriate location. That's when I got the errors. What I did not do was upload all the files that were not in that folder. Once I uploaded them to my public_html folder, all worked well. Good Luck!

21 Oct 2007, 20:07
#438
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Google SitemapAdmin

I am getting the following error. Can any one help.

Warning: filesize() [function.filesize]: stat failed for sitemapezpages.xml in .\googlesitemap.php on line 218

Thanks

MG

28 Oct 2007, 17:31
#439
golowenow avatar

golowenow

New Zenner

Join Date:
Jul 2006
Location:
Washington State
Posts:
78
Plugin Contributions:
0

Re: Google SitemapAdmin

The googlesitemap.php file in your main directory causes this warning when run and if you run it in your store administration you will come up with a blank page. This is because the page was set up using older versions of PHP. Pretty soon PHP will not support this function at all. If you get this warning..hehe...which you will:lookaroun...here is what to do.

THE WARNING:

Warning: Call-time pass-by-reference has been deprecated - argument

passed by value; If you would like to pass it by reference, modify the

declaration of fsockopen(). If you would like to enable call-time

pass-by-reference, you can set allow_call_time_pass_reference to true

in your INI file. However, future versions may not support this any

longer. in /your server/htdocs or whatever/folder or folders your PHP file is

in//the PHP file on line whatever

TO FIX THIS:

The & creates a call by reference so maybe try removing these to pass

by value.

EXAMPLE USING googlesitemap.php on line 398:

WAS:

$fsoc = fsockopen($url["host"], $url["port"], &$errno, &$errstr, 30);

SHOULD BE:

$fsoc = fsockopen($url["host"], $url["port"], $errno, $errstr, 30);

When I ran it through admin it now opens the page perfectly with no errors in the server fastcgi log. Hope this helps others.:smartalec:

28 Oct 2007, 20:04
#440
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google SitemapAdmin

hehe... May be help, but why you talk about it in this thread?
Google SitemapAdmin does not use fsockopen.