Zen Cart Logo

SitemapXML v.2

Views: 613,142

Results 1,641 to 1,660 of 2,226
19 May 2016, 14:42
#1641
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

SitemapXML v.2

Hello Everyone:

The reason for writing this is because of my recent experience with installing this plug-in. I am hoping it will help some of you avoid some pitfalls that I fell into along the way. Anyway, here goes:

If you have installed sitemapXML v.2 according to the “read me” file and when you go to Admin -> Tools -> and Sitemap XML is not there, you have either skipped or didn’t understand (like me) Step 5. of the “read me” file. I am going to do my best to explain what “Run YOUR_Admin/-install-sitemapxml.php means and how to do it, step-by-step for all of those who may not be so “experienced” out there.

  1. Place this in the address bar of your browser:

www.yoursite.com/YOUR_ADMIN/-install-sitemapxml.php

  1. Hit (or touch) Enter. This should take you to the login of your Admin.
    Go ahead and login

  2. You should see a blank page. At this point, just go ahead and clear out the page.
    (Just hit the red cross sign in to upper right corner of the page.)

  3. Log back into your Admin. Go to Admin -> Tools -> and you should see Sitemap XML

    1. From then on just follow the “read me” file further and you should be fine.

This may sound simple to some of you but to a new person, it isn't so simple. I hope this helps some of you since this is a very important plug-in for Google.

Kind Regards,

Silver

19 May 2016, 17:10
#1642
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,

torvista:

added an extra parameter LINE in the various calls in the class to find out where it was called from.
torvista:

this does not generate the error:

if ( SITEMAPXML_USE_EXISTING_FILES == 'true'
&& file_exists($this->savepath . $filename)
&& (filemtime($this->savepath . $filename) >= strtotime($last_date))
&& $this->_checkFContentSitemap($this->savepath . $filename)) {//steve added path
echo '"' . $filename . '" ' . TEXT_FILE_NOT_CHANGED . '<br />';
return false;

Thsnks! I update github.
19 May 2016, 21:36
#1643
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: SitemapXML v.2

In ADMIN/sitemapxml.php I find this in the generation options:
PHP Code:

<?php if (false) { ?>
                    <?php echo zen_draw_checkbox_field('inline', 'yes', false, '', 'id="inline"'); ?>
                    <label for="inline"><?php echo TEXT_SITEMAPXML_CHOOSE_PARAMETERS_INLINE; ?></label>
                    <br class="clearBoth" />
<?php } ?>

I don't see how this can do anything...does it?

20 May 2016, 01:31
#1644
silverhd avatar

silverhd

Totally Zenned

Join Date:
Mar 2008
Location:
USA
Posts:
563
Plugin Contributions:
0

Re: SitemapXML v.2

Hey Guys:

a_berezin and torevista:

Not to be disrespectful to you but to be respectful to the ZenCart community, wouldn't this type of communication be better in Github than here. This is for the whole community.

Kind regards,

Silver

20 May 2016, 02:52
#1645
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

SilverHD:

  1. Place this in the address bar of your browser:

www.yoursite.com/YOUR_ADMIN/-install-sitemapxml.php

  1. Hit (or touch) Enter. This should take you to the login of your Admin.
    Go ahead and login
  1. You should see a blank page. At this point, just go ahead and clear out the page.
    (Just hit the red cross sign in to upper right corner of the page.)
  1. Log back into your Admin. Go to Admin -> Tools -> and you should see Sitemap XML
5. From then on just follow the “read me” file further and you should be fine.

Nice!
But You missed a few very important points of instruction:

  1. Turn on the computer
  2. Start browser
20 May 2016, 02:57
#1646
a_berezin avatar

a_berezin

Deceased

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

Re: SitemapXML v.2

SilverHD:

Hey Guys:

a_berezin and torevista:

Not to be disrespectful to you but to be respectful to the ZenCart community, wouldn't this type of communication be better in Github than here. This is for the whole community.

Kind regards,

Silver

It's not up to you.

20 May 2016, 03:06
#1647
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 Steve,

torvista:

In ADMIN/sitemapxml.php I find this in the generation options:
PHP Code:

<?php if (false) { ?>
                <?php echo zen_draw_checkbox_field('inline', 'yes', false, '', 'id="inline"'); ?>
                <label for="inline"><?php echo TEXT_SITEMAPXML_CHOOSE_PARAMETERS_INLINE; ?></label>
                <br class="clearBoth" />
<?php } ?>
> I don't see how this can do anything...does it?
Code review?
This vestigial code. I have not decided definitively to delete it or to use in the future.
20 May 2016, 08:18
#1648
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: SitemapXML v.2

a_berezin:

I looked how installed other plug-ins. It turns out for a long time no one observes the old rules and everything is already installed plug-ins automatically. And it is right. In the near future I will add automatic installation of the plugin.

Andrew, try this auto installer file set - just add the files and folders to your existing package and delete the existing file YOUR_ADMIN/-install-sitemapxml.php from the current package.

Have not tested it but it should work

Cheers / Frank

20 May 2016, 11:54
#1649
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: SitemapXML v.2

Omitted to add to my above post:

For testing purposes you also need to make this change in your existing file YOUR_ADMIN/includes/modules/sitemapxml_install.php (around line 14):

//$current_version = '3.6 26.04.2016 10:33:09';
$current_version = '3.6.1';

or else you are getting prompted to install/upgrade over and over again........

Sorry about that.

Frank

27 May 2016, 19:34
#1650
jacobbushnell avatar

jacobbushnell

New Zenner

Join Date:
Mar 2010
Location:
Bonners Ferry, Idaho
Posts:
69
Plugin Contributions:
0

Re: SitemapXML v.2

Hello, after successfully installing, my site maps are generated, but only show 1 item! I actually have about 400 products. The only "item" show is a link to the SEO URL re-writer I am using.. ?

Any ideas whats going on here?
Attachment 16367

Attachment 16366

27 May 2016, 22:44
#1651
iray avatar

iray

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

Re: SitemapXML v.2

Please use SitemapXML Version: 3.3.3.

Newer versions miss the proper MSU support.

02 Jun 2016, 18:51
#1652
jacobbushnell avatar

jacobbushnell

New Zenner

Join Date:
Mar 2010
Location:
Bonners Ferry, Idaho
Posts:
69
Plugin Contributions:
0

Re: SitemapXML v.2

iRAY:

Please use SitemapXML Version: 3.3.3.

Newer versions miss the proper MSU support.

Thank you! That fixed it.

Is there an easy way to format the list so it looks human readable?
The previous version I had looked really nice and matched my template. The plain one that shows on the public side now does not look near as nice! http://www.keystonepestsolutions.com/index.php?main_page=sitemapxml&inline=no

Thanks,
Jacob

05 Jun 2016, 09:09
#1653
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

Re: SitemapXML v.2

Hi
I see that site map indexes all products, even the ones with status 0 . ..... now, is this ok ?
They are not out of stock. They are out. For a reason or another, I think it's intended not to show on the shop.
Google is indexing this links, are the result is 404, or even worse, I see that I have some links that actually skips the not found page, and goes to the product page, just to say, no product id found. ( but I dont think this is related to site map module.)

Just would like to understand, if there's a configuration that I'm missing to don't write status 0 products.... or the reason why they should be indexed.

Thanks

05 Jun 2016, 09:21
#1654
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

Re: SitemapXML v.2

well, sorry about that

I see the query is asking for products with status 1....

I'm running into some other situation here....
In admin index
Products: 822
Products deactivated: 537

But in phpmyadmin SELECT * FROM products WHERE products_status=1 , and I get 822 too......

So , a nice Sunday awaits me.

05 Jun 2016, 09:35
#1655
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

Re: SitemapXML v.2

mesnitu:

well, sorry about that

I see the query is asking for products with status 1....

I'm running into some other situation here....
In admin index
Products: 822
Products deactivated: 537

But in phpmyadmin SELECT * FROM products WHERE products_status=1 , and I get 822 too......

So , a nice Sunday awaits me.

Excuse this mesnitu, but some mornings his a complete idiot.
Wrong math...! :bangin:

05 Jun 2016, 09:44
#1656
design75 avatar

design75

Totally Zenned

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

Re: SitemapXML v.2

mesnitu:

Excuse this mesnitu, but some mornings his a complete idiot.
Wrong math...! :bangin:

:laugh: Always start with a big mug of fresh coffee to get you :jump:started. Don't do any coding before!

13 Jun 2016, 09:28
#1657
paperman avatar

paperman

New Zenner

Join Date:
Apr 2011
Posts:
18
Plugin Contributions:
0

Re: SitemapXML v.2

Hi

Using 1.5.4 and installed v 3.6 26.04.2016 10:33:09

Go into tools/sitmap xml and see the file with 0Kb. Rerun and get the same result. I have Ceon URL installed is that going to cause an issue?

Thanks for any assistance on this damp day in UK!

Simon

13 Jun 2016, 11:32
#1658
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,

paperman:

Hi

Using 1.5.4 and installed v 3.6 26.04.2016 10:33:09

Go into tools/sitmap xml and see the file with 0Kb. Rerun and get the same result. I have Ceon URL installed is that going to cause an issue?

Thanks for any assistance on this damp day in UK!

Simon

  1. Check error logs in cache/ or logs/ directory.
  2. Check sitemapxml direcory and files - they must be available for writing.
16 Jun 2016, 09:56
#1659
paperman avatar

paperman

New Zenner

Join Date:
Apr 2011
Posts:
18
Plugin Contributions:
0

Re: SitemapXML v.2

a_berezin:

Hi,

  1. Check error logs in cache/ or logs/ directory.
  2. Check sitemapxml direcory and files - they must be available for writing.

Thanks. These are checked and no errors showing at all. On the config menu I do have two menu entries for sitemapxml? Should I uninstall and try again?

Thanks

Simon

17 Jun 2016, 06:19
#1660
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,

paperman:

On the config menu I do have two menu entries for sitemapxml?
It's impossible! How did you do it?
paperman:

Should I uninstall and try again?
Of course!