On 22/11/2014 23:14, jdebert wrote:
> In re last,
>
> On Fri, 21 Nov 2014 17:25:25 -0800
> jdebert <jd...@ga...> wrote:
>
>> PHP Fatal error: Call to undefined function posix_times()
>> in $PHPWIKI/lib/prepend.php on line 72, referer:
>> http://localhost/
>>
>
> [snip]
>>
>> function DebugTimer()
>> {
>> $this->_start = $this->microtime();
>> $this->_times = posix_times();
>> }
>>
>
> I inserted a line from 1.4.0:
>
> function DebugTimer() {
> $this->_start = $this->microtime();
> if (function_exists('posix_times')) <----- from 1.4.0
> $this->_times = posix_times();
> }
>
> which seems to work so far and even took care of the deprecated
> function warnings. I had installed the php5 posix module before this
> thinking it may resolve the error but it did not.
Hi,
You are right, function posix_times does not always exist,
for example on Windows.
I had removed some function_exists checks for functions
that are supposed to be present in PHP >= 5.3 but for
this one it was not correct.
I have added the check again.
I will look to your SQL problem later.
Thank you for your remarks.
Best regards,
Marc-Etienne Vargenau
--
Marc-Etienne Vargenau Mar...@al...
Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE
+33 1 60 40 28 33 OnNet 2103 2833
|