Jump to content

Recommended Posts

Posted

I followed instructions and added 

\define( 'TEMP_DIRECTORY', dirname( __FILE__ ) . '/uploads' );

to constants.php

the highlighted error message is gone under "Server Path: /home/media/public_html/forum" 

But still cannot upload images to the side there is an error message under system log

DomainException::6

SERVER_CONFIGURATION

BACKTRACE

#0 /home/media/public_html/forum/system/File/File.php(402): IPS\_File::validateUpload(Array, Array, NULL)
#1 /home/media/public_html/forum/system/Helpers/Form/Upload.php(755): IPS\_File::createFromUploads('core_Attachment', NULL, Array, NULL, NULL, 0, Object(Closure), NULL, true)
#2 /home/media/public_html/forum/system/Helpers/Form/Upload.php(309): IPS\Helpers\Form\_Upload->processUploads()
#3 /home/media/public_html/forum/system/Helpers/Form/Editor.php(768): IPS\Helpers\Form\_Upload->__construct('topic_comment_7...', Array, false, Array)
#4 /home/media/public_html/forum/system/Helpers/Form/Editor.php(187): IPS\Helpers\Form\_Editor->getUploader('topic_comment_7...')
#5 /home/media/public_html/forum/system/Content/Item.php(5058): IPS\Helpers\Form\_Editor->__construct('topic_comment_7...', NULL, true, Array, Object(Closure))
#6 /home/media/public_html/forum/system/Content/Item.php(4735): IPS\Content\_Item->commentFormElements()
#7 /home/media/public_html/forum/system/Theme/Theme.php(885) : eval()'d code(5384): IPS\Content\_Item->commentForm()
#8 /home/media/public_html/forum/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, '\n\n\n\t\n\t<ul class...', Array)
#9 /home/media/public_html/forum/applications/forums/modules/front/forums/topic.php(643): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#10 /home/media/public_html/forum/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
#11 /home/media/public_html/forum/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#12 /home/media/public_html/forum/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#13 /home/media/public_html/forum/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#14 /home/media/public_html/forum/index.php(13): IPS\_Dispatcher->run()
#15 {main}

Am I missing something?

Posted

As mentioned there, there is a server configuration issue. You will want to ensure that the uploads folder there is writable by your webserver/PHP. Otherwise, you will need to ensure that your server allows file uploads by contacting your hosting provider or server administrator for further assistance. 

  • Recently Browsing   0 members

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