Jump to content

Avatar upload


Recommended Posts

Pokusavam da stavim avatar sliku.

Kada pokusam sa externog URL-a da uploadujem sliku:
- ocekujem: da radi
- desava se: greska (vidi ispod)
 

ErrorException: file_put_contents(): Filename cannot be empty (2)
#0 [internal function]: IPS\IPS::errorHandler(2, 'file_put_conten...', '/home/klanrur/p...', 299, Array)
#1 /home/klanrur/public_html/forum/system/Image/Image.php(299): file_put_contents('', '\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x01\x01...')
#2 /home/klanrur/public_html/forum/system/Image/Image.php(90): IPS\_Image->setExifData('\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x01\x01...')
#3 /home/klanrur/public_html/forum/system/File/File.php(215): IPS\_Image::create('\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x01\x01...')
#4 /home/klanrur/public_html/forum/system/Helpers/Form/Url.php(120): IPS\_File::create('core_Profile', 'canstock2246359...', '\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x01\x01...')
#5 /home/klanrur/public_html/forum/system/Helpers/Form/FormAbstract.php(161): IPS\Helpers\Form\_Url->validate()
#6 /home/klanrur/public_html/forum/system/Helpers/Form/FormAbstract.php(138): IPS\Helpers\Form\_FormAbstract->setValue(true)
#7 [internal function]: IPS\Helpers\Form\_FormAbstract->__construct('member_photo_ur...', NULL, false, Array, NULL, NULL, NULL, 'member_photo_ur...')
#8 /home/klanrur/public_html/forum/system/Helpers/Form/TextArea.php(61): call_user_func_array('parent::__const...', Array)
#9 [internal function]: IPS\Helpers\Form\_TextArea->__construct('member_photo_ur...', NULL, false, Array, NULL, NULL, NULL, 'member_photo_ur...')
#10 /home/klanrur/public_html/forum/system/Helpers/Form/Text.php(107): call_user_func_array('parent::__const...', Array)
#11 /home/klanrur/public_html/forum/applications/core/modules/front/members/profile.php(1065): IPS\Helpers\Form\_Text->__construct('member_photo_ur...', NULL, false, Array, NULL, NULL, NULL, 'member_photo_ur...')
#12 [internal function]: IPS\core\modules\front\members\_profile->editPhoto()
#13 /home/klanrur/public_html/forum/system/Dispatcher/Controller.php(85): call_user_func(Array)
#14 /home/klanrur/public_html/forum/applications/core/modules/front/members/profile.php(64): IPS\Dispatcher\_Controller->execute()
#15 /home/klanrur/public_html/forum/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\members\_profile->execute()
#16 /home/klanrur/public_html/forum/index.php(13): IPS\_Dispatcher->run()
#17 {main}

 

Kada pokusam da uploadujem sa file systema:
- ocekujem: da radi
- desava se: There was a problem processing the uploaded file. 6

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...