Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2014
    Location
    la
    Posts
    2
    Plugin Contributions
    0

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

    Hello guys, i was working on my site and playing with attributes controller and i got this msg:
    WARNING: An Error occurred, please refresh the page and try again.

    [17-Apr-2014 23:59:50 America/Chicago] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 1, 'TEXT')' at line 1 :: INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 1, 'TEXT') in /home/healthgu/public_html/includes/classes/db/mysql/query_factory.php on line 120

    please help.

    thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

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

    That's a result of you deleting some system default values, which triggers the system to attempt to re-install those values ... and there was a bug in that code. The fix is here: http://www.zen-cart.com/showthread.p...32#post1153132
    .

    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
    Apr 2014
    Location
    la
    Posts
    2
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    That's a result of you deleting some system default values, which triggers the system to attempt to re-install those values ... and there was a bug in that code. The fix is here: http://www.zen-cart.com/showthread.p...32#post1153132
    Thank you!!! Works like a charm~

 

 

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. v154 WARNING: An Error occurred, please refresh the page and try again.
    By TruePCs in forum General Questions
    Replies: 2
    Last Post: 21 Jun 2016, 12:35 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. Replies: 2
    Last Post: 14 Sep 2012, 03:24 PM
  5. Replies: 6
    Last Post: 22 May 2012, 02:57 AM

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