philbertphotos / osticket-multildap-auth-plugin

Plugin for OS Ticket that allows for authentication with multiple domains.
GNU General Public License v3.0
28 stars 16 forks source link

DateTimeZone : Unknow or bad timeone() #9

Closed jianfzhu closed 5 years ago

jianfzhu commented 6 years ago

When i enable Mutil LDAP plugin. the web page can't open. in apache log display "PHP Fatal error: Uncaught exception 'Exception' with messages 'DateTimeZone: construct(): Unknow or bad timezone()" in plugins/multi-ldap/auth.php:58\nStack trace:\n#0..............

my Environment: osticket 1.9.16 php 5.6.32 mariadb: 10.1.29

Timezone: Asia/Shanghai linux date --> Fri Jan 12 17:00:00 CST 2018

And i setup in osticket 1.10.1. it no error. but no user sync.

philbertphotos commented 6 years ago

I cant duplicate that error. Suggestion is to update PHP On Fri, Jan 12, 2018 at 05:33 AM, "jianfzhu" wrote: When i enable Mutil LDAP plugin. the web page can't open. in apache log display "PHP Fatal error: Uncaught exception 'Exception' with messages 'DateTimeZone: construct(): Unknow or bad timezone()" in plugins/multi-ldap/auth.php:58nStack trace:n#0.............. my Environment: osticket 1.9.16 php 5.6.32 mariadb: 10.1.29 Timezone: Asia/Shanghai linux date --> Fri Jan 12 17:00:00 CST 2018 And i setup in osticket 1.10.1. it no error. but no user sync. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/philbertphotos/osticket-multildap-auth/issues/9), or mute the thread (https://github.com/notifications/unsubscribe-auth/ACwiuq4tTnxqLGp7RSehSo3217-1mlRMks5tJya_gaJpZM4RcBtp).

philbertphotos commented 6 years ago

Can you show me what you have actually set in Osticket?

On Fri, Jan 12, 2018 at 05:33 AM, "jianfzhu" wrote: When i enable Mutil LDAP plugin. the web page can't open. in apache log display "PHP Fatal error: Uncaught exception 'Exception' with messages 'DateTimeZone: construct(): Unknow or bad timezone()" in plugins/multi-ldap/auth.php:58nStack trace:n#0.............. my Environment: osticket 1.9.16 php 5.6.32 mariadb: 10.1.29 Timezone: Asia/Shanghai linux date --> Fri Jan 12 17:00:00 CST 2018 And i setup in osticket 1.10.1. it no error. but no user sync. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/philbertphotos/osticket-multildap-auth/issues/9), or mute the thread (https://github.com/notifications/unsubscribe-auth/ACwiuq4tTnxqLGp7RSehSo3217-1mlRMks5tJya_gaJpZM4RcBtp).

jianfzhu commented 6 years ago

i re-install it. now it display ost_ldap_sync doesn't exist in system logs. how to create the table?

philbertphotos commented 5 years ago

FIXED in the new version.