My company website was working fine this morning. When I visited this afternoon, the site formatting had completely collapse. It now reads like HTML (see picture).
I signed into the Admin. I went to Pages and I can only view my page Content as HTML code despite the 'View HTML' box not being checked.
Because I have very little coding experience, I wasn't sure what to look for in the CSS so I have no clue if it's something in the code for my Templates or Stylesheets.
Please assist.
Website appears as HTML code
Re: Website appears as HTML code
A few things may be in the origin of the issue:
- something may have been edited and broke the site;
- the host may have made a change on the server that may have caused it to broke (like a PHP upgrade as an example);
It seems that the site (page) header is not being rendered which may be caused by a PHP error.
We need more info about the site before we can help further, mainly the system info that you should be able to get from the backend of cmsms: https://docs.cmsmadesimple.org/troubleshooting/tips .
That should tell us the CMSMS version, PHP version and other things that may help.
- something may have been edited and broke the site;
- the host may have made a change on the server that may have caused it to broke (like a PHP upgrade as an example);
It seems that the site (page) header is not being rendered which may be caused by a PHP error.
We need more info about the site before we can help further, mainly the system info that you should be able to get from the backend of cmsms: https://docs.cmsmadesimple.org/troubleshooting/tips .
That should tell us the CMSMS version, PHP version and other things that may help.
"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: Website appears as HTML code
Thanks, Jo.
According to our System Infomration, our CMSMS version is 1.11.10 and the PHP is 7.1.15.
I've attached a screenshot of the PHP info. I noticed some 'Caution' symbols in there - not sure if those are indicating the issue...
According to our System Infomration, our CMSMS version is 1.11.10 and the PHP is 7.1.15.
I've attached a screenshot of the PHP info. I noticed some 'Caution' symbols in there - not sure if those are indicating the issue...
Re: Website appears as HTML code
A version of CMSMS that old may not work on PHP 7.x, so it's possible your host upgraded it without your knowledge.
Not 100% certain that's it, but it's possible. You may also just want to try clearing the site cache.
You also need to make upgrading CMSMS a priority. If it's not something you're comfortable with, there is a 'commercial help wanted' forum, as well as our Hire-a-Dev program.
Not 100% certain that's it, but it's possible. You may also just want to try clearing the site cache.
You also need to make upgrading CMSMS a priority. If it's not something you're comfortable with, there is a 'commercial help wanted' forum, as well as our Hire-a-Dev program.
Not getting the answer you need? CMSMS support options
Re: Website appears as HTML code
RETAdmin wrote:ccording to our System Infomration, our CMSMS version is 1.11.10 and the PHP is 7.1.15.
That's most surely it. That version of CMSMS may eventually work with a PHP version of 5.3.x-5.6.x and that depending on 3rd party modules...DIGI3 wrote:A version of CMSMS that old may not work on PHP 7.x, so it's possible your host upgraded it without your knowledge.
Not 100% certain that's it, but it's possible. You may also just want to try clearing the site cache.
"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: Website appears as HTML code
Thank you both.
I have done upgrading before … but for a Wordpress Site.
I'm trying to locate on the backend the script folder to download a backup of our site before upgrading but I can't find it.
Where is the script folder located?
I have done upgrading before … but for a Wordpress Site.
I'm trying to locate on the backend the script folder to download a backup of our site before upgrading but I can't find it.
Where is the script folder located?
Re: Website appears as HTML code
I'm not sure what you mean by the backend script folder. Are you looking for an automated utility to back up the site? There are one or two modules that will do this, but generally the backup procedure is simply:
- clear CMSMS cache
- tar.gz all of the files (using your host's file manager or shell)
- backup the database (using phpmyadmin, shell, or utility of your choice)
Not getting the answer you need? CMSMS support options