Errors after upgrading to 2.6.5

Please report bugs here!

Moderator: Thorsten

Post Reply
ddaemen
Posts: 9
Joined: Wed Jun 02, 2010 3:37 pm

Errors after upgrading to 2.6.5

Post by ddaemen »

Hi all,

1st i have changed my php version 5.2.12 ISAPI to 5.3.2 FastCGI

then i noticed phpmyfaq did not work anymore cause mssql extension is not included anymore in this php version.

so i changed it to microsofts php sql server driver 2.0 (wich i had already installed)

then i upgraded the phpmyfaq, but while upgrading i got some sql errors. so i looked at the upgrade.php, did the sql commands myself (wich are needed, cause some where already done) and removed them from upgrade.php and upgraded again, got success message.

I still have some errors after upgrading from 2.5.5 to 2.6.5.

phpMyFAQ warning [2]: sqlsrv_get_field() expects parameter 1 to be resource, boolean given in Sqlsrv.php on line 332
phpMyFAQ warning [2]: sqlsrv_num_rows(): supplied resource is not a valid sqlsrv_stmt resource in Sqlsrv.php on line 181
phpMyFAQ warning [2]: sqlsrv_num_rows(): supplied resource is not a valid sqlsrv_stmt resource in Sqlsrv.php on line 181

Also the CSS is not loaded.

The phpmyfaq works fine. i see categories and contents of it.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Errors after upgrading to 2.6.5

Post by Thorsten »

Hi,

the new SQL Server driver is still marked as experimental.

It seems that no new internal database table ID can be returned from the function PMF_DB_Sqlsrv::nextID().

Could you please turn on the DEBUG mode and tell me after which query the error occurs?

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ddaemen
Posts: 9
Joined: Wed Jun 02, 2010 3:37 pm

Re: Errors after upgrading to 2.6.5

Post by ddaemen »

i changed define('DEBUG', false); to define('DEBUG', true); in inc\Init.php wich gives me only a text DEBUG INFORMATION: on the bottom of the screen.

What i also noticed: i cannot login with my credentials, altough de database is filled with the users i already had.

And i do not see faq records, only categories i've made but not any records in it, only i see the faq records in the top 10 on the right side, when i click them, they opens fine.

And i managed to get CSS back :D
Post Reply