Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2005
    Posts
    43
    Plugin Contributions
    0

    bug send gift cert error after uninstalling newsletter-subscribe addon

    I get the following error when i open up send gift certificate in admin.

    Warning: constant() [function.constant]: Couldn't find constant TABLE_SUBSCRIBERS in /home/16621/silverqueen/www.truthcharmjewellery.com/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.



    I don't fully understand whats going on here

    The version is Zen Cart 1.3.8a
    Patch: 1::
    Database Patch Level: 1.3.8

    I had subscribers module installed but removed it
    Any help would be appreciated

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

    Default Re: send gift cert error after uninstalling newsletter-subscribe addon

    Quote Originally Posted by ian healy View Post
    I had subscribers module installed but removed it
    That addon adds a record to the query_builder table in the database for its own use. Unfortunately, whatever steps you took to remove the addon didn't include cleaning up that entry which refers to the TABLE_SUBSCRIBE which no longer exists since you removed pieces of the addon.
    .

    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 2005
    Posts
    43
    Plugin Contributions
    0

    help question Re: send gift cert error after uninstalling newsletter-subscribe addon

    Hi, thanks for that. but what can i do to rectify it now? or get the gift cert send facility working again.

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

    Default Re: send gift cert error after uninstalling newsletter-subscribe addon

    I'm not sure if the addon you removed has uninstall instructions that tell you how to fix that problem. It should.
    If not, use phpMyAdmin to delete the offending record. BE SURE TO DO A FULL DATABASE BACKUP FIRST since phpMyAdmin is letting you edit raw database content without any safeties.
    .

    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.

  5. #5
    Join Date
    Feb 2005
    Posts
    43
    Plugin Contributions
    0

    help question Re: send gift cert error after uninstalling newsletter-subscribe addon

    what exactly will the offending data be or say?

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

    Default Re: send gift cert error after uninstalling newsletter-subscribe addon

    I would venture to say it will refer to TABLE_SUBSCRIBERS or something like that.
    Sorry, it's been years since I used that addon. It's all a bit foggy.
    .

    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.

  7. #7
    Join Date
    Feb 2005
    Posts
    43
    Plugin Contributions
    0

    Default Re: send gift cert error after uninstalling newsletter-subscribe addon

    Drbyte, superb that seems to have worked, i closed my eyes when i hit delete for the query in the database, i did back up

 

 

Similar Threads

  1. v139h 1064 database error after installing newsletter subscribe module
    By joanna7284 in forum Customization from the Admin
    Replies: 1
    Last Post: 21 Jul 2012, 03:37 AM
  2. Replies: 1
    Last Post: 21 Apr 2011, 05:49 PM
  3. No coupon-emails are send after installing newsletter subscribe addon
    By Robbie_79 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 3 Jun 2010, 07:34 PM
  4. Error after submission - newsletter subscribe
    By Tonyy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 Feb 2010, 08:57 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