jan64 Posted May 13, 2009 Posted May 13, 2009 Hi, I have this great contri tryed to install but i get an error and i have no idea what to do. When i will go to a customer are all the fields blanc adn i get this message at the top of my page. 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 'limit 0, 12' at line 1 select c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_email_address, a.entry_country_id, c.customers_private_messages from customers c left join address_book a on c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id order by limit 0, 12 Can someone tell me what this means? i am not really an SQL expert :blush: Thanks! Regards, Jan Dreams can come true, if you help them a littlebit
FIMBLE Posted May 13, 2009 Posted May 13, 2009 which contribution is it? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
♥geoffreywalton Posted May 13, 2009 Posted May 13, 2009 select c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_email_address, a.entry_country_id, c.customers_private_messages from customers c left join address_book a on c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id order by limit 0, 12 Try changing it to something like order by c.customers_lastname limit 0, 12 Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
jan64 Posted May 13, 2009 Author Posted May 13, 2009 which contribution is it?Nic Register A-Z im admin-customer: http://www.oscommerce.com/community/contri...+admin-customer Dreams can come true, if you help them a littlebit
jan64 Posted May 13, 2009 Author Posted May 13, 2009 Try changing it to something like order by c.customers_lastname limit 0, 12 Hi thanks for your help, i'll try it out. Dreams can come true, if you help them a littlebit
jan64 Posted May 13, 2009 Author Posted May 13, 2009 Hi thanks for your help, i'll try it out. I have really no idea where i must change this. These lines: select c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_email_address, a.entry_country_id, c.customers_private_messages from customers c left join address_book a on c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id order by limit 0, 12 are not a peace of code. :blink: I can't find "limit" in customers.php Dreams can come true, if you help them a littlebit
Recommended Posts
Archived
This topic is now archived and is closed to further replies.