Форумы / Cotonti / Support / Minichat Error

Error when using Minichat plugin

Twiebie
#1 02.08.2010 20:29
Hello,

I'm using the Minichat plugin in my left menu which is in the header.tpl file and it's working fine there.
But when I click All messages to open the main Minichat page I get the following error:

Fatal error: Cannot redeclare minichat_build() (previously declared in C:\wamp\www\plugins\minichat\inc\minichat.functions.php:25) in C:\wamp\www\plugins\minichat\inc\minichat.functions.php on line 154

Anyone an idea?

Thanks
Kingsley
#2 02.08.2010 21:10
open up minichat.index.php

and change the hook from index.tags to header.tags

and reinstall plugin (wont effect entries)

should work for you..
Twiebie
#3 02.08.2010 21:15
I've done that already, and no luck..
pieter
#4 02.08.2010 21:26
Is this a version for Seditio or for Cotonti?

Added 2 minutes later:

Have you done also:
Create a copy of minichat.index.php, rename, open the file in Notepad and replace:

See download page.

Added 34 seconds later:

EDIT: Maybe try to clear the cache.
... can we help you ...
Twiebie
#5 02.08.2010 21:35
I downloaded it from here so I assume it's the Cotonti version.

Yes also tried to create a second file and replace the hook.

I've now cleared the cache, and still no succes..
ez
#6 03.08.2010 00:46
There are/were some language tags issues (I think).
==- I say: Keep it EZ -==
Twiebie
#7 03.08.2010 00:51
Hmm, is there anything left to do?
ez
#8 03.08.2010 01:07
Yes, dig into the code and fix the problems.. or hope that someone else has done that and will send you the fixed plugin.
I have seen working copies out there, not sure were, and what version cotonti they were using..
It was a while ago, maybe someone can help you..
==- I say: Keep it EZ -==
Отредактировано: ez (03.08.2010 05:09, 13 лет назад)
Twiebie
#9 03.08.2010 08:10
Well i've decided to not use the shoutbox's main page.
The mini shoutbox has a pagination in it anyway, so it does the job for me.

Thanks anyway for the replies!
foxhound
#10 14.08.2010 21:22
We have a working minichat on our index page.
If you still want it let me know where to sent it.
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
Kingsley
#11 14.08.2010 21:38
@ Twiebie

Was surfing your site (nice skin btw) when I saw you had a roster on it. Is that XsCCS? Or do you have another one?