Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
Keep the debug screen open in one screen while visiting your site in a different tab. This makes it easier to disable debug after.

There may be times, such as installing or upgrading from legacy versions, that you need to enable debug via the file creation method. Here's how.

  1. Create a file named debug.sett.php.
  2. In that file, put the following code, 

    Code Block
    languagephp
    <?php
    define('PHPFOX_DEBUG', true);
  3. Upload it to your server to PF.Base/file/settings/
  4. Now, visit your site and see if there are errors showing. You don't need to visit that file at your site, just visit your normal site url. Example: If you were trying to install and it wasn't working, now that the debug file is loaded, just go to http://yoursite.com (replace the url there with your own domain). Try to run the install again and see what errors show during that process.
  5. Once done troubleshooting, you can either delete the file or just go into the file and change the "true" to "false" and save it.