Recent Topics

1 May 05, 2007 06:16    

My b2evolution Version: 1.10.0

Hi,

I'm getting


ini_set() is disabled! b2evo cannot adjust "unserialize_callback_func" for Session restoring!

After upgrading to v1.10.0. Have to clear my cookies to load the site again.

Especially happens when posting comments.
I tried disabling the new bundled plugins but same thing. Checked the other plugins, all seems fine.

3 May 05, 2007 11:23

Hmm... tried it...

found these files:
/conf/_stats.php
/conf/_advanced.php
/inc/_misc/_url.funcs.php
/inc/_misc/_upgrade.funcs.php
/inc/_misc/_plugin.class.php
/inc/_misc/_misc_funcs.php
/inc/CONTROL/cron/_prune_hits_sessions.job.php
/inc/CONTROL/cron/_post_notifications.job.php
/inc/MODEL/collections/_blogcache.class.php
/inc/MODEL/dataobjects/_dataobject.class.php
/inc/MODEL/sessions/_hit.class.php
/inc/VIEW/collections/_blogs_display.form.php

And this file have most of the codes commented..
/inc/MODEL/collections/_blog.class.php

even the ' ?> ' is commented out.
There are two ' ?> ' instances btw.

Still getting the error after cleaning up the spaces.

4 May 05, 2007 11:34

blueyed wrote:

ini_set() is the problem. The other warnings are just follow-up errors.

ini_set() is required by the Session class to temporarily change a setting.

blueyed wrote:

ini_set is required here, sorry. You can't do anything except using a host that trusts you at least a bit.

A workaround would be to put a "@" directly in front of ini_set() to suppress the warning, but some features, e.g. comment preview would silently fail then.

blueyed wrote:

If you have access to the server fix """Warning: ini_set() has been disabled for security reasons"""!

Maybe it's caused by "safe_mode=on" or listing "ini_set" in the disable_functions setting - I don't know. But please tell us, if you've found out.
It's no default settings, that's for sure. (this all refers to php.ini settings)

It was theses 3 posts by Blueyed that I was referring to.

¥

5 May 05, 2007 12:37

Hmm...
I can say its not the server, coz:
- safe_mode is off
- M3 (ad software) and other scripts still running fine
- and b2evo 1.9.x works fine


Form is loading...