Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2016
    Posts
    28
    Plugin Contributions
    0

    Default SQL Error 1146 Table TABLE_CUSTOMERS_ADMIN_NOTES doesn't exist

    Hello everyone:

    I am seeing the following SQL error in my store this morning. This is the error message I am seeing:

    1146 Table 'site_table.TABLE_CUSTOMERS_ADMIN_NOTES' doesn't exist
    in:
    [select * from TABLE_CUSTOMERS_ADMIN_NOTES where customers_id = '3822']

    I am confused by this error because I don't have a table called TABLE_CUSTOMERS_ADMIN_NOTES in my database. I'm not sure where this SQL statement is coming from. Does anyone know which PHP file might be making this call? I checked he forums and haven't been able to find anything related to this issue.

    Thank you.

  2. #2
    Join Date
    Feb 2016
    Posts
    28
    Plugin Contributions
    0

    Default Re: SQL Error

    Nevermind. I found it. Looks like it is a superorders.php issue.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: SQL Error

    It's typically located in the admin directory. Two options: install mydebug backtrace (assuming it works with ZC 1.3.9) and the access your admin again, search using tools->developers toolkit from the admin for that table name, 3) also to investigate identify who accessed your site to place (or remove the table define) the file(s) on your server...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Feb 2016
    Posts
    28
    Plugin Contributions
    0

    Default Re: SQL Error

    Hi: Thanks for the tip. I didn't know about the backtrace function. I think that will come in handy for me on some other items as well. I've upgraded my super orders to a newer version. That seems to have knocked out the issue. Very good suggestion on the security side. I should look at that too. Thanks again.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: SQL Error 1146 Table TABLE_CUSTOMERS_ADMIN_NOTES doesn't exist

    Glad it helped. Thank lat9 for developing that solution which is now included in more recent versions of ZC to which I'd recommend upgrading: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v151 upgrading error 1146 table doesn't exist
    By scottrdj in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 31 Dec 2012, 03:05 PM
  2. MYSQL error #1146 table doesn't exist - help!
    By TheKenster in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 20 Jan 2012, 01:48 PM
  3. Replies: 5
    Last Post: 10 Jun 2010, 06:56 AM
  4. 1146 Table error zenconfiguration doesn't exist
    By gayelston in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 1 Dec 2007, 10:26 PM
  5. Replies: 2
    Last Post: 31 Aug 2007, 03:34 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