Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    120
    Plugin Contributions
    0

    Default WARNING: An Error occurred, please refresh the page and try again. When search

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]
    My website suddenly stop searching got "WARNING: An Error occurred, please refresh the page and try again." Warning.
    Who can tell me what happen for this error?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    I just took your error message and searched for it in the FAQs area, and it brought up this article:
    WARNING: An Error occurred, please refresh the page and try again.
    .

    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.

  3. #3
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    120
    Plugin Contributions
    0

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    Quote Originally Posted by DrByte View Post
    I just took your error message and searched for it in the FAQs area, and it brought up this article:
    WARNING: An Error occurred, please refresh the page and try again.
    but only happens on search you want to using, other all can working. Just no searching function.

  4. #4
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    120
    Plugin Contributions
    0

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    you can check it at www.diytoolsca.com top right corner the search bar.

  5. #5
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    120
    Plugin Contributions
    0

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    Quote Originally Posted by DrByte View Post
    I just took your error message and searched for it in the FAQs area, and it brought up this article:
    WARNING: An Error occurred, please refresh the page and try again.
    I try you point out enable error got follow information:

    5 Out of memory (Needed 4194276 bytes)
    in:
    [select count(distinct p.products_id) as total FROM (new_products p LEFT JOIN new_manufacturers m USING(manufacturers_id), new_products_description pd, new_categories c, new_products_to_categories p2c ) LEFT JOIN new_meta_tags_products_description mtpd ON mtpd.products_id= p2c.products_id AND mtpd.language_id = 1 WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND ((pd.products_name LIKE '%socket%' OR p.products_model LIKE '%socket%' OR m.manufacturers_name LIKE '%socket%' OR (mtpd.metatags_keywords LIKE '%socket%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%socket%' AND mtpd.metatags_description !='') OR pd.products_description LIKE '%socket%') ))]

    What is that mean?
    Last edited by diytools; 3 Feb 2017 at 03:51 AM.

  6. #6
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    120
    Plugin Contributions
    0

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    It is that server memory problem?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    Yes, it is probably a memory problem with the PHP configuration.

    Go to Admin->Tools->Server Info. What does it show for PHP Memory Limit?

    For most stores 32M is sufficient, but most of the time server administrators configure it to at least 128M nowadays.
    .

    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.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    Quote Originally Posted by DrByte View Post
    Yes, it is probably a memory problem with the PHP configuration.

    Go to Admin->Tools->Server Info. What does it show for PHP Memory Limit?

    For most stores 32M is sufficient, but most of the time server administrators configure it to at least 128M nowadays.
    Actually, most servers are using a PHP Memory Limit of 256MB these days and is a mandatory min. for servers using cPanel.

    Speaking of which, you are probably familiar with how WordPress allows one to determine memory limit usage in the "default-constants.php" file. Does Zen Cart have such a setting?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: WARNING: An Error occurred, please refresh the page and try again. When search

    Quote Originally Posted by Website Rob View Post
    Speaking of which, you are probably familiar with how WordPress allows one to determine memory limit usage in the "default-constants.php" file. Does Zen Cart have such a setting?
    No. Given that Zen Cart's needs are so low it's rare to have a legitimate memory issue unless you're using a very badly configured server, in which case you've got even bigger problems.
    One exception is if you're running specific batch scripts (that aren't part of Zen Cart) that don't release memory well; in that case you can set the memory limit yourself during those scripts ... and probably should set execution time too.

    But, if you really want a file to set it in for yourself, feel free:
    /includes/extra_configures/custom_memory_limit.php
    Code:
    @ini_set( 'memory_limit', '256M' );
    Just remember that this overrides whatever you've set in your hosting company's control panel PHP preferences, so now you have "yet another" place to have to check when troubleshooting things.
    .

    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.

 

 

Similar Threads

  1. v154 WARNING: An Error occurred, please refresh the page and try again.
    By bscho in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 6 Jul 2016, 01:50 AM
  2. v150 WARNING: An Error occurred, please refresh the page and try again
    By tifischer in forum Installing on a Mac Server
    Replies: 4
    Last Post: 17 May 2016, 03:53 AM
  3. v155 WARNING: An Error occurred, please refresh the page and try again.
    By Shellie7878 in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 28 Mar 2016, 12:35 PM
  4. v150 WARNING: An Error occurred, please refresh the page and try again.
    By dochsa in forum General Questions
    Replies: 2
    Last Post: 6 Sep 2012, 08:10 AM
  5. v150 WARNING: An Error occurred, please refresh the page and try again.
    By jo54iv in forum General Questions
    Replies: 1
    Last Post: 30 Apr 2012, 09:45 PM

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