When a user hits a MAMS protected page the internal CMSMS created 403 Error page is no longer displayed. Instead, it is the web host's own 403 Error page that is displayed.
I have filed a bug report: https://dev.cmsmadesimple.org/bug/view/12803
403 Error page not working after updating to CMSMS 2.2.22
Re: 403 Error page not working after updating to CMSMS 2.2.22
I was not able to recreate this, so it could be something specific to your server environment. Make sure there's nothing related to error pages in your htaccess or similar, then try on a clean install. If it still happens, add more detail to the bug report (MAMS version, operating system, PHP version, etc.)
Not getting the answer you need? CMSMS support options
Re: 403 Error page not working after updating to CMSMS 2.2.22
I have now tried a completely clean installation of CMS Made Simple 2.2.22 with the same result.
If I set up a CMS Made Simple 403 error page, it is not displayed when I access a MAMS protected page. Instead, the host's 403 error page is displayed.
Test URL: https://lab.webform.dk/cmsms/index.php? ... ed-content
If I set up a CMS Made Simple 403 error page, it is not displayed when I access a MAMS protected page. Instead, the host's 403 error page is displayed.
Test URL: https://lab.webform.dk/cmsms/index.php? ... ed-content
Code: Select all
Cms Version: 2.2.22
MAMS: 1.1.0
CMSMSExt: 1.5.1
SmartyExt: 1.3.0
phpversion: 8.3.25
Server Software: Apache
Server Api: litespeed
Server Os: Linux 4.18.0-553.70.1.lve.el8.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 8.0.43
Re: 403 Error page not working after updating to CMSMS 2.2.22
I can't recreate it with similar settings, so it's likely an htaccess rule (check in higher directories as they cascade) or something specific to this host or hosting environment. Does the same happen for 404 pages? I tested on your url and it looks like it's using the apache default.
Not getting the answer you need? CMSMS support options
Re: 403 Error page not working after updating to CMSMS 2.2.22
Yes the 404 error page does work: https://lab.webform.dk/cmsms/index.php?page=no-result
And I use the htaccess file that comes with CMS Made Simple without modifications or additions.
And I use the htaccess file that comes with CMS Made Simple without modifications or additions.
Re: 403 Error page not working after updating to CMSMS 2.2.22
@webform anything in the php error log? that may help us a bit.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: 403 Error page not working after updating to CMSMS 2.2.22
Also:
-make sure you can see your 403 page (typically has the alias error403)
-check higher directories for htaccess and similar, they are cascading. This could include above the root directory, or even a level only your host can access on shared hosting.
-make sure you can see your 403 page (typically has the alias error403)
-check higher directories for htaccess and similar, they are cascading. This could include above the root directory, or even a level only your host can access on shared hosting.
Not getting the answer you need? CMSMS support options