HTML content missing from some pages
- 
 HTML content seems to be sporadic. The main page looks fine: 
  But some pages return plain text instead: 
  Found this in the ssl logs: [Thu Mar 25 14:33:35.087212 2021] [php7:error] [pid 3778] [client xxx.xxx.xxx.19:34716] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (not finished yet) at position 0 (n): The timezone could not be found in the database in /var/www/html/fog/lib/fog/fogbase.class.php:1113\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(1113): DateTime->__construct('not finished ye...', Object(DateTimeZone))\n#1 /var/www/html/fog/lib/fog/fogbase.class.php(1194): FOGBase::niceDate('not finished ye...')\n#2 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3073): FOGBase::validDate('not finished ye...')\n#3 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3242): HostManagementPage->hostSnapinHistory()\n#4 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): HostManagementPage->edit()\n#5 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#6 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 1113, referer: https://fogserver.domain.com/fog/management/index.php?node=host&sub=listdate.timezoneis configured in php.ini. I did update to the latest dev-branch earlier this week. Also noticed I was using MariaDB 5.5 so updated that to 10.4.
 Thank you!
- 
 @altitudehack said in HTML content missing from some pages: FOGBase::validDate(‘not finished ye…’)\n#3 /var/www/html/fog/lib/pages/hostmanagementpage.class.php(3242) Definitely an issue in the dev-branch code (ref). Thanks for reporting. Will fix that soon. 
- 
 @altitudehack Oh well, lost track of this topic, sorry. Looking into this again I don’t think the mentioned change would actually cause the CSS styling to fail as we see in the picture. Which pages did you load to get the HTML content? 
- 
 @sebastian-roth Here’s the URL of a page that correctly displays html: 
 https://fogserver.domain.com/fog/management/index.php?node=host&sub=list
  And here’s one that is just plain text: 
 https://fogserver.domain.com/fog/management/index.php?node=host&sub=edit&id=49
  
- 
 @altitudehack Thanks and sorry for the long time it took. Finally found time to fix the issue and push to dev-branch. Please update to the latest. 
- 
 This post is deleted!
- 
 This post is deleted!