road kill,
in case you moved/copied the whole CMS to a local directory on your Ubuntu machine to run from a local webserver, you will probably have to correct some permissions because the /files/ folder is writable for you, but not for the webserver (usually user 'www'). The easiest way to make it work would be to open a terminal, change to WonderCMS' directory and there issue the following three commands:
Code: Select all
sudo chown -R nobody:nogroup files/
sudo chmod 755 files/
sudo chmod -R 644 files/*.txt
That way the files should be writable for the webserver. The downside is that you won't be able to edit or change the files locally with the file manager. To make it work both for the webserver
and yourself issue these commands instead (assuming your User ID is 1000, which is default on Ubuntu. To find out your User ID, run 'id -u <your user name>' in a terminal):
Code: Select all
sudo chown -R 1000:1000 files/
chmod 777 files/
chmod 666 files/*
This is really only recommendable if you are the sole user of your machine, or if your trust all other users!
The downside here is that you have to repeat at least the first and the third command whenever you create a new page from within WonderCMS, as the new page's txt file will be owned by nobody:nogroup again.
There are probably better ways, but I haven't tested that any further as my local WonderCMS installation is only a playground.
