I found an issue

Sometimes, the button "Send" or the "enter" button doesn't work, so we can't send any post in the chat. But after a moment, it's working again. Do you know where the problem came from?

this chat caches nothing. so, it could be caused by many things including internet lag, server load, chat refresh times set too low, and the list goes on. as a general rule, if you see this check imagefloxx wrote:Hello,
I found an issue
Sometimes, the button "Send" or the "enter" button doesn't work, so we can't send any post in the chat. But after a moment, it's working again. Do you know where the problem came from?
Nothing is wrong, I've the checked image, but I can't send any message. You gave me the template for my style, it was working, but now it doesn't... Strange.spaceace wrote:this chat caches nothing. so, it could be caused by many things including internet lag, server load, chat refresh times set too low, and the list goes on. as a general rule, if you see this check imagefloxx wrote:Hello,
I found an issue
Sometimes, the button "Send" or the "enter" button doesn't work, so we can't send any post in the chat. But after a moment, it's working again. Do you know where the problem came from?
in the chat footer, all should be working. if you see this image
in the footer, it means it is either busy or something could be wrong
Code: Select all
<script type="text/javascript" src="{BOARD_URL}assets/javascript/jquery.min.js"></script>
old template stuff that keeps getting overlooked while working on other thingsPond Life wrote:Why is jquery included again in chat_body.html? It's already included in the core so I removedfrom chat_body.html and everything still works fine.Code: Select all
<script type="text/javascript" src="{BOARD_URL}assets/javascript/jquery.min.js"></script>
No, nothingdavid63 wrote:@floxx - do you by any change have Cloudflare (or something similar) installed on your server?
yes. i've managed to create more work for myself by having the php files check the template filesJalt91 wrote:Hi spaceace,
Very nice Extension !
I have a problem that I have to post a message . I have to go in the mode '' pop-up ' to post my message.
I read the problem was coming from my styles. is it this? I currently use the style ; WoWDraenor
thank you in advance !
If you are doing that then surely you only need to put the template in the styles/all folderspaceace wrote:on your server, create a folder for your style in the chat extension as well as a template folder for it. example
ext/spaceace/ajaxchat/styles/WoWDraenor/template
copy the ext/spaceace/ajaxchat/styles/prosilver/template/chat_body.html into your styles template folder and that is it
i've tried using the all folder for templates in the past and was informed that it was not the correct way to do it as not all styles will be the same even if they are prosilver based. i personally would really like to just use the all folderdavid63 wrote:If you are doing that then surely you only need to put the template in the styles/all folderspaceace wrote:on your server, create a folder for your style in the chat extension as well as a template folder for it. example
ext/spaceace/ajaxchat/styles/WoWDraenor/template
copy the ext/spaceace/ajaxchat/styles/prosilver/template/chat_body.html into your styles template folder and that is it
Code: Select all
Return to the index page
General Error
SQL ERROR [ mysql4 ]
Unknown column 'c.post_id' in 'on clause' [1054]
SQL
SELECT c.*, p.post_visibility, u.user_avatar, u.user_avatar_type, u.user_avatar_width, u.user_avatar_height FROM phpbb_ajax_chat as c LEFT JOIN phpbb_users as u ON c.user_id = u.user_id LEFT JOIN phpbb_posts as p ON c.post_id = p.post_id WHERE c.message_id > 0 ORDER BY c.message_id DESC LIMIT 60
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/mysql_base.php
LINE: 45
CALL: phpbb\db\driver\mysql->sql_query()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 261
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 321
CALL: phpbb\db\driver\driver->sql_query_limit()
FILE: [ROOT]/ext/spaceace/ajaxchat/event/listener.php
LINE: 297
CALL: phpbb\db\driver\factory->sql_query_limit()
FILE: (not given by php)
LINE: (not given by php)
CALL: spaceace\ajaxchat\event\listener->index()
FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 164
CALL: call_user_func()
FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 53
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
LINE: 167
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 60
CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()
FILE: [ROOT]/index.php
LINE: 198
CALL: phpbb\event\dispatcher->trigger_event()