strptime() function is not implemented on Windows platforms.
Everything went well with installation. I am installing the Help Centre on my local machine with following settings: Vista Enterprise + Apache 2 + PHP Version 5.2.5 + mySQL (Client API version 5.0.51a).
On the final step I get the following error.
Fatal error: Call to undefined function strptime() in {drive-letter-then-path-to-location}\helpcenter\Satisfaction.php on line 117
And on line 117 we have:
$date_rec = strptime($date_str, '%a, %d %b %Y %H:%M:%S %Z');
Up-on looking at php.net: http://uk.php.net/strptime
[quote]
Notes
Note: This function is not implemented on Windows platforms.
[/quote]
So this would not work on windows version of php and my production is Windows 2003 Server.
On the final step I get the following error.
Fatal error: Call to undefined function strptime() in {drive-letter-then-path-to-location}\helpcenter\Satisfaction.php on line 117
And on line 117 we have:
$date_rec = strptime($date_str, '%a, %d %b %Y %H:%M:%S %Z');
Up-on looking at php.net: http://uk.php.net/strptime
[quote]
Notes
Note: This function is not implemented on Windows platforms.
[/quote]
So this would not work on windows version of php and my production is Windows 2003 Server.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?A fix is:
replace line 117 with:
$date_rec = strftime ('%a, %d %b %Y %H:%M:%S %Z', $date_str );
things looking good... so far
I’m undecided
-
Inappropriate?A new problem now:
Fatal error: Call to undefined function strptime() in {drive-letter-then-path-to-location}\helpcenter\Satisfaction.php on line 105
Again: http://uk.php.net/manual/en/function....
[quote]
Notes
Note: This function is not implemented on Windows platforms.
[/quote]
will try to fix this once I get time.
I’m undecided
1 person says
this solves the problem
-
Inappropriate?Replace line 105 with:
$date_rec = strftime ( '%Y-%m-%d %H:%M:%S',$date_str );
I’m indifferent
1 person says
this solves the problem
-
Inappropriate?Hi Azizur,
One of our Help Center developers has taken a look at your posts here. It sounds like you've solved your issues. Everything working smoothly now?
I’m glad you're so self-sufficient
-
Inappropriate?Sorry about the trouble there, Azizur. Hope it's working well. In any case, we'll try to address this in a future release.
-
Glad to hear it!
Loading Profile...



EMPLOYEE
EMPLOYEE
