Ajax Chat

update to 3.3 - Ajax Chat

Re: update to 3.3

by saltymichael » Sun Apr 05, 2020 7:48 pm

thanks
saltymichael
Registered User
Posts: 34
Joined: Fri Apr 03, 2020 5:06 pm

Re: update to 3.3

by successlessness » Fri Nov 20, 2020 8:23 am

spaceace wrote:quick fix for the links not showing in navbar...

open board_root\ext\spaceace\ajaxchat\event\listener.php

find around line 104

Code: Select all

		$this->is_phpbb32	= phpbb_version_compare($config['version'], '3.2.0@dev', '>=') && phpbb_version_compare($config['version'], '3.3.0@dev', '<');
replace with

Code: Select all

		$this->is_phpbb32	= phpbb_version_compare($config['version'], '3.2.0@dev', '>=') && phpbb_version_compare($config['version'], '4.0.0@dev', '<');
purger board and browser cache and they should display again
Hi Spaceace, thanks for providing this fix for the navbar. I followed the instructions, changed the line and also purged the cache, but the chat center is still not showing up. I am on 3.3.2 with PHP 7.3.23. Is there anything else i have to take into account? The version of ajax chat is 3.0.26.

Thanks in advance.
successlessness
Registered User
Posts: 1
Joined: Fri Nov 20, 2020 8:19 am

Re: update to 3.3

by php-bb3-user » Tue Mar 29, 2022 1:39 pm

Update from PHP 7.4 to 8 produces these lines:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 467: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 471: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 475: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 484: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 818: Trying to access array offset on value of type bool
What does it mean?
In this particular file I read something about 'get_status' of 'anonymous' user, but don't know what to do next.
Besides of put PHP back to 7.4, is there something else I can do to solve this?
Assumption causes many times lots of trouble.
php-bb3-user
Registered User
Posts: 73
Joined: Wed Mar 19, 2014 1:16 pm

Re: update to 3.3

by null2 » Fri Dec 09, 2022 11:32 pm

php-bb3-user wrote:Update from PHP 7.4 to 8 produces these lines:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 467: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 471: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 475: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 484: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/event/listener.php on line 818: Trying to access array offset on value of type bool
What does it mean?
In this particular file I read something about 'get_status' of 'anonymous' user, but don't know what to do next.
Besides of put PHP back to 7.4, is there something else I can do to solve this?
Same thing here. Any solution?
Sorry for my bad english. I'm from USA.
User avatar
null2
Registered User
Posts: 522
Joined: Wed Jan 20, 2010 11:03 am