I don't find </body> </html>

Ask for help or provide support to other members.
Post Reply
pivari
Posts: 8
Joined: Sat Jan 06, 2024 6:56 pm

I don't find </body> </html>

Post by pivari »

I don't find </body> </html>
Is it correct?

User avatar
turboblack
Developer
Posts: 201
Joined: Fri Sep 19, 2014 1:53 pm

Re: I don't find </body> </html>

Post by turboblack »

look in the folder with the theme there is a template file, edit it
http://old.net.eu.org/ Get ready to hamsterization! 8-) code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates

NorfolkGreg
Posts: 90
Joined: Wed Sep 01, 2021 7:50 am

Re: I don't find </body> </html>

Post by NorfolkGreg »

pivari wrote:
Sun Jan 07, 2024 6:36 pm
I don't find </body> </html>
Is it correct?
A year or two back I installed and ran a site using an earlier version of Wcms. All was fine.

A week ago I installed a new site and found I had a blank page. Looking at the source delivered, it was not just the closing </body> </html> that was missing but everything after the opening <body> tag.

I then checked the requirements for 3.4.3. It needs PHP7.4 or greater. My hosting service runs cPanel and it has an option to control the PHP version which was still set to 7.3. I set that to 7.4 and all was well.

Another possibility... I have also run Wcms under an otherwise "empty" sub-domain of my hosting account. cPanel installs an .htaccess file in these which ensures the PHP setting holds good for the sub-domain. Installing Wcms overwrites this and will cause similar problems. The original .htaccess file contains:

Code: Select all


# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
Make sure these five lines appear at the top of the Wcms .htaccess file before uploading it to your host.

At least, that worked for me.

Post Reply