XF 2.2 Images and GIFs creating error

Spartan

Well-known member
Any idea what I can do.

RuntimeException: Unable to copy file /tmp/phpKDL3x5 to internal-data://attachments/237/237868-2ac93011db01822e89a9b98bfb94b119.data in src/XF/Util/File.php at line 213
  1. XF\Util\File::copyFileToAbstractedPath() in src/XF/Service/Attachment/Preparer.php at line 78
  2. XF\Service\Attachment\Preparer->insertDataFromFile() insrc/XF/Service/Attachment/Preparer.php at line 38
  3. XF\Service\Attachment\Preparer->insertAttachment() in src/XF/Attachment/Manipulator.php at line 199
  4. XF\Attachment\Manipulator->insertAttachmentFromUpload() insrc/XF/Pub/Controller/Attachment.php at line 91
  5. XF\Pub\Controller\Attachment->actionUpload() in src/XF/Mvc/Dispatcher.php at line 352
  6. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  7. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  8. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  9. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
  10. XF\App->run() in src/XF.php at line 524
  11. XF::runApp() in index.php at line 20
 
Max attachment file size is set to 2048 kb, and can't be changed. I have no idea how it was changed.

IMG_3986.webp

If this helps:

PHP version
7.3.33
MySQL version
5.6.51 (5.6.51-log)
PHP memory_limit
134217728
PHP post_max_size
8M
PHP upload_max_filesize
2M
PHP max_input_vars
1000
PHP max_execution_time
30
cURL version
8.6.0
cURL SSL version
OpenSSL/1.1.1w
OpenSSL version
OpenSSL 1.1.1w 11 Sep 2023
Suhosin enabled
No
Imagick support
No
EXIF support
Yes
GZip support
Yes
mbstring support
Yes
gmp support
Yes
ZipArchive support
Yes
 
Last edited:
Back
Top Bottom