Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 8th November 2009, 06:19 PM
greg.harvey Offline
Registered User
 
Join Date: May 2009
Location: Uzs, France
Posts: 104
linuxsafari
Timezones totally screwed up

Hi all,

I started getting this error from PHP when calling the date() function:

Code:
PHP Fatal error:  date() [<a href='function.date'>function.date</a>]: Timezone database is corrupt - this should *never* happen!
Further investigation revealed the /usr/share/zoneinfo is missing regions. I can only see an Asia folder, no Europe, etc. (my timezone is CET, Europe/Paris). Worse still, if I try to do a timeconfig from the Linux command line it totally crashes and says:

Code:
No such file or directory: '/usr/share/zoneinfo/zone.tab'
Yikes!

Anyone have any clue how to fix this? I've seen a few posts of lame "you can hack timezone info in to init.d for Apache/PHP to work" type fixes, but they don't address the issue that all the timezone data on the SYSTEM is screwed up and needs re-installing somehow. I don't know what packages would be required to be removed/replaced to fix this.
__________________
http://drupaler.drupalgardens.com
Reply With Quote
 

Tags
screwed, timezones, totally

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I Totally Screwed Up - Uninstalled Perl TKadlec Installation, Upgrades and Live Media 7 12th May 2007 07:23 PM
SBLive 5.1 surround is totally screwed up!! iontyre Hardware & Laptops 0 1st December 2006 10:17 PM
Samba & Nautilus 2.14.0 (in FC5) - Totally Screwed? futz Servers & Networking 4 2nd April 2006 04:03 AM
Help--totally screwed XP MBR virusdoc Installation, Upgrades and Live Media 5 18th August 2004 10:36 PM


Current GMT-time: 11:58 (Saturday, 19-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat