Installing problems

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

dilbert
Posts: 2
Joined: Wed Nov 09, 2005 2:16 pm

Installing problems

Post by dilbert »

Hi!

When I'm trying to install the faq6dev version, I get this error:
"The connection to the PostgreSQL server could not be established."

I'm using MS SQL Server 2000, and I cannot see why this error occurres. Any ideas?

dilbert
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you mean 1.6.0-dev?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dilbert
Posts: 2
Joined: Wed Nov 09, 2005 2:16 pm

Post by dilbert »

>>do you mean 1.6.0-dev?

Yes. No matter what I write (SQL Server host, SQL user name and so on) the same error occures when I press the "Install phpMyFAQ" button:
"The connection to the PostgreSQL server could not be established."

dilbert
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I don't think that 1.6.0-dev will successfully install anythere... please use the stable version. 1.6.0-dev is only for developers...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
clambers
Posts: 6
Joined: Wed Dec 07, 2005 8:41 pm
Location: Michigan, USA

Post by clambers »

I am using version 1.5.4 and am also having the same issue as decribed above.

Please adivse on what I can do.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which database do you use and do you see it in a phpinfo() page?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
clambers
Posts: 6
Joined: Wed Dec 07, 2005 8:41 pm
Location: Michigan, USA

Post by clambers »

What do you mean by phpinfo() page?

I am using SQL 2000 sever.

The error I recieve states the following:

The connection to the PostgreSQL server could not be established
Fatal error: Call to undefined function ms_last_error() in c:\Inetpub\wwwroot\FAQ\inc\mssql.php on line 82
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

please put a file called info.php with the following content on your server:

Code: Select all

<?php phpinfo(); ?>
Do you see MS SQL enabled?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
clambers
Posts: 6
Joined: Wed Dec 07, 2005 8:41 pm
Location: Michigan, USA

Post by clambers »

Here is what I find under MS SQL:

mssql
MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version 7.0

Directive Local Value Master Value
mssql.allow_persistent On On
mssql.batchsize 0 0
mssql.compatability_mode Off Off
mssql.connect_timeout 5 5
mssql.datetimeconvert On On
mssql.max_links Unlimited Unlimited
mssql.max_persistent Unlimited Unlimited
mssql.max_procs Unlimited Unlimited
mssql.min_error_severity 10 10
mssql.min_message_severity 10 10
mssql.secure_connection Off Off
mssql.textlimit Server default Server default
mssql.textsize Server default Server default
mssql.timeout 60 60
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

please try a stable snapshot from our download page and try a fresh installation. It seems, the 1.5.4 MS SQL support is a little bit buggy.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
clambers
Posts: 6
Joined: Wed Dec 07, 2005 8:41 pm
Location: Michigan, USA

Post by clambers »

What version would you reccomend for me to try?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the 1.5.x stable snapshot.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
clambers
Posts: 6
Joined: Wed Dec 07, 2005 8:41 pm
Location: Michigan, USA

Post by clambers »

Okay, I will try that ...

Do I simply exract the files over the other ones?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you should delete all old files before copying the new ones.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
clambers
Posts: 6
Joined: Wed Dec 07, 2005 8:41 pm
Location: Michigan, USA

Post by clambers »

I installed this and I no longer recieve the same error page, but it is still not working.

It loads the system, but at the top it says can't connect to server.

I have tried many different combinations of server name, user and password for no results.

Does the SQL database need to be created before running your installer? Or does the install create the database and tables?

Thanks for all your help on this!
Post Reply