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

Your Time: Our Time:

I can not access the MEDICAL component , error: Call to undefined function cal_days_in_month()

Featured Lock Resolved Issue
After installing SP MEDICAL I get the following error and I will not be allowed to enter the component.

I have activated the joomla debugger and it shows me the error that I attached. (See img2 SPMEDICAL)

I have tried PHP 7.1 and 7.2 and it produces the same error. My current version of PHP is 7.2.11

Attachments (2)

  • Captura de pantalla 2018-12-14 a la(s) 12.17.47 p. m..png
    Captura de pantalla 2018-12-14 a la(s) 12.17.47 p. m..png 179 KB
  • img2 SPMEDICAL.jpg
    img2 SPMEDICAL.jpg 73 KB

6 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please send me the Joomla administrator access & Database access via PM.

-Thanks

Jaider Mengual

More than a month ago #Permalink
Hi there,

Please send me the Joomla administrator access & Database access via PM.

-Thanks

Good day, we still continue with the inconvenience.
In order for the extension to work, we had to comment on line 81 of the file in question.

We are waiting for your instructions.

Toufiq - Staff

More than a month ago #Permalink
Hi there,

I have forward to our developer team. Hold on for the developer team feedback.

-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please check now & let me know.

old code

$days = cal_days_in_month(CAL_GREGORIAN, $month, $year); OJO SI ACTIVO ESTA LINEA SE PRODUCE ERROR EN LA APP


New code

$days = cal_days_in_month(CAL_GREGORIAN, $month, $year); //OJO SI ACTIVO ESTA LINEA SE PRODUCE ERROR EN LA APP


-Thanks

Jaider Mengual

More than a month ago #Permalink
Hi there,

Please check now & let me know.

old code

$days = cal_days_in_month(CAL_GREGORIAN, $month, $year); OJO SI ACTIVO ESTA LINEA SE PRODUCE ERROR EN LA APP


New code

$days = cal_days_in_month(CAL_GREGORIAN, $month, $year); //OJO SI ACTIVO ESTA LINEA SE PRODUCE ERROR EN LA APP


-Thanks


Cofrrect, it's working.
I would like to know where the error is. I have installed the SP LMS component and it throws me the same error, I also have to comment the line to be able to continue working.

I look forward to your help.

Attachments (2)

  • ERROR SP LMS.png
    ERROR SP LMS.png 424.2 KB
  • ERROR SP LMS.png
    ERROR SP LMS.png 411.3 KB

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please check now & let me know.

old code

$days = cal_days_in_month(CAL_GREGORIAN, $month, $year); OJO SI ACTIVO ESTA LINEA SE PRODUCE ERROR EN LA APP


New code

$days = cal_days_in_month(CAL_GREGORIAN, $month, $year); //OJO SI ACTIVO ESTA LINEA SE PRODUCE ERROR EN LA APP


-Thanks


Cofrrect, it's working.
I would like to know where the error is. I have installed the SP LMS component and it throws me the same error, I also have to comment the line to be able to continue working.

I look forward to your help.


Hi there, The LMS also has the same problem? Could you send me the Joomla administrator access via P? Thanks


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

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 130
Toufiq

Toufiq

Total Accepted Answers: 103
Sifat

Sifat

Total Accepted Answers: 67
RV

RAFFAELE VIOLA

Total Accepted Answers: 2
G

Geert

Total Accepted Answers: 1

116

Templates

299775

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