Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2013
    Location
    Chicago, Illinois, United States
    Posts
    14
    Plugin Contributions
    0

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

    i keep getting the error message 'WARNING: An Error occurred, please refresh the page and try again.' every time I try to upload a sql patch!

    SOMEONE PLEASE HELP ME!!!!!!!

  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.

    What's the actual error message that's being recorded in the debug logs?
    ref: http://www.zen-cart.com/content.php?...-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
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

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

    I can point you to the FAQ about that exact problem:

    http://www.zen-cart.com/content.php?...-and-try-again

  4. #4
    Join Date
    May 2013
    Location
    Chicago, Illinois, United States
    Posts
    14
    Plugin Contributions
    0

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

    Well this is the only error I see on the error log -

    [15-May-2013 12:41:11] PHP Fatal error: 1062: Duplicate entry 'PRODUCT_LISTING_LAYOUT_STYLE' for key 'unq_config_key_zen' :: INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'columns', 'Select the layout style:<br />Each product can be listed in its own row (rows option) or products can be listed in multiple columns per row (columns option)', '8', '40', NULL, now(), NULL, 'zen_cfg_select_option(array("rows", "columns"),'); in /home/fivebc/public_html/includes/classes/db/mysql/query_factory.php on line 120

    and I don't know what this means!
    Last edited by kkjoseph; 15 May 2013 at 09:19 PM.

  5. #5
    Join Date
    May 2013
    Location
    Chicago, Illinois, United States
    Posts
    14
    Plugin Contributions
    0

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

    Here is the Error Message I get when I use PHPMyAdmin

    Error
    SQL query:
    ## The following is used only to remove the column layout grid module:
    #delete from configuration where configuration_key in('PRODUCT_LISTING_LAYOUT_STYLE','PRODUCT_LISTING_COLUMNS_PER_ROW');
    INSERT INTO configuration( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified,date_added, use_function, set_function )
    VALUES (
    'Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'columns', 'Select the layout style:<br />Each product can be listed in its own row (rows option)
    or products can be listed in multiple columns per row (columns option)', '8', '40', NULL , NOW( ) , NULL , 'zen_cfg_select_option(array("rows", "columns"),'
    );

    MySQL said:
    #1062 - Duplicate entry 'PRODUCT_LISTING_LAYOUT_STYLE' for key 'unq_config_key_zen'

  6. #6
    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.

    "duplicate entry" means that the thing you're trying to add to the database has already been added. Well, at least for that particular INSERT statement anyway.
    Sounds like you've been running the same SQL statements over and over and over again. Not sure why.
    .

    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.

  7. #7
    Join Date
    May 2013
    Location
    Chicago, Illinois, United States
    Posts
    14
    Plugin Contributions
    0

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

    Well I have been trying to run a sql patch again because it didnt seem to work. I just install a new template and the configuratons for the template is coming up blank in admin

  8. #8
    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.

    Okay. Let's start at the beginning then.
    After installing Zen Cart, what have you done? How did you arrive at this stage you're at now? Detailed steps on how to replicate your problem on a fresh installation of v1.5.1. If we can replicate the problem consistently, then we can help you with recovering from the problem.
    .

    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.

  9. #9
    Join Date
    May 2013
    Location
    Chicago, Illinois, United States
    Posts
    14
    Plugin Contributions
    0

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

    Ok I had zencart for a while now so I know my way around it.

    1. I followed the steps to install the Abbington Mega (New Template)

    2. Everything seems to work fine at this point

    3. In admin configurations > Abbington Mega is empty- so I can edit my footer social media or slide show on define page

  10. #10
    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.

    So, does that mean the real issue you need help with is something to do with the Abbington template?
    I suggest posting in the support thread for that template, since the configuration menu details you mention are specific to that template.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. WARNING: An Error occurred, please refresh the page and try again
    By Amethyst_fairy in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 1 Aug 2016, 02:45 AM
  2. v151 WARNING: An Error occurred, please refresh the page and try again
    By pramitha in forum General Questions
    Replies: 5
    Last Post: 12 Jul 2016, 10:25 AM
  3. 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
  4. Replies: 1
    Last Post: 8 Oct 2014, 06:46 PM
  5. Replies: 2
    Last Post: 14 Sep 2012, 03:24 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