Error When Calling Data From SQL Server

32 views
Skip to first unread message

Jago Kapok

unread,
Jul 23, 2017, 9:34:11 PM7/23/17
to Fat-Free Framework



I build web app with F3 and SQL Server 2005 (may have expired, hehe). When I running it from my local server (Windows / DB connection use mssql), it runs normally and may be withour any problems.
But, when I running it from real server (Ubuntu / DB connection use dblib), I got that error (like above).
In the same server (another web app), I also using dblib to build connection from web app to database (SQL Server) and it runs normally.

Can anyone explain to me, what's the cause of the error?

ved

unread,
Jul 24, 2017, 10:40:32 AM7/24/17
to Fat-Free Framework
We need more information:

What F3 version are you using? PHP version?

What's the query you're trying to run? (the error states something about a null, so maybe the problem is with the query itself)

Also, set verbose debugging with:

$f3->set('DEBUG',3);

And you can also call the log method on your database handler with:

$db->log();

Where $db is your database resource.

Reply all
Reply to author
Forward
0 new messages