You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
When I upload a custom banner or module, after pressing the upload button I am sent to an error page with this error
Fatal error: Uncaught Exception: Unable to create cache directory cache/ in /var/www/Nameless/core/classes/Cache.php:272
Stack trace:
#0 /var/www/Nameless/core/classes/Cache.php(233): Cache->_checkCacheDir()
#1 /var/www/Nameless/core/classes/Cache.php(219): Cache->getCacheDir()
#2 /var/www/Nameless/core/classes/Cache.php(77): Cache->_loadCache()
#3 /var/www/Nameless/modules/CraftingStore/src/Common/Retriever/CachedSettingRetriever.php(24): Cache->isCached()
#4 /var/www/Nameless/modules/CraftingStore/module.php(66): CachedSettingRetriever->retrieve()
#5 /var/www/Nameless/modules/CraftingStore/init.php(45): CraftingStoreModule->__construct()
#6 /var/www/Nameless/core/init.php(494): require('/var/www/Namele...')
#7 /var/www/Nameless/core/includes/image_upload.php(20): require('/var/www/Namele...')
#8 {main} thrown in /var/www/Nameless/core/classes/Cache.php on line 272
Warning: file_put_contents(../../cache/logs/other-log.log): failed to open stream: No such file or directory in /var/www/Nameless/core/classes/ErrorHandler.php on line 70
Fatal error: require_once(): Failed opening required '../../error.php' (include_path='.:/usr/share/php') in /var/www/Nameless/core/classes/ErrorHandler.php on line 53`
To Reproduce
Steps to reproduce the behaviour:
Make sure you have the craftingstore module enabled
enable custom avatars or banners
Go to user settings and at the bottem, upload a custom avatar or go to your profile and press the picture icon on the banner
Upload a custom image and press Submit
See error
Expected behaviour
That the image is uploaded and is set as the avatar/banner
Describe the issue
When I upload a custom banner or module, after pressing the upload button I am sent to an error page with this error
Warning: file_put_contents(../../cache/logs/other-log.log): failed to open stream: No such file or directory in /var/www/Nameless/core/classes/ErrorHandler.php on line 70
Fatal error: require_once(): Failed opening required '../../error.php' (include_path='.:/usr/share/php') in /var/www/Nameless/core/classes/ErrorHandler.php on line 53`
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
That the image is uploaded and is set as the avatar/banner
Screenshots
http://i.nucker.me/jkrCD.png
NamelessMC version (from AdminCP -> Overview)
Running NamelessMC version 2.0.0-pr9
Additional information
I was told in your discord server to submit an issue here instead of the craftingtore github
The text was updated successfully, but these errors were encountered: