PDA

View Full Version : setup error



richie
03-02-2003, 05:38 AM
i am sorry to put this message up again, i have just registed and would like to see if someone can help me with the error i am getting.

this error comes up when i try to view the configurator.php page.


Fatal error: Call to undefined function: mssql_pconnect() in d:\webspace\coastpro\open-realty\include\adodb\drivers\adodb-mssql.inc.php on line 279



if anyone could give me a few pointers i would be very greatful.


thank you

richie :?

richie
03-02-2003, 06:50 AM
its on a windows 2000 server

running mssql

open realty version 1.06

thank you

Snorii
03-02-2003, 04:54 PM
I'm not really sure. What do you have for your basepath and baseurl?

richie
03-02-2003, 05:17 PM
my basepath and url seem to be ok, because the first basepath error i had i fixed.

do you have any other ideas???

Snorii
03-02-2003, 10:19 PM
Have you already created the database?
If so, make sure that you have a user that has access to the database, and that you have the correct user and password in the common.php file.

Check to see what version of php you have. In the file adodb-mssql.inc.php, right before line 279, there is a statement that says,

"Parameter: mssql_bind only available since PHP 4.1.0"
so it looks like you need at least 4.1 for this to work.

I've never used mssql, so I'm not real sure about the whole setup etc.

- Snorii

Anonymous
03-02-2003, 10:31 PM
in common.php where it says
$conn->PConnect($db_server, $db_user, $db_password, $db_database);
try using connect instead of PConnect.
$conn->Connect($db_server, $db_user, $db_password, $db_database);
hope you have changed $db_type = "mysql"; to mssql.
varkey