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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 + 38 = ?
Subscribe to this entry?

 
 [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: Fri Apr 19 17:01:30 2024 UTC