#28715 [Bgs]: ibase_timefmt() lost ?
| From: | g dot sitnin at mtc dot ru | Date: | Thu, 10 Jun 2004 06:11:29 +0000 |
| Subject: | #28715 [Bgs]: ibase_timefmt() lost ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60687@lists.php.net to get a copy of this message | ||
ID: 28715
User updated by: g dot sitnin at mtc dot ru
Reported By: g dot sitnin at mtc dot ru
Status: Bogus
Bug Type: InterBase related
Operating System: FreeBSD 4.10
PHP Version: 5.0.0RC3
New Comment:
But in the documentation this function is present and under WindowsXP
same version of adodb is working properly. Something must be changed,
isn't it.
And at last, I've installed newest version of adodb from the ports...
Anyway, thank you all for this version of PHP! =)
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 21:42:16] abies@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
As stated in the NEWS file, this function was removed.
ADOdb has already been updated to reflect this.
You can also use this function instead
<?php
define('IBASE_DATE','ibase.dateformat');
define('IBASE_TIME','ibase.timeformat');
define('IBASE_TIMESTAMP','ibase.timestampformat');
function ibase_timefmt($format, $which = IBASE_TIMESTAMP)
{
return (bool)ini_set($which, $format);
}
------------------------------------------------------------------------
[2004-06-09 21:04:33] g dot sitnin at mtc dot ru
Description:
------------
[Wed Jun 9 22:59:06 2004] [error] PHP Fatal error: Call to undefined
function ibase_timefmt() in
/usr/local/share/adodb/drivers/adodb-ibase.inc.php on line 253
Reproduce code:
---------------
just include adodb/adodb.inc.php
Under WindowsXP all working good.
Also, this error where disapeared after I've reload apache once. And
it's appeared again at next reload.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28715&edit=1