Page 1 of 2

Portalview conflict with mChat

Posted: 10. June 2010 18:43
by ReconMarine
Marc

http://www.forums.constructionjobsolutions.com

The forum was running perfect and portalview operated as it should. I installed mChat and the following issues have happened:

1. the custom page says it is disabled when you try to open it even though it is in fact NOT disabled in the configuration page.

2. the mchat has interfered with my portal being displayed on ALL pages of my forums, since I added the mchat, my portalview mod has stopped working properly.

3. the refresh time is not working, the time does not count down and the chat does not refresh.

4. the chat page does not show up on the index page, it only shows the place where it would be and a title link, however the timer does refresh, any clue about that?

Thanks again so much

I know the mChat is not yours, but I thought you might be able to tell me where the conflict is at between the two.

Thanks bro

Re: Portalview conflict with mChat

Posted: 10. June 2010 20:21
by Marc
Please enable debug in your config.php.

Re: Portalview conflict with mChat

Posted: 10. June 2010 20:39
by ReconMarine
debug or debug_extra?

debug has been activated

Re: Portalview conflict with mChat

Posted: 10. June 2010 22:02
by Marc
And now error appears?

I would really suggest you ask the author of mChat. Have you already checked if you did all edits correctly?

Re: Portalview conflict with mChat

Posted: 10. June 2010 23:43
by ReconMarine
Yes RM and I have been talking about it since yesterday.

Also what error, and where would I be looking for it? because I did not see where enabling the debug did anything.

Re: Portalview conflict with mChat

Posted: 10. June 2010 23:50
by ReconMarine
amazing,......

He claims it is your stuff that is breaking his stuff.

You claim it is his stuff breaking your stuff.......

Toyota, and British Patrolium.....

I just want my website to work right again. I do not care who's fault it was, or was not.

All I did was ask for someone with a better understanding of the code to look at it and see if they recognized where the conflict was.

Re: Portalview conflict with mChat

Posted: 11. June 2010 00:41
by Marc
Did you use my instructions on how to integrate mChat into the Portal?

If yes, open portal/block/additional_blocks.php
Find:

Code: Select all

define('MCHAT_INCLUDE', true);
$mchat_include_index = true;
include($phpbb_root_path . 'mchat.' . $phpEx);
Replace with:

Code: Select all

if(!defined('MCHAT_INCLUDE'))
{
	define('MCHAT_INCLUDE', true);
}
if(!function_exists('mchat_obtain_guest_count'))
{
	$mchat_include_index = true;
	include($phpbb_root_path . 'mchat.' . $phpEx);
}

Re: Portalview conflict with mChat

Posted: 11. June 2010 02:04
by ReconMarine
I did that brother,...

I am done with it, and have removed it. I will find an alternative solution.

Thanks anyway, but this has gone on for 48 hours, and that forum needs to be active and operational.

Semper Fi

Re: Portalview conflict with mChat

Posted: 11. June 2010 11:55
by Marc
Well I can tell you one thing. I tested mChat with Board3 Portal 1.0.5, phpBB 3.0.7-PL1 and the Portalview MOD and guess what? It worked without any issues.
I don't know what you did, but I guess it is either some other MOD that interferes or you have some bad edits in your phpBB3 installation.

Anyhow, I can understand if you want your board to be live again after 48 hours. ;)

Re: Portalview conflict with mChat

Posted: 13. June 2010 17:26
by ReconMarine
Marc

After a clean install and reinstall EVERYTHING works, except when I do the "additional blocks" edit. Once I perform that edit, it kills the website again, and leaves that initial error I posted.

Code: Select all

Call to a member function get() on a non-object in /home/conjobs/forums.constructionjobsolutions.com/mchat.php on line 35
When i remove that edit,......the error vanishes and the board works.

RM

Re: Portalview conflict with mChat

Posted: 16. June 2010 06:27
by ReconMarine
Marc?

RM

Re: Portalview conflict with mChat

Posted: 16. June 2010 11:44
by kolja
Hi

I have the same problem, and i hope marc will fix it :roll:
viewtopic.php?f=31&t=3299&p=23932#p23923

If you want a quick&dirty, just comment out line 35 and 48 in mchat.php :D
See in my last post.

Greets Kolja

Re: Portalview conflict with mChat

Posted: 17. June 2010 16:41
by ReconMarine
kolja wrote:Hi

I have the same problem, and i hope marc will fix it :roll:
viewtopic.php?f=31&t=3299&p=23932#p23923

If you want a quick&dirty, just comment out line 35 and 48 in mchat.php :D
See in my last post.

Greets Kolja
LOL!

I wish I could read that thread....... haha.

Thanks for the link though.

RM

Re: Portalview conflict with mChat

Posted: 17. June 2010 20:38
by kolja
Sorry :oops: :oops:

But there is no solution until now :cry:
If there is one, i write it here (in english)

Kolja

Re: Portalview conflict with mChat

Posted: 17. June 2010 23:15
by cLinch3r
ReconMarine wrote:
kolja wrote:Hi

I have the same problem, and i hope marc will fix it :roll:
viewtopic.php?f=31&t=3299&p=23932#p23923

If you want a quick&dirty, just comment out line 35 and 48 in mchat.php :D
See in my last post.

Greets Kolja
LOL!

I wish I could read that thread....... haha.

Thanks for the link though.

RM
Google translate does a pretty good job in translating the threads. http://translate.google.com/#de|en|
Copy that thread's URL into the translate box.
It works pretty good. :)