news wrong. Zenphoto encountered an error.

http://seesse.com/zenphoto/index.php?p=news

Zenphoto encountered an error
MySQL 查詢 ( SELECT COUNT(*) FROM `zp_comments` WHERE `type`='news' AND `inmoderation`=0 AND `private`=0 AND `ownerid`= ) 失敗. MySQL 回報的錯誤 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

Comments

  • What were you doing when this happened? You might also try a database refresh.
  • I think when I import wordpress data resulting data is in Chinese.
    I deleted all the news but I still can not.
    Refresh database
    Entered into the database empty zp_comments.
    All of these will not work so I'll post the.

    Want to import wordpress to choose character encoding device.
  • acrylian Administrator, Developer
    So you use the wordpress import utility? I am not sure if I understand. The data is in Chinese, right?
    Are both databases set to the same encoding in tables and fields?
    Are the databases on the same server or different ones?
    Or is it the same database?
    Are there any errors when importing and if which?
    What Zenphoto release?
  • yes i use the wordpress import utility.
    the data is in chinese.
    i use utf-8.
    same database.
    imported Chinese characters display as "?",Should be a character encoding problem.
    i don't konw release mean.

    Also zenphoto do not support Chinese file name .
  • acrylian Administrator, Developer
    i don't konw release mean.
    The version is printed on the footer of the backend and also in the source of your theme. Without that info we can't help. It should be at least 1.3.1.2.
    Also zenphoto do not support Chinese file name
    If you can use file or folder names with special characters like Chinese is a server thing. Even in German in Germany I can't use some special characters.

    The import issue is surely encoding related. Encoding stuff is complicated because there are serveral places that can use different ones. It might be that your server internally does not use UTF-8 thus the wrong characters. You should check if your server has the mbstring extensions.

    Best you contact your host about that.
Sign In or Register to comment.