Форумы / Cotonti / General / Forum / bbcode "error"?

Kingsley
#1 18.01.2012 14:06

The 'error' below popped up when I posted a new message on my forums:

Warning: usort() [function.usort]: The argument should be an array in /home/p34426/domains/killbox1alpha.nl/public_html/plugins/bbcode/inc/bbcode.functions.php on line 387

nothing strange to find in the post. it is visible, didn't do anything else besides give the above error.
Dunno where it's coming from, but maybe it's important to you guys..

Added 11 minutes later:

btw, the error stay on top of the forums:

http://www.killbox1alpha.nl/index.php?e=forums&m=posts&q=1&n=last#bottom

Отредактировано: Kingsley (18.01.2012 14:18, 12 лет назад)
lukgoh
#2 18.01.2012 14:24

I think you need to check to see if you are parsing bb code in your forum pages and if you are if you have CKEditor installed as I think I causes conflicts?

Kingsley
#3 18.01.2012 14:26

again.. aaaaawwww... wtf is that? just have set it correctly with the help of trust just 4 days ago.. fuck fuck fuck..

lukgoh
#4 18.01.2012 14:29

Go to your extensions or plugins (still dont know what version of Cotonti you are running) and just see if you have CKEditor installed or MarkItUp or both. If you have both, uninstall CKEditor if you want to continue using bb code or uninstall MarkItUp if you want to use html parsing instead of bb. Either way you can't have both editors installed because they conflict and I think CKEditor only does html not bb. I could be wrong though.

Kingsley
#5 18.01.2012 14:31

I know and Ck editor isn't even on there.. checked all bbcode/paring stuff and everything is set to markitup.

lukgoh
#6 18.01.2012 14:40

Okay so we can rule out conflict problems, thats a start. Let's take a look at the bbcode.functions.php on line 387 to see exactly what it is doing.

Added 4 minutes later:

usort($cot_smilies, 'cot_smcp');
Kingsley
#7 18.01.2012 14:45

Mwah, just copied my whole localhost to live site.. problem is gone now..

lukgoh
#8 18.01.2012 14:46

And btw, I do not see the error when looking at your site.

Added 17 seconds later:

Okay. lol. that will be why.

Kingsley
#9 18.01.2012 14:46

see previous post.. :)

but thx anyway

lukgoh
#10 18.01.2012 14:48

No problem. It is interesting I have seen in the past that people have problems on their localhost that do not appear on live sites and vice verser...

Trustmaster
#11 19.01.2012 07:23

It seems it can't read images/smilies/set.js on your localhost properly. Is json PHP extension installed?

May the Source be with you!
GHengeveld
#12 19.01.2012 14:42
I think i saw you using xampp. I normally use wamp and I've never had such problems. Maybe you should try wamp instead.
Kingsley
#13 19.01.2012 19:12

just installed it, will give it a go.. but why, isn't xampp any good?

Отредактировано: Kingsley (19.01.2012 20:57, 12 лет назад)
GHengeveld
#14 20.01.2012 04:02
No idea, never used it. Its Apache so shouldn't be a problem but i think you just didn't have it configured properly.
elfrenazo
#15 20.01.2012 08:56

http://www.chsoftware.net/en/mowes/mowesportable/mowes.htm

easy and comfortable, in a single folder