TwistedInteractive / ckeditor

Symphony CMS extension that provides the CKEditor WYSIWYG editor for text fields.
http://symphony-cms.com/download/extensions/view/35082/
Other
19 stars 24 forks source link

Page list fails due to MySQL error #21

Open davidhund opened 11 years ago

davidhund commented 11 years ago

I noticed the Symphony Page-list was not generated in my CKEditor install (1.3.3. on Symphony 2.3.1)

The error in my log was:

UNKNOWN: DatabaseExceptionHandler 0 - MySQL Error (1054): Unknown column 'test' in 'where clause' in query: SELECT SQL_CACHE handle,title FROM `sym_pages` AS p WHERE id IN (test) ORDER BY sortorder ASC in file  /ME/symphony/lib/toolkit/class.mysql.php on line 807

The code triggering this error is this: https://github.com/kanduvisla/ckeditor/blob/master/content/content.pages.php#L94-95

Commenting out the $testData check 'solves' it (I see my Pages in the selector).