NextCloud Version: 18.0
Operating system and version: CentOS 7.7
Nginx version: 1.16
PHP version: 7.3
The issue I’m facing:
I can’t change the logo: it keeps prompting saving.
Here is the screenshot https://pics.aiden.cool/image/m8D
Steps to replicate it:
Just the normal way to change the logo
Settings>Theming>Upload Logo
Is this the first time you’ve seen this error? (Y/N): YES
The output of your Nextcloud log in Admin > Logging:
{“reqId”:“FtSx4o5XRXXLnUhybPv1”,“level”:3,“time”:“2020-02-01T09:16:44+00:00”,“remoteAddr”:“206.189.148.145”,“user”:“Sakurajima”,“app”:“index”,“method”:“POST”,“url”:"/index.php/apps/theming/ajax/uploadImage",“message”:{“Exception”:“Exception”,“Message”:“Call to undefined function OCA\Theming\Controller\mime_content_type()”,“Code”:0,“Trace”:[{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/App.php",“line”:125,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Theming\Controller\ThemingController”},“uploadImage”]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Theming\Controller\ThemingController”,“uploadImage”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“theming.Theming.uploadImage”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“theming.Theming.uploadImage”}]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/Route/Router.php",“line”:299,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{"_route":“theming.Theming.uploadImage”}]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/theming/ajax/uploadImage"]},{“file”:"/www/wwwroot/hdd.aiden.cool/index.php",“line”:38,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/Http/Dispatcher.php",“Line”:109,“Previous”:{“Exception”:“Error”,“Message”:“Call to undefined function OCA\Theming\Controller\mime_content_type()”,“Code”:0,“Trace”:[{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/Http/Dispatcher.php",“line”:170,“function”:“uploadImage”,“class”:“OCA\Theming\Controller\ThemingController”,“type”:"->",“args”:[]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/Http/Dispatcher.php",“line”:99,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Theming\Controller\ThemingController”},“uploadImage”]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/App.php",“line”:125,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Theming\Controller\ThemingController”},“uploadImage”]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Theming\Controller\ThemingController”,“uploadImage”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“theming.Theming.uploadImage”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“theming.Theming.uploadImage”}]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/private/Route/Router.php",“line”:299,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{"_route":“theming.Theming.uploadImage”}]},{“file”:"/www/wwwroot/hdd.aiden.cool/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/theming/ajax/uploadImage"]},{“file”:"/www/wwwroot/hdd.aiden.cool/index.php",“line”:38,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/www/wwwroot/hdd.aiden.cool/apps/theming/lib/Controller/ThemingController.php",“Line”:270},“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36”,“version”:“18.0.0.10”,“id”:“5e354453ae2e8”}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
‘dbtype’ => ‘mysql’,
‘version’ => ‘18.0.0.10’,
Thank you very much for helping me.