NOTE: upgrading to v1.3.5 is of course suggested strongly ...
NOTE: upgrading to v1.3.5 is of course suggested strongly ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
As it will be, but I can't do everyone at once!!Originally Posted by Ajeh
![]()
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Same issue here it seems:Trying to e-mail form customers.php . I have this problem on 1.3.5 (upgraded formolder version) and 1.3.0.1 (but that one is in the middle of an upgrade, and uses a 1.3.5 database so that could be the problem there).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.
Both on:
Server OS: Linux 2.6.17-1.2142_FC4 Database: MySQL 4.1.12-standard
PHP versie: 4.4.2 (Zend versie: 1.3.0)
HTTP Server: Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7f PHP/4.4.2 mod_perl/1.29 FrontPage/5.0.2.2510
Hmmmm... a clean 1.3.5 install on the same server does not have this problem :-o
Weird: $SESSION ?
Shouldn't that be $_SESSION ? Or is that coming from elsewhere? (I see this in the error message: "where admin_id = $SESSION:admin_id")
The sql upgrade from 1301 to 1302 shows:Is that correct?# add ability to send newsletters to self
INSERT INTO query_builder ( query_category , query_name , query_description , query_string ) VALUES ('email,newsletters', 'Administrator', 'Just the email account of the current administrator', 'select \'ADMIN\' as customers_firstname, admin_name as customers_lastname, admin_email as customers_email_address from TABLE_ADMIN where admin_id = $SESSION:admin_id');
your includes/functions/audience.php is not up-to-date.
.
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.