Recent content by af123

  1. A

    XF 2.0 Disable links for new users then allow

    See https://xenforo.com/community/threads/external-links-forbidden-if.143168/
  2. A

    XF 2.0 external links forbidden if...

    Very nice, thank you for this. I optimised the first extension slightly to skip the processing the user is allowed to post external links and then simplified the second class extension (and removed the duplicated code from the base class which would need to be maintained over upgrades).. <?php...
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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...
Top