Thread: SitemapXML v.2

Page 199 of 214 FirstFirst ... 99149189197198199200201209 ... LastLast
Results 1,981 to 1,990 of 2131
  1. #1981
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,602
    Plugin Contributions
    30

    Default Re: SitemapXML v.2

    Thanks for the comments.

    In the end I put
    ini_set('memory_limit','512M');
    in the sitemapxml.php file called by the cron, to keep it self contained.

    I just thought I'd post this to save others wondering why the two approaches (admin/cron) may have different results. It took me too long to work it out.

    I don't need to call the 7.3 binary explicitly. I just left it in there as I was using 7.1 for this until I started investigating it recently and wanted to keep the command intact for reference.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  2. #1982
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    115
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    I'm using the plugin for Zen Cart 1.5.7 on PHP 7.3 and got this fatal error when trying to update the sitemap settings in admin:

    --> PHP Fatal error: Uncaught Error: Call to undefined function zen_admin_demo() in /home/USER/public_html/ADMIN/sitemapxml.php:35

    For now I've commented it out. I can't find any reference to zen_admin_demo(), is this a function that was removed from ZC? Does commenting out the switch statement suffice or will it have any unintended consequences?

    Many thanks, Edith

  3. #1983
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: SitemapXML v.2

    Yes, the zen_admin_demo function was removed in zc157; commenting that line out is the thing to do.

  4. #1984
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Quote Originally Posted by torvista View Post
    Thanks for the comments.

    In the end I put
    ini_set('memory_limit','512M');
    in the sitemapxml.php file called by the cron, to keep it self contained.
    Which file did you modify?

  5. #1985
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,602
    Plugin Contributions
    30

    Default Re: SitemapXML v.2

    Which file did you modify?
    The one called by the cron

    YourShopPath\cgi-bin\sitemapxml.php

    PHP Code:
    <?php
    ini_set
    ('memory_limit','512M');
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  6. #1986
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    thank you

  7. #1987
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,709
    Plugin Contributions
    11

    Default Re: SitemapXML v.2

    in troubleshooting a speed issue on a development site, i came across the plugin check for updates.

    considering this plugin is updated every 1 to 1.5 years, is it really necessary to check for an update on every page load on the admin? or did i butcher my install?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #1988
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,629
    Plugin Contributions
    88

    Default Re: SitemapXML v.2

    Quote Originally Posted by carlwhat View Post
    in troubleshooting a speed issue on a development site, i came across the plugin check for updates.

    considering this plugin is updated every 1 to 1.5 years, is it really necessary to check for an update on every page load on the admin? or did i butcher my install?
    FWIW, I normally disable that check upon install of the SiteMap XML as well (and for the same reason).

  9. #1989
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: SitemapXML v.2

    Ditto .
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #1990
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,709
    Plugin Contributions
    11

    Default Re: SitemapXML v.2

    Quote Originally Posted by lat9 View Post
    FWIW, I normally disable that check upon install of the SiteMap XML as well (and for the same reason).
    Quote Originally Posted by DrByte View Post
    Ditto .


    thanks.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR