![]() |
|
|
|||||||
| Installation and Configuration Need help installing Delphi for PHP? Having trouble configuring it? Post your questions here! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello
Hi have a db named WEB_ORDINI.gdb, in the hide of DFPHP I set the driver name on borland_ibase and the databasename: WEB_ORDINI.gdb, i put the db,gds32.dll, and all file deployed with wizard procedure, in the folder C:\wamp\www , the WAMPSERVER is goingon good..., version firebird is 1.2...when i run the project in DFPHP the database is connected correctly ... the problem is that,when i click on link localhost , i can see the first page, but the second one, that call the connection on firebird db, i show this error below....can i do something? thanks Notice: Undefined index: file in C:\wamp\www\vcl\classes.inc.php on line 128 Notice: Undefined index: line in C:\wamp\www\vcl\classes.inc.php on line 128 Notice: Undefined index: file in C:\wamp\www\vcl\classes.inc.php on line 128 Notice: Undefined index: line in C:\wamp\www\vcl\classes.inc.php on line 128 Notice: Undefined index: line in C:\wamp\www\vcl\classes.inc.php on line 129 Notice: Undefined index: file in C:\wamp\www\vcl\classes.inc.php on line 129 Application raised an exception class EDatabaseError with message 'Cannot connect to database server' Click for detailed informationCallstack #0 File: C:\wamp\www\ufrmLog.php Line: 7 |_Callstack #1 File: C:\wamp\www\uDataMod.php Line: 24 |_Callstack #2 File: C:\wamp\www\vcl\classes.inc.php Line: 1880 |_Callstack #3 File: C:\wamp\www\vcl\classes.inc.php Line: 1977 |_Callstack #4 File: C:\wamp\www\vcl\classes.inc.php Line: 587 |_Callstack #5 File: Line: |_Callstack #6 File: C:\wamp\www\vcl\classes.inc.php Line: 510 |_Callstack #7 File: C:\wamp\www\vcl\classes.inc.php Line: 1232 |_Callstack #8 File: C:\wamp\www\vcl\db.inc.php Line: 391 |_Callstack #9 File: C:\wamp\www\vcl\system.inc.php Line: 330 |_Callstack #10 File: C:\wamp\www\vcl\dbtables.inc.php Line: 154 |_Callstack #11 File: C:\wamp\www\vcl\db.inc.php Line: 431 |_Callstack #12 File: C:\wamp\www\vcl\dbtables.inc.php Line: 286 |
| Sponsored Links |
|
|
|
||||
|
Hi,
try to answer step by step... rename database when offline with other more confortable extension. Firebird suggest to have .fdb extension to database file, exp. on windows where .gdb is reserved for system use. Another reason to do so, is that for historical reasons, .gdb is for Interbase database files. Now that projects are definitively forked, it's a good reason to identify which is which.No, select "firebird" in Adodb components (i.e. general Database components) instead and don't use Interbase dedicated component to interface to Firebird. There are some little differences for SELECT spec. in SQL language and PHP software querying for metadata can't create correct queries... Quote:
Quote:
Quote:
Obviously, the first thing I'd check is: what happens at line 128 and 129 of classes.inc.php? Undefined index means (indirectly) that maybe a NULL or void string is replacing a meaningful information among other things. In my D4PHP version that happens in a the exception management, retrieving information from the stack for trace, so don't care for the moment. Quote:
Try to attach some of your code, so it's possible to identify what happens exactly. ANother thing: in my version of D4PHP sources line 1880 of classes.inc.php is a comment. Which version of D4PHP are you using now?
__________________
Ciao. Mimmo. Last edited by u.masotti; 5th July 2009 at 13:24. Reason: Version of D4PHP |