cake-php@googlegroups.com
[Top] [All Lists]

Mysql 1064 error

Subject: Mysql 1064 error
From: blue_negative
Date: Wed, 27 Apr 2011 12:28:08 -0700 PDT
Hi,

I am using Cake 1.3.8 and get a Mysql error code 1064. Following is
the details in debug mode
Query: check
Error: 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 '' at line 1

The associated mode has following relationships:
4 hasMany
1 belongsTo
1 HBTM

Its seems that the it is generating a sql query "Check" and hence it
is throwing the error. The interesting part is it does not generate
this "check: query for my other mode.

Please let me know if I am doing something wrong. Let me know if any
additional information if required.

Regards
James

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php

<Prev in Thread] Current Thread [Next in Thread>