How to set the development mode

WARNING, this procedure concerns only pH7CMS versions lower than 1.3.0
From pH7CMS 1.3, this option is available in the Admin Panel -> Tools -> Environment Mode.
However, you might still need to set the development mode manually. For example, if you are not able to login into the admin panel at that time or if the error occurs all pages of the website.

To set the development mode, please edit ~/_YOUR-PROTECTED-FOLDER/app/configs/config.ini
Replace "environment = production" to "environment = development" at the beginning of the file and then save it.
ATTENTION, if your OS server is a Unix-like (Linux, Mac OS, ...), you have to change the permission file from "644" to "666" in order to be able to save it.

After that, it is also better to clear your browser cache (CTRL+F5).

 


Found a Typo/Something to Add? Edit this page 🚀