Ad Widget

Collapse

PHP Error: date() expects parameter 2 to be long, string given

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nandu
    Junior Member
    • Aug 2007
    • 3

    #1

    PHP Error: date() expects parameter 2 to be long, string given

    Hi,

    I am running Zabbix 1.4.2 with postgresql as the backend. In the zabbix web interface, I get the following errors at the bottom of the page.

    date() expects parameter 2 to be long, string given[/opt/zabbix/frontends/php/include/config.inc.php:410]

    I have set the "date.timezone" field in the php.ini file set to "America/Los_Angeles".
    i.e.
    date.timezone=America/Los_Angeles (No double quotes around the string)

    Is there any other configuration required to avoid this error? Thanks a lot for your help.

    Regards,
    Nandu
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I believe the timezone is incorrect. Please let me know if you managed to resolve this problem.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...