Cannot login system after patch update from 7.0.3(3) to 7.0.3(4)

Situation
Install /Upgraded Patch from 7.0.3 (3) to 7.0.3 (4). I am unable to login and only are presented with a blank white screen after entering credentials.

There was not a problem until after the patch install. System works without Patch upgrade.
Patch install was OK but system would white screen after install.

OpenEMR Version
I’m using OpenEMR version 7.0.3(3)

Browser:
Chrome and Edge

Operating System
Windows server 2022(production system) and Windows 11 Pro(Test system)

Search
Yes

Logs
Did you check the logs? Yes

Was there anything pertinent in them?
((([Sun Jun 15 20:31:22.065611 2025] [php:error] [pid 5912:tid 1948] [client ::1:49989] PHP Fatal error: Uncaught Twig\Error\LoaderError: Unable to find template “interface/main/tabs/tabs_template.html.twig” (looked into: C:\xampp\htdocs\openemr\interface\modules\custom_modules\oe-module-comlink-telehealth\templates, C:/xampp/htdocs/openemr/templates). in C:\xampp\htdocs\openemr\vendor\twig\twig\src\Loader\FilesystemLoader.php:227\nStack trace:\n#0 C:\xampp\htdocs\openemr\vendor\twig\twig\src\Loader\FilesystemLoader.php(131): Twig\Loader\FilesystemLoader->findTemplate(‘interface/main/…’)\n#1 C:\xampp\htdocs\openemr\vendor\twig\twig\src\Environment.php(264): Twig\Loader\FilesystemLoader->getCacheKey(‘interface/main/…’)\n#2 C:\xampp\htdocs\openemr\vendor\twig\twig\src\Environment.php(312): Twig\Environment->getTemplateClass(‘interface/main/…’)\n#3 C:\xampp\htdocs\openemr\vendor\twig\twig\src\Environment.php(280): Twig\Environment->load(‘interface/main/…’)\n#4 C:\xampp\htdocs\openemr\interface\main\tabs\main.php(358): Twig\Environment->render(‘interface/main/…’, Array)\n#5 {main}\n thrown in C:\xampp\htdocs\openemr\vendor\twig\twig\src\Loader\FilesystemLoader.php on line 227, referer: http://localhost/openemr/interface/login/login.php?site=default)))

Your logs says a file is missing.

The missing file is expected to be located here openemr/interface/main/tabs/tabs_template.html.twig

Check if this file exists on your local machine. If not, i wonder why.

Hi Kofi
I have check local and remote systems and searched in the directory for the file and cannot locate. I even looked in an old directory from December 2024 and there are no file listed.

The only file name I see that is close is “tabs_template.php” but it is in “openemr/interface/main/tabs/templates/” directory.

Hey Guys,
Twig template file paths are based on a predefined root to path of templates/ off root i.e. openemr/templates/…
So real path for file is templates/interface/main/tabs/tabs_template.html.twig
or
openemr/templates/interface/main/tabs/tabs_template.html.twig

1 Like

Hi All
If I drill down to the directory "openemr/templates/interface there is only a folder name “smart” that I see. I did not see folder “main”

I did more troubleshooting and found that I was missing the folder. It seen that the folder was in my old directory before I installed patch #3. Why it was missing, I don’t know. I copied the folder over from 7.0.3(2) and the problem is fixed. Many thanks for pointing me in the right direction.