You are using phpFox version earlier than 4.6.0? Please refer instruction for this article here.
Debug is a great tool for troubleshooting issues on your site. Many times, you will be asked if you enabled and tested with this tool on. Before posting for help anyplace, be sure to have checked your site with debugging as it will usually point to any errors and save you time in troubleshooting. This tutorial will show you how to enable debug. This requires you to know your license ID and Key. Many times in our tutorials you will see us refer to "yoursite.com" without the quotes. You are to replace that with your own site domain.
To enable debug, first visit yoursite.com/PF.Base/tools/debug.php . You will note that we don't have index.php as part of this URL. You need to make sure you do not put that when visiting the URL or it won't work.
This is wrong:and this is correct even if you are not using short URLs.
Once there, you will see a screen like the following:
In the image above, you can see that our site already had it enabled. Your site will show Debug: Disabled until you enable it. Do so by entering the License ID and Keys where the box shows and click Toggle Debug Mode.
Once you have it enabled, visit your site and check around for issues. If you were having specific problems, look there or do that thing that caused problems and see if any errors show up when you go to that page or do that action.
Once you are done using debug, go to the same URL you went to in order to enable it and click to Toggle Debug Mode. It is not good to keep debug enabled on a live site.
|Keep the debug screen open on 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.
In that file, put the following code,
<?php define('PHPFOX_DEBUG', true);