Member
Member
code   2009-02-09, 10:59
#1

`
Zenphoto Error
MySQL Query ( SELECT COUNT(*) FROM [code]comments[/code] WHERE [code]type[/code]='news' AND [code]inmoderation[/code]=0 AND [code]private[/code]=0 AND [code]ownerid[/code]= ) 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 [722])
in ZenpageNews->getCommentCount (template-functions.php [2766])
in getCommentCount (index.php [51])
in include (index.php [118])
`
PHP version 5.2.8
MySQL version 5.0.67-community-log

Received error after updating zenphoto and zenpage from...i dunno, a few weeks old, maybe even a month or two...

Administrator
Administrator
acrylian   2009-02-09, 11:10
#2

I've seen that error before but it was not really reproducable. Please try the nightly there has been some fixing on comments recently. Maybe that solves it.

Member
Member
code   2009-02-10, 00:22
#3

okie dokie

Member
Member
code   2009-02-10, 08:26
#4

My website worked fine in 1.1 I dont remember what build number I had...

I have version 1.2.3 [3469]

I dont know if this matters but:
http://domain.com/zp-core/admin-comments.php
Has no errors....

Administrator
Administrator
acrylian   2009-02-10, 10:15
#5

I think this is a hiccup in the system..:-) Or do you get that frequently?

Member
Member
code   2009-02-11, 10:02
#6

hiccup in what system? get what frequently? the error? I only got it since I updated to latest from 1.1

Administrator
Administrator
acrylian   2009-02-11, 10:31
#7

Hiccup in everything..:-) Sometimes the browser cache plays tricks or the server cache. I actually just wanted to know if you got that error once or everytime in relation with comments.

Member
Member
code   2009-02-12, 07:23
#8

I still get the error on the main page, but comments are viewable in the admin panel

Administrator
Administrator
acrylian   2009-02-12, 12:15
#9

Hm, I have currently no idea as I don't see the error right now.

Member
Member
code   2009-02-13, 10:13
#10

I tried a fresh install and its fixed...I think I forgot to delete the files b4 updating... Sorry

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.