Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    error for email button in admin

    WE are having some difficulty in the admin although our emails seem to be processing fine for the customers orders when we go to a customer and click on the email button we see this:

    "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 ':admin_id' at line 1
    in:
    [select 'ADMIN' as customers_firstname, admin_name as customers_lastname, admin_email as customers_email_address from admin where admin_id = $SESSION:admin_id ]
    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."

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

    Default Re: error for email button in admin

    This is an indicator that your /includes/functions/audience.php is not fully up-to-date after an upgrade.
    .

    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 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Re: error for email button in admin

    How would I do that?

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

    Default Re: error for email button in admin

    Upload the version of the file suitable to your version of Zen Cart.

    If you're using v1.3.0.2, then upload that file from the v1.3.0.2 zip.
    .

    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 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: error for email button in admin

    That seems to have fixed it. I guess I overlooked uploading that file after upgrading to 1.3.0.2

    Thanks much. Cart working famously, by the way. Will contribute to your great efforts here as we can and as we go.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 27 Jul 2009, 12:22 PM
  2. error on email page in admin
    By paulFromWales in forum General Questions
    Replies: 0
    Last Post: 19 Sep 2008, 10:21 AM
  3. Admin Email Error
    By divaboutiques in forum General Questions
    Replies: 0
    Last Post: 12 Mar 2007, 10:10 PM
  4. Sql error when email button selected in Coupons
    By Ryk in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 9
    Last Post: 6 Oct 2006, 05:29 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