Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
SQL / databse error when trying to post new mes (1 viewing) (1) Guest
TOPIC: SQL / databse error when trying to post new mes
#36482
SQL / databse error when trying to post new mes 1 Year ago  
I just upgraded to 1.0.4 from 1.0.3. The forum is working fine except for the following message that I get when trying to post a new topic:

Serious db problem:You have an error in your SQL syntax near 'ON id=mesid WHERE userid=64 AND name='Glente' AND email=' This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ' AND s' at line 1 SQL=SELECT id FROM jos_fb_messages JOIN jos_fb_messages_text ON id=mesid WHERE userid=64 AND name='Glente' AND email=' This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ' AND subject='test' AND ip='213.185.22.87' AND message='test' AND time>='1198975003'
glente (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36484
Re:SQL / databse error when trying to post new mes 1 Year ago  
I had the same problem and I did 2 things to fix it. I don't know which one actually did the trick, but assume it was 2):
1) I uploaded the update files again to ensure everything got there correctly.
2) I updated the SQL DB from 3.x to 4.x
ZeroKewl (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36541
Re:SQL / databse error when trying to post new mes 1 Year ago  
I have the same problem - who can help us?
günni (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36741
Re:SQL / databse error when trying to post new mes 1 Year ago  
I cannot upgrade the DB since I don't have admin rights on the server.

I tried to uninstall FB and then do an install of the full version of FB 1.0.4.

The problem persisted...

Any ideas?
glente (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36744
Re:SQL / databse error when trying to post new mes 1 Year ago  
You will need to get acces to the database to performs a proper upgrade or clean install. There's no way around it. Perhaps you can install a component in Joomla that will allow it. EasySQL comes to mind first. There are others. Check extentions.joomla.org.
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
 
#36779
Re:SQL / databse error when trying to post new mes 1 Year ago  
Hi, I just did a clean install of Joomla 1.3 and the Firebird 1.4 and is getting the same error. Where do I look?
Leo51 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36781
Re:SQL / databse error when trying to post new mes 1 Year ago  
OK, I uninstall 1.4 install 1.3 and all is well. Will just stay with 1.3 unless you guys believe its necessary to upgrade
Leo51 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36863
Re:SQL / databse error when trying to post new mes 1 Year ago  
I think this problem can be found with older version of MySQL DB then 4.x

I solved this problem in /components/com_fireboard/template/default/post.php on line 220 :
modify in SQL query JOIN to LEFT JOIN

$database->setQuery("SELECT id FROM #__fb_messages LEFT JOIN #__fb_messages_text ON id=mesid WHERE userid={$my->id} AND name='$fb_authorname' AND email='$email' AND subject='$subject' AND ip='$ip' AND message='$message' AND time>='$duplicatetimewindow'";

I tested it on multiple sites and it seems to be working good
fishmaker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Czech Republic Birthdate: 1981-04-11
Logged Logged
 
Last Edit: 2008/01/03 03:13 By fishmaker.
 
 
#37032
Re:SQL / databse error when trying to post new mes 1 Year ago  
perfect! that did it for me. Just had to figure out that i should not search for "SQL JOIN" on line 220, but just for "JOIN"

thx a million!
glente (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#37042
Re:SQL / databse error when trying to post new mes 1 Year ago  
I'm happy that's working also for others
fishmaker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Czech Republic Birthdate: 1981-04-11
Logged Logged
 
 
Go to top