mchat_install.php returns error

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
Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 06 Jul 2014, 12:50

I have trouble installing mchat v. 1.3.8 on PHPBB 3.0.12 Have used auto mod for instalation.

BTW: other mods have installed without any problems with auto mod so obviously it's problem with mchat.

First step goes ok without any problems, when it comes to second step where additional outside editing starts installation returns error 403 access denied and it stops there with link to mchat_install.php displayed in browser. Have checked file permissions and they're set to 755 so there shouldn't be any problems with permissions to that file.


http://prntscr.com/3x6mb9

As you can see everything installed well, but after clicking on external installer in this case mchat_install.php I'm getting blank page and error 403 access denied. Obviously there is something with access to some files, but cannot find anything in that file...

Please help... :(

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_install.php returns error

Postby RMcGirr83 » 06 Jul 2014, 13:36

Link to the forum

Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 06 Jul 2014, 13:41

http://www.slovaper.eu

..it will open portal first, so just change portal.php into index.php

...thank you for your help

:)

BTW: Will buy you beer after... :beer:

Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 06 Jul 2014, 14:57

That's the screen I'm getting while running mchat_install.php...

http://prntscr.com/3zy3uu

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_install.php returns error

Postby RMcGirr83 » 06 Jul 2014, 15:56

Not sure...did you upload the language file into the language of your forum? Do you have an .htaccess file within the root of the forum? Have you in the past installed any mods that require an install file similar to the one within mchat? Last bit of advice would be to contact your host to see if they can find the issue.

Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 06 Jul 2014, 19:52

Have .htaccess file within the root, beside english language I've only installed offical slovenian language pack for phpbb3... Here's screenshot...

http://prntscr.com/40121f

Only mod I'm using is portal and it have used install directory for installation....

https://www.phpbb.com/customise/db/view ... l/id_61231

... and had same issue before installing portal mod, so it's not the cause... :sweat:

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_install.php returns error

Postby RMcGirr83 » 06 Jul 2014, 21:12

Sorry no idea ask your host. They may not allow php based chats.

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_install.php returns error

Postby RMcGirr83 » 08 Jul 2014, 17:57

I assume that the issue is resolved?

Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 14 Jul 2014, 17:45

Just wanted to let you know... it was server restriction... now I've moved site to new server and installed smoothly... Thank you for your help... :beer:

...could use little help with custom style on my site...

have edited... stylesheet.css with and added import url... have copied custom mchat.css into theme directory... I'm using Cynthia theme so I've used the one for dark theme...

...and still cannot post anything in mchat...

have created custom account if someone is willing to check and help...

http://www.slovaper.eu

user: guestu
password: guestu

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_install.php returns error

Postby RMcGirr83 » 14 Jul 2014, 18:13

You also have to do the edits to the style as the mod has you do for prosilver. For example you are missing stuffs within overall_header.html. Concerning css stuff, you need to refresh the styles theme in the ACP to get it to load correctly as well as CTRL + F5 your browser to load the css within your browser.

Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 14 Jul 2014, 18:18

ok thank you... will try find which modifications was made in prosilver... :)

...is there easy way to do this... I mean someone must have custom installation file edits written somewhere? :sweat:

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_install.php returns error

Postby RMcGirr83 » 14 Jul 2014, 18:33

Open the install xml file from the mod in your browser and you will see all the edits that are needed...or if using automod click on the details link of the mod, scroll to the bottom of the page and apply prosilver to your style.

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

Re: mchat_install.php returns error

Postby Sniper_E » 14 Jul 2014, 18:38

Yes, the mchat download has the install instructions in it.
After extracting the files look for the install.xml file.
Open that file with your web browser.

If you installed mchat with automod for prosilver you can go in automod in your ACP and click Details.
Down at the bottom select - Apply these changes [prosilver] to this template [Cynthia]
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

Cforcer
New member
New member
Posts: 8
Joined: 06 Jul 2014, 12:48
[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_install.php returns error

Postby Cforcer » 14 Jul 2014, 18:55


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_install.php returns error

Postby RMcGirr83 » 14 Jul 2014, 18:57

***sigh*** Let me try it this way

YOU HAVE TO REFRESH THE STYLES THEME IN THE ACP

and the mod is working fine.


[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 7 guests