• Resolved Norman Höhne

    (@reeve)


    Due to an hacked website I am installing the site from the scratch up.

    I changed from PHP 5.5 Apache Modul to 5.6.21-nmm1 FPM-FCGI. After a fresh WordPress-Install I hardened the website with .htaccess in root, wp-content and uploads.

    The next step was installing ninja firewall but I get following error message after activating it:

    Warning: session_start(): open(/tmp/sess_LONGNUMBERHERE, O_RDWR) failed: Permission denied (13) in /public_html/wp-content/plugins/ninjafirewall/ninjafirewall.php on line 49

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /public_html/wp-content/plugins/ninjafirewall/ninjafirewall.php:49) in /public_html/wp-content/plugins/ninjafirewall/ninjafirewall.php on line 49

    Here some more infos from your troubleshooter:

    auto_prepend_file: none
    NinjaFirewall detection: NinjaFirewall is not loaded

    Loaded INI file: /etc/php56/fpm/php.ini
    user_ini.filename: .user.ini
    user_ini.cache_ttl: 300 seconds
    User PHP INI: none found

    The message is shown on every site in the backend as well as in the front end. What could that be? I already used your Ninja Firewall in FPM-FCGI on this server.

    Kind regards
    -reeve

    https://ww.wp.xz.cn/plugins/ninjafirewall/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Norman Höhne

    (@reeve)

    Regarding the hardeing of my website: With .htaccess in root I’m denying acces to wp-config, readme.html, .htaccess, wp-includes and with another .htaccess files in wp-content and uploads I am denying php execution.

    When I switch back to apache 5.5 the error message is gone. Do you have an idea how I can use the 5.6 FCGI with your firewall? Or what can I ask to my server host to change so that it works?

    Kind regards
    -reeve

    https://ww.wp.xz.cn/plugins/ninjafirewall/

    Plugin Author nintechnet

    (@nintechnet)

    Hi,

    Warning: session_start(): open(/tmp/sess_LONGNUMBERHERE, O_RDWR) failed: Permission denied (13) in /public_html/wp-content/plugins/ninjafirewall/ninjafirewall.php on line 49

    This error means that PHP cannot write the session file to the ‘/tmp/’ folder. Make sure it is writable to PHP.

    Thread Starter Norman Höhne

    (@reeve)

    How stupid.

    I just called the support and the solution was very easy -> Erasing the browser cache.

    The browser still had the old session in the cache though I installed everything new from the scratch up.

    Thanks for your answer! You are doing a good job.

    Kind regards
    -reeve

    What happened here?

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/stotteha/public_html/wp-content/plugins/stottehandel-affiliate-integration/stottehandel-affiliate-integration.php:1) in /home/stotteha/public_html/wp-content/plugins/woocommerce-viral-coupon/woocommerce-viral-coupon.php on line 12

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

The topic ‘PHP Error – Warning: session_start()’ is closed to new replies.