ZenphotoThe simpler media website CMS
commentsWHERE type IN ("images","_images","textobjects","videos"' AND ownerid=17 ) failed. Error: 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 '' AND ownerid=17' at line 1
Comments
uplaoded zenphoto, uploaded zenpage, installed both (via webpage), when going to the index page, it shows this stupid old error again:
`
Zenphoto Error
MySQL Query ( SELECT COUNT(*) FROM `comments` WHERE `type`='news' AND `inmoderation`=0 AND `private`=0 AND `ownerid`= ) failed. Error: 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
Backtrace:
in query (functions-db.php [101])
in query_single_row (zenpage-class-news.php [716])
in ZenpageNews->getCommentCount (template-functions.php [2766])
in getCommentCount (index.php [51])
in include (index.php [116])
``
Okay im starting to get angry...
I deleted everything, backed the DB up, deleted everything except /backup/ and /album/ and re-installed everything, i had some problems along the way as the installs didnt work, i had to manually navigate to them. Anyways I get the same problem!
`
Zenphoto Error
MySQL Query ( SELECT COUNT(*) FROM
zp_commentsWHEREtype='news' ANDinmoderation=0 ANDprivate=0 ANDownerid= ) failed. Error: 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 1Backtrace:
in query (functions-db.php [101])
in query_single_row (zenpage-class-news.php [716])
in ZenpageNews->getCommentCount (template-functions.php [2766])
in getCommentCount (index.php [51])
in include (index.php [116])
`