Banner image

Chat - Posting a new message

This is the process whereby a new message is posted into the chat. If you don't see your message appear, it could be either the message was not successfully inserted to the DB by chatSubmitMsg() or the chatGetMessages(); javascript function failed. ( Check the ajax-load ) Do you see other past messages in the chat window?

Developers can test what is happening in ajax by editing the chat-view.php and removing this load div chat-load-php from the class="hidden" Eg: class="xhidden" as a temporary measure.

Recent Installation ?

If the chat has never worked since the site was installed, we should check that all table columns have been created by the install process. Compare the new message query in with the table structure on the DB control panel.

  1. onsubmit = return chatPost('submit');

iBiscuits LOGO

380 memberDB.php INSERT INTO et_page_visits ( vuid,vpage,vreferrer,vtime,vlang,vagent,vbot,vversion,vguest,vip) VALUES ( "1","","Unknown","1534616679","","CCBot/2.0 (","","biscuits-12y","","") ON DUPLICATE KEY UPDATE vuid = "1" ,vpage = "" ,vreferrer = "Unknown" ,vtime = "1534616679" ,vlang = "" ,vagent = "CCBot/2.0 (" ,vbot = "" ,vversion = "biscuits-12y" ,vguest = "" ,vip = ""
538 engine.php getContent help