When an error occurs in Smarty will be displayed page and listing error. This is a potential security problem.
https://www.google.com/?q="cms+made+sim ... console%22
The ideal would be:
- display an error page in the design of the site
- logging errors with a short unique code
- show this unique code on the page with an explanation of how to proceed
How does such magento: http://magebase.com/magento-tutorials/c ... ance-page/
How do I customize Error Console (smarty exception page)?
Re: How do I customize Error Console (smarty exception page)
Huhh good catch!! I don't know about a potential security problem though, but it isn't good advertising... I added meta noindex to the template in the SVN.
Most errors are due to the new Smarty3 (even one of my own sites was listed) i.e. typos like missing quotes in Smarty tags.
You can change the template yourself at lib/smarty/error-console.tpl. Note it will be overwritten during upgrades.
Grtz. Rolf
Most errors are due to the new Smarty3 (even one of my own sites was listed) i.e. typos like missing quotes in Smarty tags.
You can change the template yourself at lib/smarty/error-console.tpl. Note it will be overwritten during upgrades.
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: How do I customize Error Console (smarty exception page)
Details of the error should not be displayed, but only save to log.
http://www.cmsmadesimple.org/NMS/94/message/28/
http://www.cmsmadesimple.org/NMS/94/message/16/
http://www.cmsmadesimple.org/NMS/94/message/28/
http://www.cmsmadesimple.org/NMS/94/message/16/
Re: How do I customize Error Console (smarty exception page)
I will investigate this some more.
Thanks for reporting.
Thanks for reporting.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: How do I customize Error Console (smarty exception page)
I changed it in the SVN:
The error console page only shows the technical information to the logged in administrator.
A truncated error message will be added to the cmsms adminlog.
Changes will be shipped in next 1.11.8.1 release.
The error console page only shows the technical information to the logged in administrator.
A truncated error message will be added to the cmsms adminlog.
Changes will be shipped in next 1.11.8.1 release.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: How do I customize Error Console (smarty exception page)
Perfect.
In the future, could schedule a user template for this error page.
In the future, could schedule a user template for this error page.