Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Fatal error in SP LMS: Call to undefined function cal_days_in_month()

Featured Lock Resolved Bug
Hello! I have installed Educon Quickstart. When I click SP LMS in Components I get:

Fatal error: Call to undefined function cal_days_in_month() in /home/magazinkov/http://oncorad.pet-ronc.ru/docs/administrator/components/com_splms/views/cpanels/tmpl/default.php on line 118

https://yadi.sk/i/Q445s_-K3Kyxqz

PHP 5.6


Please, help)

12 Answers

egorus

More than a month ago #Permalink
Sorry, I had to turn on php module 'calendar'. Now it works:)

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Thanks for the query.

Cristi

More than a month ago #Permalink
Hi,

With PHP 7.1.10 I have "Call to undefined function cal_days_in_month()" in back-end... i need to change the php version to 7.0.24 and this is how is working.
Please make this component work with php 7.1 too.

Thank you.

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
We are will update LMS with more features.

- Thanks

Cristi

More than a month ago #Permalink
Thank you Rifat.
Have a nice day!

Rifat Wahid Alif - Staff

More than a month ago #Permalink
you are always welcome ;)

Cristobal

More than a month ago #Permalink
Hi, I'm having the same problem and can not downgrade to 7.0.24. I'm on 7.1. Could you please make this as urgent as possible? I can not acces to the LMS panel on the backend, and its quite critical.

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Could you please explain about your server details? if possible then pm me your admin access, Because this function is exist in PHP 4 >= 4.1.0, PHP 5, PHP 7. here is details: http://php.net/manual/en/function.cal-days-in-month.php

- Thanks

Cristobal

More than a month ago #Permalink
Hi Rifad, I moved the site to a new hosting. Now I have 7.1 PHP and its working.

Adriel Brunson

More than a month ago #Permalink
Just installed SP LMS and am getting this same error.
This server is running PHP 7.2.15
I have my system admin making sure the calendar module is correctly configured.
Anything else I need to check or will this component not run on 7.2.15?
Thanks,
-a-

Adriel Brunson

More than a month ago #Permalink
After the system admin made sure the calendar module for PHP 7.2.15 was correctly installed and configured the error is gone.

Cristi

More than a month ago #Permalink
Sorry, I had to turn on php module 'calendar'. Now it works:)
Hi,
How did you turned it on?


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 133
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 92
Toufiq

Toufiq

Total Accepted Answers: 24
Pavel

Pavel

Total Accepted Answers: 4
Al Mamun

Al Mamun

Total Accepted Answers: 3

113

Templates

289592

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us