• Resolved netsector

    (@netsector)


    When i activate Count-Per-Day plugin in administration panel showing me this error, but not on the site.

    Warning: session_start(): open(/tmp/sess_c8f005a6152407d7c72930471b314416, O_RDWR) failed: Permission denied (13) in /home/portal/public_html/wp-content/plugins/count-per-day/counter-core.php on line 190
    
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/portal/public_html/wp-content/plugins/count-per-day/counter-core.php:190) in /home/balkanli/public_html/wp-content/plugins/count-per-day/counter-core.php on line 190

    Anyway earlier I use this plugin on this site and there was no problem

    Does anyone know why this shows me? And how can this be solv

    https://www.ads-software.com/plugins/count-per-day/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Tom Braider

    (@tom-braider)

    check your php setup or ask your hoster.
    you need access to your temp directory.

    Thread Starter netsector

    (@netsector)

    What exactly needs to look in the php setup?
    My Site is located on my server.
    How to allow access?

    Thread Starter netsector

    (@netsector)

    And where is the folder /tmp/

    Plugin Author Tom Braider

    (@tom-braider)

    php needs write access to a temp directory.
    the path it set in php.ini.

    Thread Starter netsector

    (@netsector)

    I’m trying to find a folder tmp
    I do not have it anywhere on hosting?
    This is php.ini……..

    session.auto_start – Off
    session.cache_expire – 180
    session.cache_limiter – nocache
    session.cookie_domain – no value
    session.cookie_httponly – Off
    session.cookie_lifetime – 0
    session.cookie_path – /
    session.cookie_secure – Off
    session.entropy_file – no value
    session.entropy_length – 0
    session.gc_divisor – 100
    session.gc_maxlifetime – 1440
    session.gc_probability – 1
    session.hash_bits_per_character – 4
    session.hash_function – 0
    session.name – PHPSESSID
    session.referer_check – no value
    session.save_handler – files
    session.save_path – /tmp
    session.serialize_handler – php
    session.upload_progress.cleanup – On
    session.upload_progress.enabled – On
    session.upload_progress.freq – 1%
    session.upload_progress.min_freq – 1
    session.upload_progress.name – PHP_SESSION_UPLOAD_PROGRESS
    session.upload_progress.prefix – upload_progress_
    session.use_cookies – On
    session.use_only_cookies – On
    session.use_trans_sid – 0

    Plugin Author Tom Braider

    (@tom-braider)

    “session.save_path – /tmp”

    Thread Starter netsector

    (@netsector)

    So it is set in the php.ini on the server.
    Why it failed.

    Plugin Author Tom Braider

    (@tom-braider)

    The path is correct but the permissions?
    The script (Server/PHP) can’t write to the directory.

    Thread Starter netsector

    (@netsector)

    Where can I check these permissions?

    That is my server, I have several websites on the server. And each website uses the Count-Per-Day plugin but only on this will to work.

    Specifically, it has been working on this site for 2 years.
    A few days ago I changed the wp-config.php and since then it will not work.
    And when you get back the original wp-config.php again not to work.
    Once again, back backup site will not work.

    Plugin Author Tom Braider

    (@tom-braider)

    don’t know, i only find hints like

    https://stackoverflow.com/questions/11779889/warning-session-start-function-session-start-open-tmp-sess-e07-42c14904

    set chmod 777 for the directory and be sure its not full

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Warning: session_start() and Permission denied’ is closed to new replies.