Calendar bug in 7.0.1

Situation
Hello good day, I just updated to version 7.0.1, I did everything, change the openemr folder, the default folder in sites, update, download and apply patch 1, and when I open openemr again, the calendar is not observed, in the tab it only says “unknown”, my patient database is intact, but I can’t load the calendar, can someone help me?

OpenEMR Version
I’m using OpenEMR version 7.0.1

Browser:
I’m using: Firefox

Operating System
I’m using: Linux

Search
Did you search the forum for similar questions? Yes

Logs
Did you check the logs? No
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

Update:
I turn on user debugging and give me this error:
Fatal error: Smarty error: unable to write to $compile_dir ‘/var/www/html/openemr/sites/default/documents/smarty/main’. Be sure $compile_dir is writable by the web server user. in /var/www/html/openemr/library/smarty_legacy/smarty/Smarty_Legacy.class.php on line 1105

and this is what i can found in smarty_legacy.class.php
line 84: var $compile_dir = ‘templates_c’;
line 1105: trigger_error(“Smarty error: $msg”, $error_type);

Thanks for your help

check that your documents directory is writable

1 Like

Hello, thank you very much, I use linux, and for some reason the directory had some type of security that did not allow it to be written to, i enter as root and change the permissions and everything worked correctly, thank you very much!

1 Like