View previous topic :: View next topic |
Author |
Message |
Sami
Joined: 09 Apr 2004 Posts: 8 Location: Finland
|
Posted: Fri Apr 09, 2004 3:33 pm Post subject: MySQL problem (userlog not working)? |
|
|
Ok, now i have made MySQL database for FS.
Users can be added and they can login and logout but log ain't working?
when i open "show users log" mysql ODBC will generate warnings;
Warning: SQL error: [MySQL][ODBC 3.51 Driver][mysqld-3.23.55-log]You have an error in your SQL syntax near 'UNION SELECT '*anonymous' as name, logintime, logouttime, duration, iporm' at line 3, SQL state 37000 in SQLExecDirect in c:\program files\firstspot\cfgmgr\userlog.php on line 63
Warning: odbc_fetch_row(): supplied argument is not a valid ODBC result resource in c:\program files\firstspot\cfgmgr\userlog.php on line 69
Any ideas?
Will this even work with MySQL v.3.23.55 |
|
Back to top |
|
|
kevin Forum facilitator
Joined: 26 Sep 2003 Posts: 442
|
Posted: Sat Apr 10, 2004 8:19 am Post subject: |
|
|
Yes, FirstSpot should work well with your MySQL v.3.23 and MySQL ODBC 3.51 Driver.
Please make sure you've created the tables exactly as specified in the manual.
~ Patronsoft Limited ~ |
|
Back to top |
|
|
Sami
Joined: 09 Apr 2004 Posts: 8 Location: Finland
|
Posted: Sat Apr 10, 2004 2:21 pm Post subject: Should be ok... |
|
|
I have double checked my tables and they seems to be ok
except most tables are missing indexes, but I assume thats ok.
In fsusrlog there is few lines in it, so logging is ok, but reading is not working. Hmm...
I will do some debugging and will report the results here... |
|
Back to top |
|
|
Sami
Joined: 09 Apr 2004 Posts: 8 Location: Finland
|
Posted: Sat Apr 10, 2004 3:48 pm Post subject: Now working... |
|
|
I did do some debugging and searched MySQL.com for help, i found out that UNION statement is added in MySQL from version 4.0.0
So I updated MySQL server software to 4.0.18 and not FS works fine. |
|
Back to top |
|
|
kevin Forum facilitator
Joined: 26 Sep 2003 Posts: 442
|
Posted: Sat Apr 10, 2004 5:13 pm Post subject: |
|
|
Hello Sami,
Thanks so much for your persistence to get the problem resolved.
Apology for the confusion!
We'll incorporate this useful information into our documentation.
~ Patronsoft Limited ~ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
Powered by phpBB © 2001, 2005 phpBB Group
| |