Debug Mode 3.8.1
Hi,
I have a fork installation online and want to set it in Debug Mode. But I dont understand how. Can someone explain to me how I do this?
Thanks
You can set debug mode in your virtualhosts file: SetEnv FORK_DEBUG 1
. But you're working on a live website (not on your local machine)? Then you'll need to change .htaccess and add:
<ifmodule mod_setenvif.c=""> SetEnv FORK_DEBUG=1 </ifmodule>
It could be your hosting doesn't support changing the environment variables. I just open index.php inside the root folder and add this line on top right after the <?php: putenv('FORK_DEBUG=1');
Or you can just change $debug = true on line 29 of index.php.
Hi Jesse,
Thanks!
Using 3.8.2 and experience the same 'problem' Cant switch to debug. While installing / checking there was an hosting issue concerning the basedir Can anyone give me a tip? Tx in advance
I can't set the debug from htaccess, so I type this at the first line of index.php after <?php
putenv('FORK_DEBUG=1');
Or isnt this what you mean with switching debug?
I have a website in development. (online) using Fork-cms 3.8.6 Hosted by http://www.mijndomein.nl/webhosting-plus I can't get the debug running ( tried in htaccess and in the index.php file) I made several website with mijndomein but this is the first in webhosting-plus See http://www.new.doorbussum.nl for the error
Anyone a tip for me?
At the moment you get an error about the timezone which has to be set in the php.ini. Please check with mijndomein.nl is this is possible, otherwise: set it by yourself (maybe per .htaccess)
Thanx Jacob, that worked!