We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to Clear your Oxwall Cache | Forum

Topic location: Forum home » Support » General Questions
Ryan
Ryan Sep 28 '15

I recently wanted to make changes to my Oxwall installation but was frustrated because everyone was telling me I had to clear the cache but I couldn't figure out how because even when I did a search on oxwall.org for how to clear the cache I came up with no results. I don't know enough PHP to help people edit their sites but I did figure out how to clear my cache so I thought I could help out by creating this tutorial on "How to Clear Your Oxwall Cache."


You do NOT have to do this by logging into your CPanel. All you need is your FTP program and a Text Editor. Myself at the time of this tutorial I was using FileZilla and Komodo Edit.


Step One:  Log into your hosting using your FTP program and navigate to your Oxwall installation directory and then to oxwall_includes.


public_html/oxwall_includes/


Step Two:  Download config.php to your desktop or wherever.


Step Three:  Open config.php with your text editor.


Find:


    define('OW_DEBUG_MODE', false);
    define('OW_DEV_MODE', false);
    define('OW_PROFILER_ENABLE', false);


And change it to:


    define('OW_DEBUG_MODE', false);
    define('OW_DEV_MODE', true);
    define('OW_PROFILER_ENABLE', false);


Step Four:  Save your changes and re-upload your config.php file to your server.


---


This will clear the cache of your Oxwall installation. It was done this way to protect your site from hackers trying to make changes to your site.


---


Step Five:  After you have made the changes you wanted to make to your site that you were not able to because you needed to clear your cache make sure to change OW_DEV_MODE back to false to re-protect your site.


---


That's it!  I hope these instructions will help someone like me in the future!  :)

Taissa Team
Taissa Sep 29 '15
Ryan, thank you for the work done. Also you can find the instructions here:
https://docs.oxwall.org/plugin-tuts:enable-debug,
https://docs.oxwall.org/...themes-for-beginners.