To Enable Debug
In the root folder of your AbleCommerce installation, find the "web.config" file. Open it in a text editor.
Turn Off Custom Error Messages
You will need to disable the friendly error page first.
-
Find the following lines of code starting around Line 33:
<customErrors mode="On" defaultRedirect="~/Errors/GeneralError.aspx">
<error statusCode="404" redirect="~/Errors/PageNotFound.aspx" />
</customErrors>
-
Change the customErrors mode to Off as shown in red:
<customErrors mode="Off" defaultRedirect="~/Errors/GeneralError.aspx">
<error statusCode="404" redirect="~/Errors/PageNotFound.aspx" />
</customErrors>
Turn On debugging
Next, you will need to turn on debugging and trace.
-
Find the next section of code starting around Line 88:
<trace enabled="false" requestLimit="10" pageOutput="false" localOnly="true" />
<compilation debug="false" strict="false" explicit="false">
-
Change trace enabled and compilation debug to a value of true as shown in red:
<trace enabled="true" requestLimit="10" pageOutput="false" localOnly="true" />
<compilation debug="true" strict="false" explicit="false">
Enabling debug will affect website performance. You should disable debug when finished.
Copyright © 1994 - 2024 AbleCommerce.com,
All rights Reserved
eCommerce shopping cart software platform
|