New version 7.0.3

Hey, I saw the new version. My friend tried to install it in the same server and got this fatar errors:
Fatal error: Uncaught Error: Class “Locale” not found in C:\Program Files\Ampps\www\ehr703\vendor\php81_bc\strftime\src\php-8.1-strftime.php:46 Stack trace: #0 C:\Program Files\Ampps\www\ehr703\library\smarty_legacy\smarty\Smarty_Compiler_Legacy.class.php(405): PHP81_BC\strftime() #1 C:\Program Files\Ampps\www\ehr703\library\smarty_legacy\smarty\Smarty_Legacy.class.php(1501): Smarty_Compiler_Legacy->_compile_file() #2 C:\Program Files\Ampps\www\ehr703\library\smarty_legacy\smarty\Smarty_Legacy.class.php(1434): Smarty_Legacy->_compile_source() #3 C:\Program Files\Ampps\www\ehr703\library\smarty_legacy\smarty\Smarty_Legacy.class.php(1273): Smarty_Legacy->_compile_resource() #4 C:\Program Files\Ampps\www\ehr703\interface\main\calendar\modules\PostCalendar\pnuserapi.php(589): Smarty_Legacy->fetch() #5 C:\Program Files\Ampps\www\ehr703\interface\main\calendar\includes\pnMod.php(433): postcalendar_userapi_buildView() #6 C:\Program Files\Ampps\www\ehr703\interface\main\calendar\modules\PostCalendar\pnuser.php(110): pnModAPIFunc() #7 C:\Program Files\Ampps\www\ehr703\interface\main\calendar\modules\PostCalendar\pnuser.php(75): postcalendar_user_display() #8 C:\Program Files\Ampps\www\ehr703\interface\main\calendar\includes\pnMod.php(465): postcalendar_user_view() #9 C:\Program Files\Ampps\www\ehr703\interface\main\calendar\index.php(155): pnModFunc() #10 {main} thrown in C:\Program Files\Ampps\www\ehr703\vendor\php81_bc\strftime\src\php-8.1-strftime.php on line 46

We followed the same php.ini requirements. Kindly provide input and check.

I fixed this by pasting the error into google gemini and it said to go to your php.ini find the ;extension=intl line and change it to ‘extension=intl’ (remove the semi-colon) and it fixed it for me.

2 Likes

we did that but the issue did not go away. It’s the calendar and the theme that we picked did not apply. Our old version 7.0.2 did not have that problem:

hi @Red_Hood did you try clearing the calendar’s smarty cache?

Admin->Clinic->Calendar->Clear Smarty Cache

oh it’s not actually a smarty error, sorry

I created an account specifically for your post because I was having the exact same problem with the same error message after upgrading to 7.0.3. I’m running OpenEMR on Ubuntu Server 24.04.2 though.

I also tried uncommenting “;extension=intl” without success but fixed my problem after manually installing the PHP intl extension. For Ubuntu I did this with the command “sudo apt-get install php-intl” and then restarting apache. I’m assuming this means my intl extension files was either missing or out of date. I’m not sure about the comparable Windows solution, but checking if the intl.dll file is present and in the correct location might be a good place to start.

intl.dll also has several dependencies for it to work correctly: php - intl extension: installing php_intl.dll - Stack Overflow

I got the same error. I had uncommented the intl extension in php.ini, but got the error anyway. Realized I had never restarted apache after changing php.ini. After doing that, the error went away