Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

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

    I've successfully installed zencart and the shop and admin pages come up perfectly however when I return to the computer after 1/2 hour or so the following error appears:

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

    When I look into the cache for the detailed error the following is being displayed.

    [06-Feb-2012 18:11:30] PHP Fatal error: 145:Table './catalog/sessions' is marked as crashed and should be repaired :: select value
    from sessions
    where sesskey = 'b464496eb78df2cd68dd654f8ca435e0'
    and expiry > '1328580690' in /catalog/includes/classes/db/mysql/query_factory.php on line 101

    Can someone please tell me what to do.

    Thanks

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

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

    From another post

    http://www.zen-cart.com/forum/showpo...96&postcount=4

    In the hosting panel provided by your website host

    If you have phpMyAdmin:
    - click on your database from the pulldown menu
    - click on the Operations tab across the top
    - choose the Repair option
    - select the zen_sessions table
    - Go.
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

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

    Thanks for the quick reply.

    This is the second time I've installed the cart for the same shop and the same error happened last time and I did the repair database through the hosting control panel. It didn't fix the problem so I removed the shop totally and reinstalled it. The problem is still occurring. As you suggested I just run the repair database again and it's still not working.

    I also installed phpmyadmin onto the directory where the shop is located and now everytime i put in the normal link to the shop it brings up the phpmyadmin

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

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

    There is absolutley no need to put phpmyadmin in the same directory, infact there is no need to install it at all, as the version provided by your host will work just fine and is outsied of your webroot and therefore harder for hackers to get at and is the recommended way to go.
    Installing it into the zencart directory will overwrite zencart files. Just don't do it.

    see down the bottom of this page there will be similar threads, they may have more info on things to do, repairing it should fix it, unless there is something else coming in to play

    Quote Originally Posted by jacquimartin View Post
    Thanks for the quick reply.

    This is the second time I've installed the cart for the same shop and the same error happened last time and I did the repair database through the hosting control panel. It didn't fix the problem so I removed the shop totally and reinstalled it. The problem is still occurring. As you suggested I just run the repair database again and it's still not working.

    I also installed phpmyadmin onto the directory where the shop is located and now everytime i put in the normal link to the shop it brings up the phpmyadmin
    Webzings Design
    Semi retired from Web Design

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

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

    If your hosting company's server keeps crashing or corrupting the tables, then you probably should find a more reliable hosting company.
    .

    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.

  6. #6
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

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

    Please suggest a reliable hosting company.

    I only put phpmyadmin on as the instructions in the link that was listed in the first reply said use it.

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

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

    There are some hosting suggestions in the "Hosting" link at the top of this page. Due your own due diligence and research whether they will suit your unique requirements or not.

    Who's your current host? Have you contacted THEM about your repeating database problems? If not, why? If yes, what was their response?
    If your host doesn't already provide phpMyAdmin as part of your hosting service tools, then you probably need to reconsider how contemporary they are.
    .

    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. 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
  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. Replies: 15
    Last Post: 27 Sep 2012, 01:55 AM
  4. Replies: 2
    Last Post: 18 Apr 2012, 07:27 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