This topic is locked

search fails

9/2/2005 4:29:04 AM
PHPRunner General questions
F
f_m_v_3 author

Fatal error: Uncaught exception 'com_exception' with message 'Source: Microsoft OLE DB Provider for ODBC Drivers

Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'nomecorso'.' in C:\Inetpub\wwwroot\FMV\Corsofmv\include\dbconnection.mssql.win.php:18 Stack trace: #0 C:\Inetpub\wwwroot\FMV\Corsofmv\include\dbconnection.mssql.win.php(18): com->Execute('select [id], ...') #1 C:\Inetpub\wwwroot\FMV\Corsofmv\Corso_list.php(604): db_query('select [id], ...', Object(com)) #2 C:\Inetpub\wwwroot\FMV\Corsofmv\Corso_list.php(444): setupRs('select [id], ...', 20) #3 {main} thrown in C:\Inetpub\wwwroot\FMV\Corsofmv\include\dbconnection.mssql.win.php on line 18

Sergey Kornilov admin 9/2/2005

Hi,
please open include\Corso_variables.php file by any text editor and replace the line:
$dDebug=false;
with this one:
$dDebug=true;
After this you'll be able to see SQL query on your error page. Please post here the whole content of this page.