Time zone problem with 1and1 hosting

by CPH007
7 replies
Hello All,

Well I am building mobile sites at present but have an issue with timezone settings on 1and1 hosting. I have removed the timezone line altogether from a couple of my demo sites but not something to do going forwards. I have tried changing it to Europe/London but have a feeling their servers are elsewhere. I tried Europe/Berlin as that was one google result but no joy!

Here is the error message:
Fatal error: Call to undefined function: date_default_timezone_set() in .............

Any help much appreciated.

Cheers,

Colin
#1and1 #hosting #problem #time #zone
  • Profile picture of the author Michael71
    Google:

    Fatal error: Call to undefined function: date_default_timezone_set()

    What does it show?

    It may be an old php version... which versions is your hoster running?

    Please give some more informations... just an error message is not enough.

    http://board.phpbuilder.com/showthre..._timezone_set()

    Did you ask 1&1 yet?
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[8067362].message }}
  • {{ DiscussionBoard.errors[8067536].message }}
  • Profile picture of the author RobinInTexas
    Create a file "phpinfo.php" and install it on the site and run it.

    Code:
    <?php
    
    
    phpinfo();
    
    ?>

    It wall tell you what you need to know, or give you the information you need to ask for help
    Signature

    Robin



    ...Even if you're on the right track, you'll get run over if you just set there.
    {{ DiscussionBoard.errors[8068184].message }}
  • Profile picture of the author MemberWing
    Contact 1and1 and ask them to add support for function: date_default_timezone_set()
    Although 1and1 is the slowest hoster I ever dealt with. Not recommended.
    {{ DiscussionBoard.errors[8074348].message }}
    • Profile picture of the author Vid Yo
      Originally Posted by MemberWing View Post

      Contact 1and1 and ask them to add support for function: date_default_timezone_set()
      Good luck with that! The customer service is not so good.

      I'll never use them again.
      Signature
      Need Web Design Leads?
      These Aren't Your Average Kind. Click Here Now!
      {{ DiscussionBoard.errors[8478629].message }}
  • Profile picture of the author CPH007
    thanks for the feedback people. i got no help from obile money code support but have since bought WillR mobile business and their support is excellent. They suggested same with regards to getting functions enabled.

    Many thanks,

    Colin
    Signature

    Double Or Even Triple Your Sales With Powerful Copy Writing …

    …PM For Details

    {{ DiscussionBoard.errors[8078788].message }}
  • Profile picture of the author IdeaBox
    In your php.ini (if you don't have one just create one with notepad) add this. Change the TimeZone as you need.

    Code:
    [Date]
    date.timezone = "America/Los_Angeles"
    {{ DiscussionBoard.errors[8478708].message }}

Trending Topics