MyBB Community Forums

Full Version: Error php...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I have a problem when i post a new reply :
[Image: screenjj.th.jpg]

No plugin
Mybb : 1.4.11
PHP Version : 5.1.6
Same error with default mybb template.

Thanks for your help.
I'm french, sorry for my poor english.
Try reuploading functions.php, but also try adding an image as a post icon and see if it goes away.
Thanks for your answer.

I have reuploading the file functions.php => same error

So :
* I have add 2 post icons
* Rebuild the cache "posticons"
Same error and the 2 "post icons" don't appear when i create a new thread or i post a new reply.
[Image: screen2aq.th.jpg]

[Image: screen3qk.th.jpg]
Can you see what's actually in the posticons cache?? You can click it in the Cache Manager section.
I see that :

Array
(
    [21] => Array
        (
            [iid] => 21
            [name] => Exclamation
            [path] => images/icons/exclamation.gif
        )

    [22] => Array
        (
            [iid] => 22
            [name] => Question
            [path] => images/icons/question.gif
        )

)
Hmm, looks like a perfectly valid array to me... OK, we'll purge that cache completely, can you run this in phpMyAdmin:

DELETE FROM `mybb_datacache` WHERE `title` = 'posticons';

Then go back to the ACP and rebuild it again.
* I run the SQL command in phpmyadmin
* I don't rebuild the cache "posticons"... because it was deleting with the SQL Command.
I found a solution =>
In the file inc/config.php, i change
$config['cache_store'] = 'eaccelerator';

by
$config['cache_store'] = 'db';

and it's ok...
Oh, I didn't know you were using a non default cache system.