Jump to content
umarizal

Warning: Date_Default_Timezone_Get() [Problem Solved]

Recommended Posts

Hi friends!

 

I spent some time without logging into the Revive Adserver. When I will log in today, this message appeared:

 

Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/USER/public_html/ads/variables.php on line 67

My server is located in Sao Paulo, Brazil. I use GMT Zone -3 hours (America/Sao_Paulo) in the server (WHM > Server Configuration > Server Time > Configure Timezone).

The server zone settings were not changed, are correct. What can be?

Thank you all ;-)

Share this post


Link to post
Share on other sites

Problem solved. Recompile Apache PHP adding to said resource.

I have the same problem of warnings. Could you explain a little bit more what you did exactly ? I don't understand the "said ressource" you are talking about.

Thanks for your help.

Edited by mattheoh

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...