php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28715 ibase_timefmt() lost ?
Submitted: 2004-06-09 21:04 UTC Modified: 2004-06-10 08:11 UTC
From: g dot sitnin at mtc dot ru Assigned:
Status: Not a bug Package: InterBase related
PHP Version: 5.0.0RC3 OS: FreeBSD 4.10
Private report: No CVE-ID: None
 [2004-06-09 21:04 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-09 21:42 UTC] 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-10 08:11 UTC] g dot sitnin at mtc dot ru
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! =)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC