Maintenance settings do not update
Maintenance settings do not update
Hello,
I moved the site from developer site to production server. I can see on admin side that the webpage is working properly. But I can't change Maintenance setting from "down for maintenace" to "NO" so that the site can be seen in public.
And when I try to change it to "No" - I get a message "The requested URL was not found on this server" In the address bar there is https//...../siteprefs.php?__c=f9a2398ae0146428254. I have modified the database by chancing siteprefs value to f9a2398ae0146428254. That does not help.
I have version 2.2.13 with PHP 7.4
What is the problem
I moved the site from developer site to production server. I can see on admin side that the webpage is working properly. But I can't change Maintenance setting from "down for maintenace" to "NO" so that the site can be seen in public.
And when I try to change it to "No" - I get a message "The requested URL was not found on this server" In the address bar there is https//...../siteprefs.php?__c=f9a2398ae0146428254. I have modified the database by chancing siteprefs value to f9a2398ae0146428254. That does not help.
I have version 2.2.13 with PHP 7.4
What is the problem
Re: Maintenance settings do not update
After moving:
check there's no urls in config.php
check there's no urls in .htaccess
clear the cmsms cache
clear the browser cache
finally, confirm 100% that mod_security isn't enabled. You may have to check with your host, there's no reliable test if you don't have control of it.
check there's no urls in config.php
check there's no urls in .htaccess
clear the cmsms cache
clear the browser cache
finally, confirm 100% that mod_security isn't enabled. You may have to check with your host, there's no reliable test if you don't have control of it.
Not getting the answer you need? CMSMS support options
Re: Maintenance settings do not update
Thanks DIGI3 for your answer.
I have checked all other and now I'm waiting answer from my host about mod_security.
I have checked all other and now I'm waiting answer from my host about mod_security.
Re: Maintenance settings do not update
Not sure what you tried and what preference you changed but that surely won't help.I have modified the database by chancing siteprefs value to f9a2398ae0146428254. That does not help
enablesitedownmessage in the cms_siteprefs table should be 0 or non-existent
Double check you don't have a file 'SITEDOWN' in the tmp/cache/ folder. If you have it, delete it.
Re: Maintenance settings do not update - New problem
Okay, the basic problem solved - host had mod_security enabled.
The site was transferred from develop server and it is working in public fine. But there is an odd problem at the admin side. I cannot modify content pages or add a new page. When I try add a new page I get a blank page and address bar shows: https://xxxx.xx/admin/moduleinterface.php
News are working fine
Some basic is missing???
The site was transferred from develop server and it is working in public fine. But there is an odd problem at the admin side. I cannot modify content pages or add a new page. When I try add a new page I get a blank page and address bar shows: https://xxxx.xx/admin/moduleinterface.php
News are working fine
Some basic is missing???
- Rolf
- Dev Team Member
- Posts: 7825
- Joined: Wed Apr 23, 2008 7:53 am
- Location: The Netherlands
- Contact:
Re: Maintenance settings do not update
Try to clear CMSMS cache and clear your browser history.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Maintenance settings do not update
Both done - problem exist
Re: Maintenance settings do not update
Try running install again, it should ask if you want to 'clean up' the install...
Re: Maintenance settings do not update
Blank page will almost certainly add a line to your php error log describing the issue.
Not getting the answer you need? CMSMS support options
Re: Maintenance settings do not update
Thanks for your swift answers.
I did not run install again yet.
Error log showewd: PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /home/hytsfi/public_html/lib/misc.functions.php:821
PHP extensions: mbstring is enabled
Another question: I have enabled opcache in php extensions (php 7.4) but CMSMS system info shows (also after clearing cache):
PHP 5.5+ Opcode Cache Warning Unabled (Untrue)
I did not run install again yet.
Error log showewd: PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /home/hytsfi/public_html/lib/misc.functions.php:821
PHP extensions: mbstring is enabled
Another question: I have enabled opcache in php extensions (php 7.4) but CMSMS system info shows (also after clearing cache):
PHP 5.5+ Opcode Cache Warning Unabled (Untrue)
Re: Maintenance settings do not update
I would verify with a phpinfo() that the settings you're changing are, in fact, changing. You may have to restart php on your server after changing them, depending upon your host configuration. These may be things you need to discuss with your host or server admin.
Not getting the answer you need? CMSMS support options
Re: Maintenance settings do not update
Yeah, phpinfo() shows that opcache is disabled. I have coctacted my host and waiting for their answer.
Re: Maintenance settings do not update [solved]
All is now working. The host had not activated those extensions (opcacahe and mbstring) - and I mark this thread as [solved]
Thanks for your help - I appreciate.
Matti
Thanks for your help - I appreciate.
Matti