Jump to content
Sign in to follow this  
Chinascout

[Решено] В шапке сайта: Unknown: date() ...

Recommended Posts

Сразу после установки возникает такая надпись:

 

Unknown: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /home/u58244/alphatorg.ru/www/catalog/controller/common/footer.php on line 46

 

Ссылка http://alphatorg.ru/

Версия v1.5.4.1

 

Прошу помощи. Переустанавливал несколько раз. Проблема не пропадает.

С уважением.

Share this post


Link to post
Share on other sites

Удалось победить.

В указанном файле прописал

date_default_timezone_set('Europe/Moscow');

сразу после <?php

Share this post


Link to post
Share on other sites

Поиск по слову "unknown: date()" вернул 9 результатов

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.

Guest
You are posting as a guest. If you have an account, please sign in.
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.