New install failed: "Error: Invalid server type."
Moderator: Thorsten
New install failed: "Error: Invalid server type."
Hi all,
when i do a new install PHPMyFAQ i get an error "Error: Invalid server type." added screenshots should explain more.
I'm using the Microsofts SQL driver for PHP and only using that, my whole website runs on it and works fine, only phpmyfaq does not work. i'm 100% sure that the given settings work.
when i do a new install PHPMyFAQ i get an error "Error: Invalid server type." added screenshots should explain more.
I'm using the Microsofts SQL driver for PHP and only using that, my whole website runs on it and works fine, only phpmyfaq does not work. i'm 100% sure that the given settings work.
You do not have the required permissions to view the files attached to this post.
Re: New install failed: "Error: Invalid server type."
Hi,
could you please post a picture of the ext/sqlsrv information of phpinfo()?
bye
Thorsten
could you please post a picture of the ext/sqlsrv information of phpinfo()?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: New install failed: "Error: Invalid server type."
Hi, sorry for my late reply, but i did not see your reply 
here is the image:

here is the image:
You do not have the required permissions to view the files attached to this post.
Re: New install failed: "Error: Invalid server type."
Hi,
do you see this file: inc/PMF_DB/Sqlsrv.php?
bye
Thorsten
do you see this file: inc/PMF_DB/Sqlsrv.php?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: New install failed: "Error: Invalid server type."
Yes, i see the file:
You do not have the required permissions to view the files attached to this post.
Re: New install failed: "Error: Invalid server type."
Hi,
one file is missing in the 2.6.6 package. Please copy the attached file to the folder install/
Then re-run the setup.
bye
Thorsten
one file is missing in the 2.6.6 package. Please copy the attached file to the folder install/
Then re-run the setup.
bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: New install failed: "Error: Invalid server type."
Ok, then i come a step further:
i see now a bunch of errors wich i added below:
i see now a bunch of errors wich i added below:
You do not have the required permissions to view the files attached to this post.
Last edited by ddaemen on Wed Jul 21, 2010 10:06 am, edited 1 time in total.
Re: New install failed: "Error: Invalid server type."
Hi,
I don't see a your attachment...
bye
Thorsten
I don't see a your attachment...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: New install failed: "Error: Invalid server type."
Hi,
which version of the SQL Server driver do you use?
bye
Thorsten
which version of the SQL Server driver do you use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: New install failed: "Error: Invalid server type."
I use the SQL Driver for PHP 2.0 vc9 nts
Re: New install failed: "Error: Invalid server type."
Hi,
I found the issue, here's the patch: http://github.com/thorsten/phpMyFAQ/com ... ac046200ec
Could you please drop all created tables and re-run the setup?
Thanks!
bye
Thorsten
I found the issue, here's the patch: http://github.com/thorsten/phpMyFAQ/com ... ac046200ec
Could you please drop all created tables and re-run the setup?
Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: New install failed: "Error: Invalid server type."
Hi Thorsten,
thanks, but still have some errors (like attatchement)
i looked through the sqlsrv.php file and changed 2 lines of code on line number 331:
Old:
$stmt = sqlsrv_fetch($result);
return (sqlsrv_get_field($stmt, 0) + 1);
New:
sqlsrv_fetch($result);
return (sqlsrv_get_field($result, 0) + 1);
Then i dropped the tables again, reinstalled all files and runned setup again.
This removes the errors and the main page looks normal now, but i cannot login into the admin panel. i enabled debug mode but the only thing i can see is "DEBUG INFORMATION:" but nothing more.
What can i do?
thanks, but still have some errors (like attatchement)
i looked through the sqlsrv.php file and changed 2 lines of code on line number 331:
Old:
$stmt = sqlsrv_fetch($result);
return (sqlsrv_get_field($stmt, 0) + 1);
New:
sqlsrv_fetch($result);
return (sqlsrv_get_field($result, 0) + 1);
Then i dropped the tables again, reinstalled all files and runned setup again.
This removes the errors and the main page looks normal now, but i cannot login into the admin panel. i enabled debug mode but the only thing i can see is "DEBUG INFORMATION:" but nothing more.
What can i do?
You do not have the required permissions to view the files attached to this post.