We tried to make a change to the description on a category today, and when we tried to save it we received the generic error page:
We are sorry, but the page you are trying to access has experienced an error.
Please contact us to report this problem.
Nothing shows up in the error log. We subsequently tried Save and Close and received the same error. Even just clicking on Close creates the error! Can anyone help here?
Cannot change category descriptions- get error page
Cannot change category descriptions- get error page
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Cannot change category descriptions- get error page
I seem to have resolved the issue by changing the Admin/web.config file as follows:
Does anyone see any issues with this? I figured that this may help as it was only throwing an error when we had HTML code in the Description field.
Code: Select all
From
<system.web>
<pages masterPageFile="~/Admin/Admin.Master" theme="AbleCommerceAdmin" />
To
<system.web>
<pages masterPageFile="~/Admin/Admin.Master" theme="AbleCommerceAdmin" validateRequest="false" />
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: Cannot change category descriptions- get error page
Often times an upgrade to 7.0.7 will include a change from ASP.Net 2.0 to ASP.Net 4.0.
When that happens, some of the page validation code isn't compatible with .Net 4.0 like it should be. Some pages will throw weird validation errors after clicking a submit or OK button of some kind. I don't fully understand the technicals, but I know what fixed it on my site.
Edit the web.config and look for a httpRuntime tag in the system.web section. If it's not there, add this line immediately below the <system.web> tag:
if it's already there, just edit the line to include the new parameter above for requestvalidationmode. If you're running my Quickbooks module, bump that maxrequestlength up to 16384.
Not sure if that will solve it for you, but it fixed many of the page errors I was getting on my site after moving to 7.0.7 and .Net 4.0.
When that happens, some of the page validation code isn't compatible with .Net 4.0 like it should be. Some pages will throw weird validation errors after clicking a submit or OK button of some kind. I don't fully understand the technicals, but I know what fixed it on my site.
Edit the web.config and look for a httpRuntime tag in the system.web section. If it's not there, add this line immediately below the <system.web> tag:
Code: Select all
<httpRuntime maxRequestLength="4096" requestValidationMode="2.0" />
Not sure if that will solve it for you, but it fixed many of the page errors I was getting on my site after moving to 7.0.7 and .Net 4.0.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Cannot change category descriptions- get error page
We stayed with .Net 2.0, as things are running rather smoothly (other than a few upgrade battles).
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot