If this is your first visit, check our documentation. To post, register or login.

Google SitemapAdmin

Started by pivey on 10 May 2006, 8:46 PM · Views: 229,753

Results 181 to 200 of 842
21 Jan 2007, 9:39 PM
#181
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Post #181 by kbalona

OK, I added 'zen_' to the table names before I ran the patch. I then ran it through phpmyadmin, and it said " Your SQL query has been executed successfully". But still no Google Sitemap Admin link in Admin>Tools! When I try running the modified SQL through the Zencart Install SQL Patches function, it says:

1146 Table 'edgeande_zc2.zen_zen_configuration' doesn't exist
in:
[DELETE FROM zen_zen_configuration WHERE configuration_group_id = @configuration_group_id;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
It's trying to add the prefix double! Yet when I run the SQL patch unmodified, it can't find the tables.

21 Jan 2007, 9:52 PM
#182
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Post #182 by pixxi

If you run the SQL through admin->tools->install SQL patches it should add the 'zen_' prefix automatically to the table names in the SQL.

... you've already manually put the prefix in the SQL, so you will get it twice if you run the patch through admin ... :smile:

If the patch ran successfully via phpMyAdmin, then you should find the entries in your configuration and configuration_group tables in your database - in other words, the SQL has worked.

Check that you've uploaded all the files in the mod to the right places on your site.

21 Jan 2007, 10:28 PM
#183
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Post #183 by kbalona

Pixxi:

... you've already manually put the prefix in the SQL, so you will get it twice if you run the patch through admin ... :smile:

But when I don't enter the prefix manually, it can't find the table. I've tried every possible thing, it seems, and it still doesn't work. I've downloaded & uploaded for the third time, tried numerous modifications to the SQL patch, but still doesn't show up in admin>tools. When I add the 'zen_' prefix to all the configuration areas except the DELETE FROM sections, and run it through the Admin Install SQL Patches, it will process 8 statements but come back with this error:

ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
ERROR: Cannot execute because table zen_configuration does not exist. CHECK PREFIXES!
But they DO exist! I can see them in PHPMyAdmin!:no:

21 Jan 2007, 10:49 PM
#184
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Post #184 by pixxi

You're getting two different things mixed up:

  1. The SQL puts the options in the database tables that show up under admin->configuration->google xml sitemap - from what you've said, you've run the SQL successfully via phpMyAdmin.

If the 'Google Sitemap XML' link appears under admin->configuration, then forget the SQL now, that's done.

  1. IIRC, the sitemap link in the tools menu is generated from the files being in the correct folders on your server - make sure you have all the files from the mod in the correct folders, especially admin/includes/boxes/extra_boxes/googlesitemap_tools_dhtml.php.
21 Jan 2007, 10:57 PM
#185
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Post #185 by kbalona

Well, all the files are present, that I can tell. The thing is, what I've gathered from previous posts in the thread, people that had this same problem hadn't installed the SQL patch. That's why I thought it must be that. Also, the link in admin>configuration showed up before I did anything to the DB. I'm totally stumped.

21 Jan 2007, 11:25 PM
#186
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Post #186 by pixxi

Do you have the 'Admin Levels' or 'Admin Profiles' mod installed?

21 Jan 2007, 11:30 PM
#187
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Post #187 by kbalona

No. Neither of them.
I did finally generate the sitemap by running googlesitemap.php from cpanel's File Manager. I set up the cron task, too. so maybe I'll just have to do it that way.

26 Jan 2007, 6:38 PM
#188
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Post #188 by kbalona

LOL! I figured out what my problem was, and it makes me look totally stupid. I have a renamed Zencart admin folder, so the files from GSA Admin folder weren't going in. I copied them over to the renamed Zen admin, and now I have the link in >Tools.

26 Jan 2007, 8:07 PM
#189
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Post #189 by alex_clarke

Excellent!

Glad you got things working. :)

My Contributions: Zen Lightbox | Best Sellers Reloaded

2 Feb 2007, 10:38 AM
#190
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Post #190 by magicpants

Thanks for the contrib, Andrew.

I've been using this for a while, but my shop is in a folder: http://mysite.com/catalog

So, I had to place these files in the folder, rather than the root -- and register with google webmaster tools with the folder included, instead of our normal web address http://mysite.com

I'd prefer to move these files to my root -- any way to solve this?

Currently using ZEN CART v. 1.3.6

2 Feb 2007, 1:16 PM
#191
a_berezin avatar

a_berezin

Deceased

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

Post #191 by a_berezin

Download last version 1.3.2 and load sql-patch.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Feb 2007, 1:43 PM
#192
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #192 by kimsonvu

Hi,

I check my Admin->Configuration->Google Sitemap Configuration and setup all parameters but cant see anything in this box.

What happen with that box? :lookaroun

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

2 Feb 2007, 1:52 PM
#193
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #193 by kimsonvu

a_berezin:

Download last version 1.3.2 and load sql-patch.

Hi,When i run SQL update, i found this :
#1146 - Table 'handicra_shop.configuration_group' doesn't exist

I check phpadmin and see just have table name handicraconfiguration_group.How to change your SQL update file to use that table?

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

2 Feb 2007, 6:46 PM
#194
hipgirl avatar

hipgirl

New Zenner

Join Date:
Dec 2006
Posts:
36
Plugin Contributions:
0

Post #194 by hipgirl

Hello,

I got the similar problem (sql error). Here is what I did:

  1. copy all files to my store directory. I installed zen cart to .../store folder. I also changed the default admin name to my own name (say, abc). So I copied all files except folder admin to .../store. And then copied all the files under admin to .../store/abc. At this point, google xml sitemap showed under 'tool' menu.

  2. use 'tool'--install sql patch-- upload to run googlesitemap.sql. I got error in last statement but when I checked the database table, I saw that the first steps ran successfully. The configuration_group_id is 41 (in configuration_gourp table).

  3. Then I run the last statement manually using phpsqladmin. 2 things need to be changed: 1. the table name configuration need to be zen_configuration. 2. wherever you see @configuration_group_id, change it to 41 (the number you got in table configuration_group. yours maybe different). Below is my final version (at the end of the message). Then I just copy and paste it to phpsqladmin and run it. At this point, the menu item showed under 'configuration' menu. Then I was able to create sitemap successfully: http://hipgirlclips.com/store/sitemapproducts.xml

The problem is that google told me it must be in highest level, not under ../store folder. I tried to move, copy the files to the upper level but seems the format changed. I think maybe it's using ASCII instead of Binary mode to copy the file. Any way, I didn't get a chance to search for it yet. Could anybody help? Thanks.

INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
(NULL, 'Compress XML File', 'GOOGLE_SITEMAP_COMPRESS', 'false', 'Compress Google XML Sitemap file', 41, 3, NULL, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'),
(NULL, 'Products changefreq', 'GOOGLE_SITEMAP_PROD_CHANGE_FREQ', 'weekly', 'How frequently the Product pages page is likely to change.', 41, 3, NULL, NOW(), NULL, 'zen_cfg_select_option(array('always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never'),'),
(NULL, 'Category changefreq', 'GOOGLE_SITEMAP_CAT_CHANGE_FREQ', 'weekly', 'How frequently the Category pages page is likely to change.', 41, 3, NULL, NOW(), NULL, 'zen_cfg_select_option(array('always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never'),'),
(NULL, 'Lastmod tag format', 'GOOGLE_SITEMAP_LASTMOD_FORMAT', 'date', 'Lastmod tag format:<br />date - Complete date: YYYY-MM-DD (eg 1997-07-16)<br />full - Complete date plus hours, minutes and seconds: YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)', 41, 3, NULL, NOW(), NULL, 'zen_cfg_select_option(array('date', 'full'),'),
(NULL, 'Category priority', 'GOOGLE_SITEMAP_CAT_CHANGE_PRIOR', '0.5', 'The default priority of the products URL. Valid values range from 0.0 to 1.0.', 41, 3, NULL, NOW(), NULL, NULL),
(NULL, 'Products priority', 'GOOGLE_SITEMAP_PROD_CHANGE_PRIOR', '0.5', 'The default priority of the products URL. Valid values range from 0.0 to 1.0.', 41, 3, NULL, NOW(), NULL, NULL);

Michelle

https://www.hipgirlclips.com

6 Feb 2007, 9:58 AM
#195
drstuey avatar

drstuey

New Zenner

Join Date:
Sep 2005
Location:
Aotearoa New Zealand
Posts:
70
Plugin Contributions:
0

Post #195 by drstuey

Hi,

I installed Google SitemapAdmin and tried to run it, but I got:

Warning: set_time_limit(): Cannot set time limit in safe mode in /home/httpd/vhosts/oscarflowermerchant.co.nz/httpdocs/shop/admin/googlesitemap.php on line 35
Google Sitemap Generation v 1.3.2 02.02.2007 15:51 started

Fatal error: Call to undefined function: zen_get_info_page() in /home/httpd/vhosts/oscarflowermerchant.co.nz/httpdocs/shop/admin/googlesitemap.php on line 332

any ideas? I think I am running 1.3.0

sorry, I tried to search the forum to see if this was covered before but I couldn't find anything and no I didn't read through 20 pages of this thread.

6 Feb 2007, 12:10 PM
#196
a_berezin avatar

a_berezin

Deceased

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

Post #196 by a_berezin

What Zen Cart version you really use?

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Feb 2007, 1:05 PM
#197
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #197 by kimsonvu

a_berezin:

What Zen Cart version you really use?

HI,I installed Google Site map and it's work,but in admin-config-google site map i dont see anything to config!
How to fix that problem?Do you have YIM or AOL NICK?

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

6 Feb 2007, 4:09 PM
#198
a_berezin avatar

a_berezin

Deceased

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

Post #198 by a_berezin

kimsonvu:

HI,I installed Google Site map and it's work,but in admin-config-google site map i dont see anything to config!
How to fix that problem?Load googlesitemap.sql.
kimsonvu:

Do you have YIM or AOL NICK?Yes.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Feb 2007, 5:21 PM
#199
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Post #199 by kimsonvu

a_berezin:

Load googlesitemap.sql.
Yes.

When i load that file, i see this problem:

1146 Table 'handicra_shop.configuration_group' doesn't exist
in:
[SELECT @configuration_group_id:=configuration_group_id FROM configuration_group WHERE configuration_group_title= 'Google XML Sitemap' LIMIT 1;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

6 Feb 2007, 10:59 PM
#200
a_berezin avatar

a_berezin

Deceased

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

Post #200 by a_berezin

I can not reproduce this error and so I can't explain this. :(
What version of Zen Cart you use?

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.