Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default 0 db_error_not_connected

    HI I got error on bottom page: http://motobg.net/zcart

    0 DB_ERROR_NOT_CONNECTED in:
    [select count(*) as total from zen_sessions where sesskey=

    Can anybody help?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: 0 db_error_not_connected

    Do you have a zen_sessions table in your database? If not you may be using a poorly coded add-on module that assumes that you are using "zen_" as a database prefix.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: 0 db_error_not_connected

    I have such table

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: 0 db_error_not_connected

    It's odd that this appears at the bottom of your page. Makes me wonder whether code has been added very late in the page building process and after the php session holding your database access credentials has been closed.

    The database query isn't coming from normal Zen Cart, so must be added by a third-party add-on module or custom code. Do you know by whom or why it was added, and if it's an add-on - which one?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. 0 db_error_not_connected
    By SPembleton in forum General Questions
    Replies: 1
    Last Post: 1 Sep 2011, 11:23 PM

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