cotonti.com : function.mb-stripos is causing an error https://www.cotonti.com Son konu mesajları Cotonti en Sun, 01 Feb 2026 12:37:21 -0000 foxhound Cum, 21 Oca 2011 07:54:31 -0000 GHengeveld APC, although you need server root access for that.]]> Per, 20 Oca 2011 19:35:00 -0000 foxhound
My live site is now running 0.6.13 with mod_deflate and its looking to perform great (site speed).]]>
Per, 20 Oca 2011 18:44:44 -0000
Trustmaster ]]> Per, 20 Oca 2011 01:54:19 -0000 foxhound I was about to delete the default tables one by one, recreating them from the default Cotonti DB to see which table in my DB caused this (and seeing the fix I doubt the hours would have had any results).

Adding the IP to the server IP field fixed it right away. Thank you very much :-)


May I ask, why this issue popped up after we enabled mod_deflate.c cause of the missing IP? This site has been running without the server IP in that field since end 2006.
Only answer if you want to, I am just curious.

:-)]]>
Per, 20 Oca 2011 00:20:19 -0000
Trustmaster Çrş, 19 Oca 2011 19:06:08 -0000 foxhound Warning: mb_stripos() [function.mb-stripos]: Empty delimiter in /home/armaholi/public_html/testers/armaholictest/system/common.php on line 483
I have been breaking this down for the last few hours as this error does not show up when I use a fresh cotonti databse on the testsite and visit it from an external link. However, if I use our current databse on the test site and visit through an external link the above error pops up.

I can fix the error by commenting this line in the common.php:
&& mb_stripos($sys['referer'], $cfg['hostip']) === false
(line 483)
This will fix the issue in our current database but I am not convinced thats a real fix. I wonder why on a fresh database this is no issue at all while on our current and active databse this is causing an error.

Just check for yourself: http://www.armaholic.com/testers/armaholictest/
This will show you a bugged page (layout) with the error mentioned on top. When you however browse the site all is fine. Its just cause of some weird error with the referrer.

I have tried updating to 0.6.13, did not help.
I have cleared the DB (logs, trash, referrers etc), did not fix it.
I have cleared all custom tables from the DB (from plugins) to bring it back to only the default tables but that too did not help.
The only thing which works is commenting line 483 in common.php.

Do you guys have any idea whats going on?]]>
Çrş, 19 Oca 2011 05:55:39 -0000