[CONTRIBUTION] Google XML Sitemap Feed - by Chemo
#21
Posted 05 June 2005, 06:46
How do you guys do it? I would never ever have spotted an extra $. Guess that is why I am just a housewife. lol
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
#22
Posted 05 June 2005, 06:48
Bobby
#23
Posted 05 June 2005, 06:48
ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! ERROR: Google Sitemap Index Generation FAILED!
#24
Posted 05 June 2005, 06:49
function tep_session_is_registered( $var ){
return false;
}
worked for me Chemo... atleast I think it did. I get this now
Generated Google Product Sitemap Successfully Generated Google Category Sitemap Successfully Generated Google Sitemap Index Successfully All files generated successfully. If you have not already submitted the sitemap index to Google click the link below. http://www.google.com/webmasters/sitemaps/...itemapindex.xml
oops, except that the link is not clickable and has extra vharacters in it... not sure why it pasted right
says
http%3A%2F%2F<snip on request>%2Fsitemapindex.xml
Edited by mattice, 06 June 2005, 20:26.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
#25
Posted 05 June 2005, 06:52
theman, on Jun 5 2005, 02:48 AM, said:
ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! ERROR: Google Sitemap Index Generation FAILED!
Now, let's work on those paths for the files. Maybe I didn't make it clear enough in the install file.
The dummy files should be uploaded to the CATALOG directory wherever that may be...whether it is in the root or in a directory.
Are the dummy files in the store root?
wendyjames, on Jun 5 2005, 02:49 AM, said:
function tep_session_is_registered( $var ){
return false;
}
worked for me Chemo... atleast I think it did. I get this now
Generated Google Product Sitemap Successfully Generated Google Category Sitemap Successfully Generated Google Sitemap Index Successfully All files generated successfully. If you have not already submitted the sitemap index to Google click the link below.
Bobby
#26
Posted 05 June 2005, 06:54
Chemo, on Jun 4 2005, 11:52 PM, said:
Now, let's work on those paths for the files. Maybe I didn't make it clear enough in the install file.
The dummy files should be uploaded to the CATALOG directory wherever that may be...whether it is in the root or in a directory.
Are the dummy files in the store root?
yup
dummy files were moved to the store root when u told me too
#27
Posted 05 June 2005, 06:55
wendyjames, on Jun 5 2005, 02:49 AM, said:
says
http%3A%2F%2Fhomeandgardengiftsandcollectibles.com%2Fsitemapindex.xml
BTW, I checked your XML files and everything looks good. Go back to the install directions and pick it back up with the CRON setup...you are almost there!
Bobby
#28
Posted 05 June 2005, 06:57
Going to have to wait on the cron thing. I have to use telnet? and I have no idea how. lol Hubbie does but he is watching Dennis Leary and won't budge. lol =) Will definately let you know how it goes though.
Again, great job and thanks!
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
#29
Posted 05 June 2005, 07:00
theman, on Jun 5 2005, 02:54 AM, said:
domain.com/catalog/googlesitemap/
domain.com/catalog/sitemapindex.xml
domain.com/catalog/sitemapproducts.xml
domain.com/catalog/sitemapcategories.xml
The 3 dummy files have been CHMOD'd to 777 and verified to be 777.
Can you confirm this? Go back through and actually confirm one time for me...
BTW, thank you for working through this. Once we get this worked out for you I'll incorporate the changes to the code and re-upload another version.
Bobby
#30
Posted 05 June 2005, 07:03
Chemo, on Jun 5 2005, 12:00 AM, said:
domain.com/catalog/googlesitemap/
domain.com/catalog/sitemapindex.xml
domain.com/catalog/sitemapproducts.xml
domain.com/catalog/sitemapcategories.xml
The 3 dummy files have been CHMOD'd to 777 and verified to be 777.
Can you confirm this? Go back through and actually confirm one time for me...
BTW, thank you for working through this. Once we get this worked out for you I'll incorporate the changes to the code and re-upload another version.
Bobby
you can verify it as well if you want
http://www.soularclothing.com/catalog/googlesitemap/
http://www.soularclothing.com/catalog/sitemapindex.xml
http://www.soularclothing.com/catalog/sitemapproducts.xml
http://www.soularclothing.com/catalog/sitemapcategories.xml
and im happy to help
#31
Posted 05 June 2005, 07:09
Bobby
#32
Posted 05 June 2005, 07:25
crontab: installing new crontab
"/tmp/crontab.xxxx2cEQpr":0: bad minute
errors in contab file, can't install
so you want to retry the same edit?
It is times like this I wish I had a host with a clicky click controp panel instead of a hands on geeks paradise you have to know what you are doing panel. lol
I am not sure if this error is on my part or not. I know nothing about telnet but i got further than the hubbie.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
#33
Posted 05 June 2005, 07:29
Chemo, on Jun 5 2005, 12:09 AM, said:
Bobby
was a path issue i had wrong
thankks chemo
#34
Posted 05 June 2005, 07:33
file:whatever(same as above) and Modified
then said i had email but i dont lol so not sure if it worked or not
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
#35
Posted 05 June 2005, 07:34
wendyjames, on Jun 5 2005, 03:25 AM, said:
crontab: installing new crontab
"/tmp/crontab.xxxx2cEQpr":0: bad minute
errors in contab file, can't install
so you want to retry the same edit?
It is times like this I wish I had a host with a clicky click controp panel instead of a hands on geeks paradise you have to know what you are doing panel. lol
I am not sure if this error is on my part or not. I know nothing about telnet but i got further than the hubbie.
crontab -e 0 0 * * * php /path/to/googlesitemap/index.phpOf course, change the path to the correct one!
Bobby
Edited by Chemo, 05 June 2005, 07:35.
#36
Posted 05 June 2005, 07:38
1146 - Table 'bruinenf8.cache' doesn't exist
DELETE FROM cache WHERE cache_expires <= '2005-06-05 09:29:01'
[TEP STOP]
#37
Posted 05 June 2005, 07:38
In order to run the script I had to change this in sitemap.class.php:
function GoogleSitemap($host, $user, $db, $pass){
$this->DB = new MySQL_Database($host, $user, $db, $pass);
$this->filename = "sitemap";
$this->savepath = DIR_FS_CATALOG . DIR_WS_HTTP_CATALOG;
$this->base_url = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
} # end class constructor
to this:
function GoogleSitemap($host, $user, $db, $pass){
$this->DB = new MySQL_Database($host, $user, $db, $pass);
$this->filename = "sitemap";
//$this->savepath = DIR_FS_CATALOG . DIR_WS_HTTP_CATALOG;
$this->savepath = DIR_FS_CATALOG;
$this->base_url = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
} # end class constructor
otherwise I had some catalog//catalog string in file path for ../googlesitemap/index.php
Cheers
Franco
#38
Posted 05 June 2005, 07:42
misa, on Jun 5 2005, 03:38 AM, said:
1146 - Table 'bruinenf8.cache' doesn't exist
DELETE FROM cache WHERE cache_expires <= '2005-06-05 09:29:01'
[TEP STOP]
if ( file_exists(DIR_WS_CLASSES . 'cache.class.php') ){
include(DIR_WS_CLASSES . 'cache.class.php');
$cache = new cache($languages_id);
}
if ( file_exists('includes/seo_cache.php') ){
include('includes/seo_cache.php');
$cache->get_cache('GLOBAL');
}
and change it to this:/*
if ( file_exists(DIR_WS_CLASSES . 'cache.class.php') ){
include(DIR_WS_CLASSES . 'cache.class.php');
$cache = new cache($languages_id);
}
if ( file_exists('includes/seo_cache.php') ){
include('includes/seo_cache.php');
$cache->get_cache('GLOBAL');
}
*/
Tomcat, on Jun 5 2005, 03:38 AM, said:
In order to run the script I had to change this in sitemap.class.php:
function GoogleSitemap($host, $user, $db, $pass){
$this->DB = new MySQL_Database($host, $user, $db, $pass);
$this->filename = "sitemap";
$this->savepath = DIR_FS_CATALOG . DIR_WS_HTTP_CATALOG;
$this->base_url = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
} # end class constructor
to this:
function GoogleSitemap($host, $user, $db, $pass){
$this->DB = new MySQL_Database($host, $user, $db, $pass);
$this->filename = "sitemap";
//$this->savepath = DIR_FS_CATALOG . DIR_WS_HTTP_CATALOG;
$this->savepath = DIR_FS_CATALOG;
$this->base_url = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
} # end class constructor
otherwise I had some catalog//catalog string in file path for ../googlesitemap/index.php
Cheers
Franco
Bobby
#39
Posted 05 June 2005, 07:48
Quote
include(DIR_WS_CLASSES . 'cache.class.php');
$cache = new cache($languages_id);
}
if ( file_exists('includes/seo_cache.php') ){
include('includes/seo_cache.php');
$cache->get_cache('GLOBAL');
}
and change it to this:
CODE
/*
if ( file_exists(DIR_WS_CLASSES . 'cache.class.php') ){
include(DIR_WS_CLASSES . 'cache.class.php');
$cache = new cache($languages_id);
}
if ( file_exists('includes/seo_cache.php') ){
include('includes/seo_cache.php');
$cache->get_cache('GLOBAL');
}
*/
Same error
#40
Posted 05 June 2005, 07:55
Quote
DELETE FROM cache WHERE cache_expires <= '2005-06-05 09:29:01'
[TEP STOP]
This the error message.














