Zen Cart Logo

SitemapXML v.2

Views: 613,596

Results 1,321 to 1,340 of 2,226
17 Jul 2013, 5:06 AM
#1321
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

SitemapXML v.2

Hi...I am looking to install this mod on my 1.3.9 Zen Cart and was wondering about the .htaccess file. I did not see my answer in the forum. If you could please help it would be much appreciated.

In your read me file, you have instructed the following:

  1. For Zen-Cart version 1.3.9f and earlier. Edit file includes/.htaccess:
    Find
    <FilesMatch "..(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
    Replace by
    <FilesMatch ".
    .(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">

However, I am not sure where to add this to my .htacces file as there is nothing similar in mine. Here is how my file reads:

RewriteEngine on

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 120.28.222.132
deny from 120.28.213.61
deny from 120.28.206.148
deny from 120.28.211.158
deny from 120.28.240.142
deny from 203.177.74.138
deny from 117.41.184.199

RewriteCond %{HTTP_HOST} ^allclipart.info$ [OR]
RewriteCond %{HTTP_HOST} ^www.allclipart.info$
RewriteRule ^/?$ "http://www.allclipart.info/shop" [R=301,L]

RewriteCond %{HTTP_HOST} ^allclipart.info$ [OR]
RewriteCond %{HTTP_HOST} ^www.allclipart.info$
RewriteRule ^store$ "http://www.allclipart.info/shop" [R=301,L]

deny from 112.201.138.213

If you could explain where I might add this piece of code that would be a huge help. Also, is this mod compatible with Ultimate SEO?

Thanks...

17 Jul 2013, 5:25 AM
#1322
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Hi,
Be careful - You are watching another .htaccess file.

amandavz:

  1. For Zen-Cart version 1.3.9f and earlier. Edit file includes/.htaccess:
17 Jul 2013, 5:40 AM
#1323
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: SitemapXML v.2

Okay...I was wrong. I did have another store at one time and changed it to a /shop. Here is the .htaccess file from my admin folder on this shop:

@copyright Copyright 2003-2010 Zen Cart Development Team

@license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

This is used with Apache WebServers

The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions

It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Will also prevent people from seeing what is in the dir. and any sub-directories

For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.

Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit Options Indexes

#</Directory>
###############################
DirectoryIndex index.php

deny everything

<FilesMatch "...">
Order Allow,Deny
Deny from all
</FilesMatch>

but now allow just certain necessary files:

<FilesMatch "(^$|^favicon.ico$|.*.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>

IndexIgnore /

The following makes adjustments to the SSL protocol for Internet Explorer browsers

<IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule>

Fix certain PHP values

#<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

#</IfModule>

to turn off register_globals

php_value register_globals 0

#turn off X-PHP-Originating-Script header when sending emails from admin
#uncomment to activate:

php_flag mail.add_x_header Off

17 Jul 2013, 5:52 AM
#1324
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

amandavz:

Here is the .htaccess file from my admin folder on this shop:
Why is this file? How does ".htaccess file from my admin folder" relate to sitemapxml and readme?
10. For Zen-Cart version 1.3.9f and earlier. Edit file includes/.htaccess:

17 Jul 2013, 5:55 AM
#1325
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: SitemapXML v.2

DUH!!! What a ditz!!! I'm so sorry for being a dingbat and not paying attention. Thanks for your time. I see that your recommendation is already there. Have a great week!!! :)

17 Jul 2013, 6:54 PM
#1326
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: SitemapXML v.2

Okay...another stupid question...your read me file says this:

  1. Upload the files from "sitemapXML" to the root of your store. (DO NOT upload the "sitemapXML" folder, just the CONTENTS of this folder
    (copy ALL of the add-on files to your store!! Most issues are caused by store owners who decide to NOT load ALL of the module files)

Do I also need to include the sitemap.xml file that is included with that? Because you have a license file and read me file that are unnecessary to upload as well as an sql that is not required on my site.

Thanks in advance for your help.

17 Jul 2013, 9:12 PM
#1327
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

amandavz:

Do I also need to include the sitemap.xml file that is included with that?
Yes. Copy it to shop directory and CHMOD it 0644.

17 Jul 2013, 11:00 PM
#1328
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: SitemapXML v.2

Hello Andrew,

I am using v1.3.9h and SitemapXML v 3.2.6 17.06.2012

I am getting many "access denied" error warnings in WMT for a number of sites and have also had official notification from Google for one site;
mysite.com.au/: Increase in authorization permission errors

Some errors include /cache/ .... /includes/ .... etc files, files in the back end that should not be included in a sitemap. The site mentioned above is showing 373 urls submitted on the dashboard screen which matches the sitemap, but in the 'google index/index status' tab in WMT is showing 1,365 urls indexed.

Is this a Google issue or is there a fix for this? The problem is intermittent, i.e. access denied errors pop up sporadically, not every day - problem started a few months ago, your mod was added 2 years ago and all was fine until a few months back. (as mentioned in first para this is also happening to a lesser degree on some of my other sites - smaller numbers of files showing as errors)

cheers,
Mike

19 Jul 2013, 10:24 PM
#1329
quality_refurbished avatar

quality_refurbished

New Zenner

Join Date:
Feb 2013
Posts:
41
Plugin Contributions:
0

Re: SitemapXML v.2

Hi

I get this when I go into admin

Filesystem Error: Unable to delete '/var/www/vhosts/myaddress.co.uk/joblotdeals/zen_admin/includes/functions/extra_functions/common_orders_functions.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
Filesystem Error: Unable to delete '/var/www/vhosts/myaddress.co.uk/joblotdeals/zen_admin/includes/extra_datafiles/edit_orders_defines.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
Edit Orders installation / upgrade failed!

Where have I gone wrong?

Thank you

20 Jul 2013, 12:07 AM
#1330
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: SitemapXML v.2

Okay...I've installed the module and everything installed well and looks good, but when I visit: http://allclipart.info/shop/sitemap.xml I get the same error as above stated:

XML Parsing Error: no element found
Location: http://allclipart.info/shop/sitemap.xml
Line Number 1, Column 1:

I believe I downloaded the latest version. Any help with this? Otherwise, all looks good. Thanks for the mod.

20 Jul 2013, 12:23 AM
#1331
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: SitemapXML v.2

Nevermind...I got it!!! Thanks for the great mod.

20 Jul 2013, 7:01 AM
#1332
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: SitemapXML v.2

amandavz:

Nevermind...I got it!!! Thanks for the great mod.

Care to share your solution for the other members with the same problem?? and for future reference?

20 Jul 2013, 8:18 AM
#1333
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Quality Refurbished:

Hi

I get this when I go into admin

Filesystem Error: Unable to delete '/var/www/vhosts/myaddress.co.uk/joblotdeals/zen_admin/includes/functions/extra_functions/common_orders_functions.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
Filesystem Error: Unable to delete '/var/www/vhosts/myaddress.co.uk/joblotdeals/zen_admin/includes/extra_datafiles/edit_orders_defines.php'. Verify your web server has access to delete this file. Installation will not continue until the web server is granted access to remove the file.
Edit Orders installation / upgrade failed!

Where have I gone wrong?

Thank you

You're wrong topic

20 Jul 2013, 8:20 AM
#1334
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Design75:

Care to share your solution for the other members with the same problem?? and for future reference?

Do you think has something to share? Just do everything in the README and there are no problems. Problems arise only with those who have not read the README.

23 Jul 2013, 3:46 PM
#1335
caterfor avatar

caterfor

Inactive

Join Date:
Jul 2013
Location:
Redditch
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Andrew, I'm getting a blank page when I click on 'Upgrade SitemapXML SQL' in Admin. Any ideas please?

  • Zen Version v1.3.9f
  • site: http://www.caterfor.co.uk/
  • I've downloaded the latest files from the forum today.
  • I've followed instructions and ensured relevant folders \ files copy to my admin folder and my template folder.
  • I've checked error log which reports:

[23-Jul-2013 15:19:01] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /'my admin folder'/includes/classes/ext_modules.php on line 14

thanks a lot, Mark.

23 Jul 2013, 11:45 PM
#1336
amandavz avatar

amandavz

Zen Follower

Join Date:
Mar 2009
Location:
Crockett, Texas
Posts:
139
Plugin Contributions:
0

Re: SitemapXML v.2

Design75:

Care to share your solution for the other members with the same problem?? and for future reference?

Yes...I had not actually told my sitemap to create. I was trying to follow very close instructions and was afraid to do anything not in the instructions, so I never "created" a site map for my site. Once I did, it all worked just fine.

Here are the instructions in the read me file:

  1. Go to Admin -> Tools -> Google XML Sitemap (If error messages occur, change permissions on the XML files to 777).

This translates into: Create / update your site map, set up parameters and send. Some people need explaining like a 2 year old. LOL. Thanks again.

24 Jul 2013, 12:06 AM
#1337
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Hi Mark,

caterfor:

  • I've checked error log which reports:

[23-Jul-2013 15:19:01] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /'my admin folder'/includes/classes/ext_modules.php on line 14

Such mistakes should not be. Check the files on the FTP - files may not fully loaded. Upload files to FTP again.

24 Jul 2013, 7:40 AM
#1338
caterfor avatar

caterfor

Inactive

Join Date:
Jul 2013
Location:
Redditch
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Andrew, thank you for a quick response.

I can now access the 'Create / update your site map:' page. I changed some php global settings in my host control panel.

I'll have a go at creating some sitemaps and let you know how I get on.

all the best, Mark.

24 Jul 2013, 7:54 AM
#1339
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

Hi Mark,

caterfor:

I changed some php global settings in my host control panel.
Wow! Thanks, I'll fix it. What php version you use?

25 Jul 2013, 3:04 AM
#1340
crexis avatar

crexis

New Zenner

Join Date:
Jul 2013
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

I'm very new to this, I followed the directions to a tee. Is the last step for 1.5.x versions to go setup a Cron job via the control panel?

I'm having issues on how exactly this is done, it's not really told the details on how to do this.

In the admin there's an option to 'view, truncate or delete', should I be 'truncating' the different xml files? what does that do?

thanks for any help