• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Recent content by af123

  1. A

    Fixed php7.1; ErrorException: tempnam(): file created in the system's temporary directory

    I think XenForo probably needs to catch this exception and ignore it although, in my case (https://xenforo.com/community/threads/124064 ) it did make me aware of a missing directory.
  2. A

    tempnam() warnings with PHP 7.1

    Thanks, this is just on my test site - I'm not planning to switch production to PHP 7.1 just yet. The error must have been there with the old PHP version, just didn't trigger an exception before PHP 7.1.
  3. A

    tempnam() warnings with PHP 7.1

    I recently took over the forum and transferred it to a new host but the temp/ directory definitely isn't in the zip they gave me. Creating the directory resolves the problem though, thanks.
  4. A

    tempnam() warnings with PHP 7.1

    That directory doesn't exist in my installation but the parent (internal_data/) is writeable by the web server user. I don't get the error with PHP 5.6 (and attachment/avatar uploads work fine), just with PHP 7.1. I'll create that directory and see if it improves things.
  5. A

    tempnam() warnings with PHP 7.1

    Testing with PHP 7.1, I see lots of errors like the following in my server error log: Error Info ErrorException: tempnam(): file created in the system's temporary directory - library/XenForo/Model/Avatar.php:124 Stack Trace #0 [internal function]: XenForo_Application::handlePhpError(8...