BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
Can't create a temp file from path
#233 opened by Daliz
Description
Hi TJ, I have the exact same issue as ticket 228 :https://www.buzzingpixel.com/support/issue/228
Based on the above setup, I did the following to test:
Created a new entry to test a file upload. It uploaded properly. And the entry saved properly. Created a new entry to test an Ansel upload. It appeared to upload properly and a thumbnail appeared in the entry as you would expect. But when I try to save the entry, I get an error message.
How did you solve it the last time?
This is the my error and subsequent stack trace:
<code> Cannot create a temp file from path: mnt/web620/a1/31/51858231/htdocs/productfoto/52920850608_2b5ff2b338_k.jpg
ee/ExpressionEngine/Library/Filesystem/Filesystem.php:990
Stack Trace: Please include when reporting this error
#0 ee/legacy/libraries/Filemanager.php(1151): ExpressionEngine\Library\Filesystem\Filesystem->copyToTempFile() #1 user/addons/ansel/Service/Sources/Ee.php(385): Filemanager->create_thumb() #2 [internal function]: BuzzingPixel\Ansel\Service\Sources\Ee->addFile() #3 user/addons/ansel/Service/Sources/SourceRouter.php(84): call_user_func_array() #4 user/addons/ansel/Service/AnselImages/SaveRow.php(127): BuzzingPixel\Ansel\Service\Sources\SourceRouter->__call() #5 user/addons/ansel/Controller/Field/FieldSave.php(95): BuzzingPixel\Ansel\Service\AnselImages\SaveRow->save() #6 user/addons/ansel/ft.ansel.php(575): BuzzingPixel\Ansel\Controller\Field\FieldSave->save() #7 ee/legacy/libraries/api/Api_channel_fields.php(383): Ansel_ft->post_save() #8 ee/ExpressionEngine/Model/Content/FieldFacade.php(240): Api_channel_fields->apply() #9 ee/ExpressionEngine/Model/Content/ContentModel.php(74): ExpressionEngine\Model\Content\FieldFacade->postSave() #10 ee/ExpressionEngine/Model/Channel/ChannelEntry.php(438): ExpressionEngine\Model\Content\ContentModel->onAfterSave() #11 [internal function]: ExpressionEngine\Model\Channel\ChannelEntry->onAfterSave() #12 ee/ExpressionEngine/Service/Model/Model.php(840): call_user_func_array() #13 ee/ExpressionEngine/Service/Model/Query/Insert.php(31): ExpressionEngine\Service\Model\Model->emit() #14 ee/ExpressionEngine/Service/Model/DataStore.php(275): ExpressionEngine\Service\Model\Query\Insert->run() #15 ee/ExpressionEngine/Service/Model/DataStore.php(230): ExpressionEngine\Service\Model\DataStore->runQuery() #16 ee/ExpressionEngine/Service/Model/Query/Builder.php(80): ExpressionEngine\Service\Model\DataStore->insertQuery() #17 ee/ExpressionEngine/Service/Model/Model.php(362): ExpressionEngine\Service\Model\Query\Builder->insert() #18 ee/ExpressionEngine/Model/Content/ContentModel.php(219): ExpressionEngine\Service\Model\Model->save() #19 ee/ExpressionEngine/Controller/Publish/AbstractPublish.php(452): ExpressionEngine\Model\Content\ContentModel->save() #20 ee/ExpressionEngine/Controller/Publish/Publish.php(304): ExpressionEngine\Controller\Publish\AbstractPublish->saveEntryAndRedirect() #21 [internal function]: ExpressionEngine\Controller\Publish\Publish->create() #22 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array() #23 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController() #24 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run() #25 admin.php(144): require_once('...') #25 admin.php(144): require_once('...') </code>