suddenly cannot upload any files to the file manager
Permalink
ver. 8.5.1 centos7 php 7.3.x
Getting an error when uploading files of any type. have restored, restore failed, so rest back to current and system did a full running reset back to Sat. AM, but problem persists. Any help highly appreciated. Here is the error:
Drop files here or click to upload.
10tricks.jpg
0.1 MB
10tricks.jpg
Concrete\Core\Error\UserMessageException: Missing a temporary folder. in /home/lhasas/public_html/concrete/controllers/backend/file.php:492 Stack trace: #0 /home/lhasas/public_html/concrete/controllers/backend/file.php(197): Concrete\Controller\Backend\File->handleUpload('file') #1 [internal function]: Concrete\Controller\Backend\File->upload() #2 /home/lhasas/public_html/concrete/src/Controller/AbstractController.php(294): call_user_func_array(Array, Array) #3 /home/lhasas/public_html/concrete/src/Routing/ControllerRouteAction.php(61): Concrete\Core\Controller\AbstractController->runAction('upload', Array) #4 /home/lhasas/public_html/concrete/src/Http/RouteDispatcher.php(37): Concrete\Core\Routing\ControllerRouteAction->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #5 /home/lhasas/public_html/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\RouteDispatcher->dispatch(Object(Concrete\Core\Http\Request)) #6 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\DispatcherDelegate->next(Object(Concrete\Core\Http\Request)) #7 /home/lhasas/public_html/concrete/src/Http/DefaultDispatcher.php(126): Concrete\Core\Http\Middleware\MiddlewareStack->process(Object(Concrete\Core\Http\Request)) #8 /home/lhasas/public_html/concrete/src/Http/DefaultDispatcher.php(58): Concrete\Core\Http\DefaultDispatcher->handleDispatch(Object(Concrete\Core\Http\Request)) #9 /home/lhasas/public_html/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\DefaultDispatcher->dispatch(Object(Concrete\Core\Http\Request)) #10 /home/lhasas/public_html/concrete/src/Http/Middleware/ThumbnailMiddleware.php(76): Concrete\Core\Http\Middleware\DispatcherDelegate->next(Object(Concrete\Core\Http\Request)) #11 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\ThumbnailMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\DispatcherDelegate)) #12 /home/lhasas/public_html/concrete/src/Http/Middleware/FrameOptionsMiddleware.php(39): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #13 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\FrameOptionsMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\MiddlewareDelegate)) #14 /home/lhasas/public_html/concrete/src/Http/Middleware/CookieMiddleware.php(35): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #15 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\CookieMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\MiddlewareDelegate)) #16 /home/lhasas/public_html/concrete/src/Http/Middleware/ApplicationMiddleware.php(29): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #17 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\ApplicationMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\MiddlewareDelegate)) #18 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #19 /home/lhasas/public_html/concrete/src/Http/DefaultServer.php(85): Concrete\Core\Http\Middleware\MiddlewareStack->process(Object(Concrete\Core\Http\Request)) #20 /home/lhasas/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php(119): Concrete\Core\Http\DefaultServer->handleRequest(Object(Concrete\Core\Http\Request)) #21 /home/lhasas/public_html/concrete/src/Foundation/Runtime/DefaultRuntime.php(102): Concrete\Core\Foundation\Runtime\Run\DefaultRunner->run() #22 /home/lhasas/public_html/concrete/dispatcher.php(36): Concrete\Core\Foundation\Runtime\DefaultRuntime->run() #23 /home/lhasas/public_html/index.php(3): require('/home/lhasas/pu...') #24 {main}
Getting an error when uploading files of any type. have restored, restore failed, so rest back to current and system did a full running reset back to Sat. AM, but problem persists. Any help highly appreciated. Here is the error:
Drop files here or click to upload.
10tricks.jpg
0.1 MB
10tricks.jpg
Concrete\Core\Error\UserMessageException: Missing a temporary folder. in /home/lhasas/public_html/concrete/controllers/backend/file.php:492 Stack trace: #0 /home/lhasas/public_html/concrete/controllers/backend/file.php(197): Concrete\Controller\Backend\File->handleUpload('file') #1 [internal function]: Concrete\Controller\Backend\File->upload() #2 /home/lhasas/public_html/concrete/src/Controller/AbstractController.php(294): call_user_func_array(Array, Array) #3 /home/lhasas/public_html/concrete/src/Routing/ControllerRouteAction.php(61): Concrete\Core\Controller\AbstractController->runAction('upload', Array) #4 /home/lhasas/public_html/concrete/src/Http/RouteDispatcher.php(37): Concrete\Core\Routing\ControllerRouteAction->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #5 /home/lhasas/public_html/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\RouteDispatcher->dispatch(Object(Concrete\Core\Http\Request)) #6 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\DispatcherDelegate->next(Object(Concrete\Core\Http\Request)) #7 /home/lhasas/public_html/concrete/src/Http/DefaultDispatcher.php(126): Concrete\Core\Http\Middleware\MiddlewareStack->process(Object(Concrete\Core\Http\Request)) #8 /home/lhasas/public_html/concrete/src/Http/DefaultDispatcher.php(58): Concrete\Core\Http\DefaultDispatcher->handleDispatch(Object(Concrete\Core\Http\Request)) #9 /home/lhasas/public_html/concrete/src/Http/Middleware/DispatcherDelegate.php(39): Concrete\Core\Http\DefaultDispatcher->dispatch(Object(Concrete\Core\Http\Request)) #10 /home/lhasas/public_html/concrete/src/Http/Middleware/ThumbnailMiddleware.php(76): Concrete\Core\Http\Middleware\DispatcherDelegate->next(Object(Concrete\Core\Http\Request)) #11 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\ThumbnailMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\DispatcherDelegate)) #12 /home/lhasas/public_html/concrete/src/Http/Middleware/FrameOptionsMiddleware.php(39): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #13 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\FrameOptionsMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\MiddlewareDelegate)) #14 /home/lhasas/public_html/concrete/src/Http/Middleware/CookieMiddleware.php(35): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #15 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\CookieMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\MiddlewareDelegate)) #16 /home/lhasas/public_html/concrete/src/Http/Middleware/ApplicationMiddleware.php(29): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #17 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareDelegate.php(50): Concrete\Core\Http\Middleware\ApplicationMiddleware->process(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Http\Middleware\MiddlewareDelegate)) #18 /home/lhasas/public_html/concrete/src/Http/Middleware/MiddlewareStack.php(86): Concrete\Core\Http\Middleware\MiddlewareDelegate->next(Object(Concrete\Core\Http\Request)) #19 /home/lhasas/public_html/concrete/src/Http/DefaultServer.php(85): Concrete\Core\Http\Middleware\MiddlewareStack->process(Object(Concrete\Core\Http\Request)) #20 /home/lhasas/public_html/concrete/src/Foundation/Runtime/Run/DefaultRunner.php(119): Concrete\Core\Http\DefaultServer->handleRequest(Object(Concrete\Core\Http\Request)) #21 /home/lhasas/public_html/concrete/src/Foundation/Runtime/DefaultRuntime.php(102): Concrete\Core\Foundation\Runtime\Run\DefaultRunner->run() #22 /home/lhasas/public_html/concrete/dispatcher.php(36): Concrete\Core\Foundation\Runtime\DefaultRuntime->run() #23 /home/lhasas/public_html/index.php(3): require('/home/lhasas/pu...') #24 {main}
Some kind of temporary fix. Did another restore, seemed to work. Got an image I needed uploaded. Cleared cache, killed the site. As a temporary solution, I went to application/config/generated overides. Disabled concrete.php, which let the site run and a new concrete.php was auto generated. Created some conflicts with path/reserved names. When I also deactivated the app.php and site.php in the same generated overides directory, the site is at least back up and running. File uploads are also working. Please let me know the better solution to the problem. I am hesitating upgrading to 8.5.4 from the current 8.5.1 because the direct method did not work and the update will not show when put in /uploads directory per published instructions.