When I tried to execute a script that using date function on my Vortex, i got this error message.
"PHP Fatal error: date(): Timezone database is corrupt - this should *never* happen!".
Actually, this happened a long time ago, but only today I gave my efficient time tried to solve this problem. Luckily,I found the solution with just a few minutes.
Solution :
Make sure that web server(I'm using lighttpd on vortex) has enough access to read
/etc/localtime
/usr/share/zoneinfo
if localtime is not exist, you can copy the file from any Linux system.
Malaya Merdeka - from Ash's vinyl collection
1 year ago