Can't install
storyandfortune opened this issue · 6 comments
I get the following Fatal Error after unzipping.
Fatal error: Uncaught Exception: Could write to data folder. in /Users/chilelimemango/Sites/local-rick-truhls/index.php:428 Stack trace: #0 /Users/chilelimemango/Sites/local-rick-truhls/index.php(894): Wcms->checkFolder('/Users/chilelim...') #1 /Users/chilelimemango/Sites/local-rick-truhls/index.php(106): Wcms->getDb() #2 /Users/chilelimemango/Sites/local-rick-truhls/index.php(14): Wcms->__construct() #3 {main} thrown in /Users/chilelimemango/Sites/local-rick-truhls/index.php on line 428
running on PHP Version 8.1.16
did you correct file permissions to 644 and folder permissions to 755 (and possibly Give correct ownership of the directory where WonderCMS is installed, most likely www-data
) ?
it certainly sounds like simply wrong file/folder permissions to me, with a typo in the error message
@storyandfortune this is almost surely related to write permissions for your user.
Do you own the host yourself? If not, I would suggest you contact your hosting provider, since this is not a WonderCMS issue, but rather than a PHP configuration with permissions.
This might be helpful: https://duplicator.com/knowledge-base/how-to-fix-file-permissions-issues/
The issue could be that PHP does not have permissions. It might also take some trial and error.
As previously stated by @Jan69, make sure that: the correct ownership of folder is www-data. You can also do some Googling if you need help on how to do that.