Page 1 of 1

Strict Standards ...

PostPosted: Tue Aug 14, 2012 4:25 pm
by 23WW32
Strict Standards: mktime(): You should be using the time() function instead in /media/DISK_A1/net/www/pivotx/objects.php on line 2471

PivotX - 2.3.3
PHP - 5.4.5

Re: Strict Standards ...

PostPosted: Thu Aug 16, 2012 8:40 am
by 23WW32
How about any responses ?

Re: Strict Standards ...

PostPosted: Thu Aug 16, 2012 10:22 pm
by Harm10
You could be right that this should be changed. It is a warning right?
I shall notify development about it.

Re: Strict Standards ...

PostPosted: Fri Aug 17, 2012 6:41 am
by 23WW32
This is error! In PHP 5.4 mktime() w/o args must be replaced by time() function.

Re: Strict Standards ...

PostPosted: Fri Aug 17, 2012 7:04 am
by hansfn
Relax. It's a just notice - nothing serious. It will be fixed eventually.

PS! Is the message displayed on your web page, in stead of in the web server error log? If so, that is much more serious ... (Check your display_errors setting.)

Re: Strict Standards ...

PostPosted: Fri Aug 17, 2012 12:33 pm
by 23WW32
This message is appear om web page, not in server log.
My settings:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
display_errors = On
display_startup_errors = Off

Re: Strict Standards ...

PostPosted: Fri Aug 17, 2012 8:23 pm
by hansfn
You should use

Code: Select all
display_errors = Off

This is normally documented very well in php.ini.