Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    Hi

    Installed fresh v1.5

    Installed with zen_ prefix then I had problem importing some of my current tables as they did not have the prefixes. So I have re removed (renamed without ) the 'zen_' prefix of all the new version 1.5 tables in phpAdmin then in includes/configure.php I have changes as follow.

    Page shows and functions however admin login page is in accessible. It says "WARNING: An Error occurred, please refresh the page and try again."

    Can anyone help please?


    define('DB_TYPE', 'mysql');
    // define('DB_PREFIX', 'zen_');
    Downunder QLD

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: After a removal of table prefix admin no longer works

    So I have re removed (renamed without ) the 'zen_' prefix
    Code:
    // define('DB_PREFIX', 'zen_');
    You have removed the prefix but are still defining that there is one

    BTW: How did you change the table names?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    Yes it is still defining // define('DB_PREFIX', 'zen_'); but why is it still looking for?

    How did I renamed? ..painfully one by one within phpAdmin.

    Not sure what I need to do to fix it apart from re install but surely there must be way.
    Downunder QLD

  4. #4
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    Downunder QLD

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

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

    Change your DB definition as follows
    Code:
    // define('DB_PREFIX', '');
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    I have already done so in includes/configure.php
    // define('DB_PREFIX', 'zen_');
    define('DB_PREFIX', '');
    Downunder QLD

  7. #7
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    ok like this ? still the same message


    // define('DB_PREFIX', 'zen_');
    //define('DB_PREFIX', '');
    Downunder QLD

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

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

    I have already done so in includes/configure.php
    however admin login page is in accessible
    What about /admin/includes/configure.php
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    I have not touch it. There isn't a
    Code:
    define('DB_PREFIX', 'zen_'
    Downunder QLD

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

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

    There should be a define statement though in the admin copy- such as
    Code:
    //define('DB_PREFIX', '');
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 WARNING: An Error occurred, please refresh the page and try again
    By riomaha in forum General Questions
    Replies: 3
    Last Post: 16 Aug 2016, 07:31 PM
  2. v150 WARNING: An Error occurred, please refresh the page and try again.
    By l3ackdraft in forum Upgrading to 1.5.x
    Replies: 13
    Last Post: 13 Jun 2016, 10:13 PM
  3. Replies: 1
    Last Post: 8 Oct 2014, 06:46 PM
  4. Replies: 1
    Last Post: 28 Aug 2012, 05:54 PM
  5. v150 WARNING: An Error occurred, please refresh the page and try again
    By ccn1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 9 Apr 2012, 06:48 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