Jump to content

DomainException::4 on file upload


Go to solution Solved by Clover13,

Recommended Posts

Posted

Suddenly started happening, not sure of the cause.  Any suggestions?

#0 /home/xxxxx/public_html/system/File/File.php(402): IPS\_File::validateUpload()
#1 /home/xxxxx/public_html/system/Helpers/Form/Upload.php(755): IPS\_File::createFromUploads()
#2 /home/xxxxx/public_html/system/Helpers/Form/Upload.php(309): IPS\Helpers\Form\_Upload->processUploads()
#3 /home/xxxxx/public_html/system/Helpers/Form/Editor.php(770): IPS\Helpers\Form\_Upload->__construct()
#4 /home/xxxxx/public_html/system/Helpers/Form/Editor.php(187): IPS\Helpers\Form\_Editor->getUploader()
#5 /home/xxxxx/public_html/system/Content/Item.php(5050): IPS\Helpers\Form\_Editor->__construct()
#6 /home/xxxxx/public_html/system/Content/Item.php(4727): IPS\Content\_Item->commentFormElements()
#7 /home/xxxxx/public_html/uploads/template_cache/template_8_7a734b11232065691bc1176040cb26ad_topics.php(5435): IPS\Content\_Item->commentForm()
#8 /home/xxxxx/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_topics->topic()
#9 /home/xxxxx/public_html/applications/forums/modules/front/forums/topic.php(643): IPS\Theme\_SandboxedTemplate->__call()
#10 /home/xxxxx/public_html/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
#11 /home/xxxxx/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#12 /home/xxxxx/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#13 /home/xxxxx/public_html/init.php(940) : eval()'d code(15): IPS\forums\modules\front\forums\_topic->execute()
#14 /home/xxxxx/public_html/init.php(940) : eval()'d code(29): IPS\forums\modules\front\forums\ignoretopics_hook_topicController->execute()
#15 /home/xxxxx/public_html/init.php(940) : eval()'d code(21): IPS\forums\modules\front\forums\raffles_hook_loadCss->execute()
#16 /home/xxxxx/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\tthumb_hook_forums_module_topic->execute()
#17 /home/xxxxx/public_html/index.php(13): IPS\_Dispatcher->run()
#18 {main}

  • Solution
Posted
Just now, Stuart Silvester said:

That's likely to be someone uploading a file with an image extension that isn't really an image.

OK, it's my images which were taken on an iPhone and saved as HEIC and then converted to PNG via MacOS Preview.  I did just convert the same original file with GIMP and that was able to be uploaded.  So I suspect maybe there is some type of conversion error with MacOS Preview?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...