I purchased a script that uses cake and i cannot seem to get any
support from the person whom I got it from.  SOOO...Here is the
error(s) that I seem to be receiving:

Warning (512): SQL 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 [CORE/cake/libs/model/
datasources/dbo_source.php, line 521]
Code | Context
DboSource::showQuery() - CORE/cake/libs/model/datasources/
dbo_source.php, line 521
DboSource::execute() - CORE/cake/libs/model/datasources/
dbo_source.php, line 208
DboSource::fetchAll() - CORE/cake/libs/model/datasources/
dbo_source.php, line 344
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php,
line 228
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/
dbo_mysql.php, line 192
Model::schema() - CORE/cake/libs/model/model.php, line 832
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php,
line 1652
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php,
line 618
Model::find() - CORE/cake/libs/model/model.php, line 1822
PagesController::getpages() - APP/controllers/pages_controller.php,
line 61
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
Object::requestAction() - CORE/cake/libs/object.php, line 99
include - APP/views/elements/menu_top.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 654
View::element() - CORE/cake/libs/view/view.php, line 339
Query: DESCRIBE

I have tracked it back to the function describe in dbo_mysql.php and
am guessing that the following line:

$this->fullTableName($model)

produces a blank or null result.  How can I fix this?  I am a novice
with php but can follow instructions fairly well.  If you need more
info, I will be happy to provide it.

Thanks in advance!!

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to