Support » Plugin: Shariff for WordPress » php error unlinking /tmp files

  • Hi I receive erors in the nginx logs:

    ‘PHP message: WordPress-Da
    2015/05/27 07:26:43 [error] 1490#0: *35698 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘SplFileInfo::getMTime(): stat failed for /var/www/vhosts/’ in /var/www/vhosts/
    Stack trace:
    #0 /var/www/vhosts/ SplFileInfo->getMTime()
    #1 /var/www/vhosts/ Zend\Cache\Storage\Adapter\Filesystem->clearExpired()
    #2 /var/www/vhosts/ Heise\Shariff\Backend->__construct(Array)
    #3 /var/www/vhosts/” while reading response header from upstream, client:, server:, request: “GET /wp-content/plugins/shariff-sharing/backend/index.php? HTTP/1.1”, upstream: “fastcgi://unix:/var/www/vhosts/system/”, host: “”, referrer: “”‘

    The /tmp directory is 755 and the shariff-folders and files inside are created absolutely correct.

    The plugin seems to work.
    Any idea what is going wrong?

    Best regards, Christian

Viewing 1 replies (of 1 total)
  • Thread Starter kech61



    The function “sys_get_temp_dir()” is causing problems on VPS-Servers with Plesk where the function returns [serverroot]/tmp.

    So I replaced this function with “WP_CONTENT_DIR . ‘/tmp” – this solved the problem.

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘php error unlinking /tmp files’ is closed to new replies.