FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » SQL error at first loading everytime
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
SQL error at first loading everytime [message #33650] Mon, 11 September 2006 19:12 Go to next message
djechelon is currently offline  djechelon   Italy
Messages: 46
Registered: July 2005
Karma: 0
Member
add to buddy list
ignore all messages by this user
Hi,
I noticed that FUDforum behaves strangely. I upgraded 2.7.6 to 2.7.6RC1 on http://phpmybittorrent.com/forum which is powered by SourceForge.net. I experienced the same error before upgrade.

When I try to connect for the first time in a session to the Forum I get an SQL error.
The error message is

Fatal error: SQL Error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /tmp/persistent/phpmybittorrent/Forumdata/include/core.inc on line 189


The error log entry is
(/tmp/persistent/phpmybittorrent/Forum/index.php:76
/tmp/persistent/phpmybittorrent/Forum/index.php:304
/tmp/persistent/phpmybittorrent/Forum/theme/default/index.php:35
/tmp/persistent/phpmybittorrent/Forum/index.php:1177
) 1064: 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
Query: UPDATE fud26_ses SET sys_id='38c001cc17b4929fcce24873d9b6c398', forum_id=0, time_sec=1158016199, action='Browsing the <a href=\"index.php?t=index\">forum list</a>', returnto='' WHERE id=
Server Version: 4.1.21-standard



What can I do about that? Refreshing the error page makes forum work fine.
Re: SQL error at first loading everytime [message #33661 is a reply to message #33650] Tue, 12 September 2006 10:37 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
This is fixed in RC2 of 2.7.6

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: list insert window size issue
Next Topic: urlencoding in some titles
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 17 16:17:23 EST 2017

Total time taken to generate the page: 0.00645 seconds