mChat installed via AutoMOD issues

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
justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 25 Jun 2014, 19:17

Alright,

So I've installed everything correctly. I followed the tutorial. It's still not showing up on my forum though. I refreshed the theme, deleted cache, etc. Still nothing :(

http://www.forums.projecthorizongaming.com

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 installed via AutoMOD issues

Postby RMcGirr83 » 25 Jun 2014, 21:11

How did you install the mod?

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 25 Jun 2014, 21:14

Using AutoMOD. I installed it through there, deleted the install.php file, and did everything else.

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 installed via AutoMOD issues

Postby RMcGirr83 » 25 Jun 2014, 21:28

Did you run the install file prior to deleting it? Did you apply the edits for the mod onto your style?

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 25 Jun 2014, 21:31

I did run the install file before deleting it, and the edits such as? Could I be missing something?

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 installed via AutoMOD issues

Postby RMcGirr83 » 25 Jun 2014, 21:38

Within automod click on the details link of the mod and scroll to the bottom of the page.

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 25 Jun 2014, 21:44

and look for what?

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 25 Jun 2014, 21:46

I'm getting this now

One or more install actions failed. Please review the actions below, make any adjustments and retry. You may continue with the installation even though some of the actions failed. This is not recommended and may cause your board to not function correctly.

Add Before

<!-- INCLUDE mchat_stats.html -->

The Find specified by the MOD could not be found

Add After

<!-- IF S_MCHAT_ENABLE and U_MCHAT -->&nbsp; &nbsp;<a href="{U_MCHAT}#mChat"><img src="{T_THEME_PATH}/images/icon_mini_groups.gif" width="12" height="13" alt="{L_MCHAT_TITLE}" /> {L_MCHAT_TITLE}</a><!-- ENDIF -->

The Find specified by the MOD could not be found

Add Before

@import url("mchat.css");

The Find specified by the MOD could not be found

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 26 Jun 2014, 00:01

Tried it with prosilver, and got this instead


styles/SE_Gamer/template/editor.js
No changes can be made to this file because the template SE_Gamer depends on prosilver.
styles/SE_Gamer/template/overall_header.html
Find

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>

Add After

<!-- IF S_MCHAT_ENABLE and U_MCHAT --><li class="icon-bump"><a href="{U_MCHAT}#mChat" title="{L_MCHAT_TITLE}">{L_MCHAT_TITLE}</a></li><!-- ENDIF -->

The Find specified by the MOD could not be found

User avatar
Sniper_E
MOD Team
MOD Team
Posts: 591
Joined: 13 Jun 2011, 16:53
Location: Shreveport, LA
Contact:

Re: mChat installed via AutoMOD issues

Postby Sniper_E » 26 Jun 2014, 00:45

When you use automod and it can not find, you have to manually make those edits listed after you Force the install.
You can open the install.xml file with your browser to see the edits automod did not find..
And templates that are inherited by prosilver, automod could make two edits in those inherited templates.

You can copy templates automod edited over, open and look, edit, copy them back and refresh your templates.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 26 Jun 2014, 00:52

So where would I manually place these edits? and what would I put in? Just the code above?

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 installed via AutoMOD issues

Postby RMcGirr83 » 26 Jun 2014, 01:52

Yes, exactly. This is part of the problem with custom styles that do not inherit from prosilver. What it is telling you it can't find is a simple link to the custom page...the mod should be working on SE_Gamer without that edit.

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 26 Jun 2014, 01:59

Then what do you think the problem is? And how can I correct it? Better yet, where do I go to correct it? Unless you can just do it for me, but I don't know if you can.

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 26 Jun 2014, 02:23

Okay, so I have it working now, but I go to post, and it says this

Fatal error: Call to undefined function mb_ereg_replace() in /home/dethroat/public_html/forums/mchat.php on line 376

you should be able to see it to if you're following along

justinbeatdown
New member
New member
Posts: 20
Joined: 25 Jun 2014, 19:14
[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 installed via AutoMOD issues

Postby justinbeatdown » 26 Jun 2014, 02:24

Now my whole forum is down and I get this

Fatal error: Call to undefined function mb_ereg_replace() in /home/dethroat/public_html/forums/mchat.php on line 875


[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: Bing [Bot] and 11 guests