Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support A lot of problem in SQL request
Link14
Posted on 11 May 2010, 19:01:37

Access: Member
Total Posts: 1
Joined: 2010-05-11

Hello

I found your news script with google and it seems to be all I want.

But after install, I've got a lot of problem with the SQL request. I don't know why.

I can't add a news. The SQL Error said that there is an error.
SELECT name, id FROM news30_cats WHERE id in () ORDER BY name

As you see, the problem is because there is nothing in ( ). I found how to avoid this problem by removing the WHERE condition. (function.php file)

But when I want to add a news, it says
Error: Query was empty
Statement:
Arguments:

And nothing else !
I don't understand why !
I can create categories, can modify options... but there is a problem why the news.

I try with MySQL and MySQLI option during the install but it is the same problem !

That's so frustrating. I really want to use your news system :new_undecided:

Thank you very much !


EDIT : New problem
Warning: unserialize() expects parameter 1 to be string, array given in /news/functions.php on line 337 is written in place of the menu O.o I did nothing !

FINAL EDIT : It seems to be working now. The problem is about the session cookie, after creating a new category. I have to delete the cookie, re log-in and it's ok. I'm using Google Chrome.

Hope that experience will be usefull for someone.
#2280
Last edited by Link14 at 2010-05-11 20:15:11 Reason:
Chris
Posted on 23 May 2010, 16:30:33

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Thanks, I've made this into a bug report that I'll make sure to fix in the next version.

http://code.google.com/p/n-13news/issues/detail?id=60
#2300
Network-13.com © 2013