• Resolved TJ Kelly

    (@tjkelly)


    Updated WP, a few other plugins, and this plugin. Immediately got a fatal PHP error. Deactivated Custom Sidebars, and the site works perfectly (except missing sidebars, of course).

    Here are the errors/warnings I got:

    Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): […] in /[…]/wp/wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php on line 73

    Fatal error: session_start() [function.session-start]: Failed to initialize storage module: files (path: […]) in /[…]/wp/wp-content/plugins/custom-sidebars/inc/external/wpmu-lib/functions-wpmulib.php on line 73

    I could see how this may have something to do w/ my hosting environment, but I’m not sure how I’d go about resolving it. If I need to contact my hosting provider, what should I tell them? (You know how they love to say “it’s the WP plugin’s fault!”)

    Please help! This broke my footer across every page on the site. I’d love to restore that asap. Thanks, internet.

    https://ww.wp.xz.cn/plugins/custom-sidebars/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi TJ Kelly,

    Greetings and thanks for posting on the forum.

    Yes it is a server issue that the PHP function session_start used in the Custom Sidebars plugin to create session could not write session file on your server.

    This may be file permission issue so please contact your hosting provider to fix it.

    You can also just try adding the function session_start() in the PHP file and execute it to test whether this is the function that is causing this issue.

    Kind Regards,
    WPMU DEV

    Thread Starter TJ Kelly

    (@tjkelly)

    Thank you, I’ve contacted my host for help.

    You are most welcome, if i can be of any further assistance please don’t hesitate to ask 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning: session_start() [function.session-start]: open_basedir restriction in e’ is closed to new replies.