mChat, Primetime & index page

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

mChat, Primetime & index page

Postby ppb » 05 Jun 2010, 12:06

I have installed mChat and it works fine. However, it doesn't show on the index page. It's not a surprise for me, as I have also installed the Primetime mod, which does a lot of modifications to the index page. Several other index page mods didn't work on my board too, but I managed to fix them somehow. The only one that still causes problems is mChat. So the question is: how to make it working on any page, assuming that I already have got the HTML template and the PHP file that loads that template?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 05 Jun 2010, 12:08

Can you post a link to your forum (use eg, http://whateverDOTcom)

ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 05 Jun 2010, 17:16


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 06 Jun 2010, 13:00

Did you have a read of [url=http://www.mylatterdays.com/index.php?i=content&mode=articles&t=936&sid=b4edf7b5b4a88a6a7d00abefadd651e2]this[/url] at the authors site?

ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 06 Jun 2010, 15:32

Yes I did. It didn't helped me with mChat, though :).

ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 10 Jun 2010, 16:51


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 10 Jun 2010, 17:03

Sorry, I have no idea how the primetime thing works. I would suggest you seek help from Blitze.

ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 10 Jun 2010, 19:26


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 11 Jun 2010, 00:56


ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 13 Jun 2010, 08:06

I followed your advice, but haven't received any reply so far. That's why I wanted to avoid asking Primetime author for help.

So, could you tell me where and how should S_MCHAT_ENABLE symbol be normally (i.e. when mChat is installed over a "fresh" phpBB, no other mods) defined?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 13 Jun 2010, 09:32

It is defined with the includes/functions.php edit

ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 13 Jun 2010, 11:56


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 13 Jun 2010, 12:07

Again, I haven't a clue as I don't use the primetime mod and have no idea what files it uses. Is the mod active on the main page of the forum? If so then you must be missing an edit to one of the primetime mod files.

ppb
New member
New member
Posts: 9
Joined: 05 Jun 2010, 10:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby ppb » 13 Jun 2010, 16:23


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: mChat, Primetime & index page

Postby RMcGirr83 » 13 Jun 2010, 17:39

I really do not have the time to try and guess at what is going on, you may want to check this FAQ entry at phpBB.com to see if any entries in there may help.

http://www.phpbb.com/customise/db/mod/m ... 17#details

..and the mode is generated from within the mchat_ajax.js file.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 55 guests