Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default Warning: constant(): Couldn't find constant TABLE_SUBSCRIBERS in ...

    removed newletter subscribe only, and reinstalled it then I couldn't sent emails to any customers. Totaly removed the files and backuped org files and now I cant even get to the send email screen it reads:

    Warning: constant() [function.constant]: Couldn't find constant TABLE_SUBSCRIBERS in /home4/MYDATABASE/public_html/includes/functions/audience.php on line 113

    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 'WHERE email_format != 'NONE' and confirmed = 1 and (customers_id IS NULL or cust' at line 1
    in:
    [SELECT email_address as customers_email_address FROM WHERE email_format != 'NONE' and confirmed = 1 and (customers_id IS NULL or customers_id = 0) order by email_address ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    searched my database using myphpAdmin and removed some table that pointed to this mod but still getting this error before and after i touched the database.

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

    Default Re: Problems sending emails from admin: Notice: FAILED to send Email to all recipient

    Quote Originally Posted by ryanb4614 View Post
    removed newletter subscribe only, and reinstalled it then I couldn't sent emails to any customers. Totaly removed the files and backuped org files and now I cant even get to the send email screen it reads:

    Warning: constant() [function.constant]: Couldn't find constant TABLE_SUBSCRIBERS in /home4/MYDATABASE/public_html/includes/functions/audience.php on line 113
    The mod you said you removed has made a change to the queries in the query_builder table, adding a reference to the TABLE_SUBSCRIBERS table which you removed from your database.
    You'll need to put back the original record for that record in the database.
    .

    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
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default Re: Warning: constant(): Couldn't find constant TABLE_SUBSCRIBERS in ...

    Got it !! Thanks in the database: query_builder table.... There was still Netlwetter_subcribersonly left in there removed it a presto it works !! thanks!

  4. #4
    Join Date
    Oct 2009
    Location
    Bronx, NY
    Posts
    22
    Plugin Contributions
    0

    Default Re: Warning: constant(): Couldn't find constant TABLE_SUBSCRIBERS in ...

    old post, but it worked for me as well. I removed the Newsletter Subscribers Only module a couple weeks ago in favor of a different mailing system, ran into the error above.

    Removing the Subscribers Only reference in the zen_query_builder table fixed it. Thanks guys!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 2 Feb 2014, 04:45 PM
  2. Couldn't find constant TABLE_SUBSCRIBERS
    By TnTwMom in forum General Questions
    Replies: 0
    Last Post: 24 Oct 2009, 08:38 PM
  3. Couldn't find constant TABLE_SUBSCRIBERS
    By monkeytastic in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 14 Mar 2007, 03:51 PM
  4. err: Warning: constant(): Couldn't find constant MODULE_SHIPPING_MZMT_GEOZONE_7_TEXT_
    By ginginca in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Mar 2007, 07:19 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