Hello,
We have just recently moved our intranets server to a new an more powerfull machine.
As we launched our intranet som of our ODBC scripts were no longer executabel.
A testscript we run looks as follows :
<?
$db=odbc_connect("scala", "", "") or die ("<p>Ingen kontakt til DSN/database !");
$query="select * from ´ST021000_Statistics´";
$res=odbc_exec($db, $query);
while(odbc_fetch_row($res)) {
print("<br>");
}
odbc_close($db);
?>
There is no differens in php.ini for the new and old machine.
The error we recieve is :
Warning: SQL error: [INTERSOLV][ODBC Btrieve driver][Btrieve]The Record Manager is not loaded., SQL state S1000 in SQLExecDirect in D:\www\oestat2.php on line 4
Warning: odbc_fetch_row(): supplied argument is not a valid ODBC result resource in D:\www\oestat2.php on line 5
We think that it maybe som problem with the new server being to fast, but we don't realy know.
Can anyone help?????
Regards
Johan