-->
Welcome, Guest
Username: Password: Remember me
You can also tweak your setup of Dolibarr by setting hidden configurations found in Dolibarr Setup Other

TOPIC: SOLVED: Getting error if i create leave of more then 1 day

Getting error if i create leave of more then 1 day 10 months 1 day ago #34125

  • jimbo
  • jimbo's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 4
  • Karma: 0
Getting this error on http://ip/holiday/card.php when submitting leave under hrm module more then 1 day
Any help?

Capture.png


Fatal error: Call to undefined function unixtojd() in /var/www/html/core/lib/date.lib.php on line 804
The administrator has disabled public write access.

Getting error if i create leave of more then 1 day 10 months 1 day ago #34126

  • aljawaid
  • aljawaid's Avatar
  • OFFLINE
  • Moderator
  • Learning to be open, one source at a time.
  • Posts: 726
  • Thank you received: 116
  • Karma: 13
Hello

In order for anyone to try to help you, kindly advise which version of Dolibarr you're using.
The administrator has disabled public write access.

Getting error if i create leave of more then 1 day 10 months 1 day ago #34127

  • jimbo
  • jimbo's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 4
  • Karma: 0
7.0.1 version
The administrator has disabled public write access.

Getting error if i create leave of more then 1 day 10 months 1 day ago #34128

  • aljawaid
  • aljawaid's Avatar
  • OFFLINE
  • Moderator
  • Learning to be open, one source at a time.
  • Posts: 726
  • Thank you received: 116
  • Karma: 13
Try updating to 7.0.3 as both incremental updates contain bug fixes.
The administrator has disabled public write access.
The following user(s) said Thank You: jimbo

Getting error if i create leave of more then 1 day 4 months 4 weeks ago #35875

  • aljawaid
  • aljawaid's Avatar
  • OFFLINE
  • Moderator
  • Learning to be open, one source at a time.
  • Posts: 726
  • Thank you received: 116
  • Karma: 13
I had the same problem on 7.0.4. The issue was created by another user here: Issue #10244

The problem is not Dolibarr. You need to have the PHP Calnder extension installed for your version of PHP on your server. Check with your hosting company if you struggle.
The administrator has disabled public write access.
Time to create page: 0.091 seconds