New Install Logon Failure [message #445] |
Sat, 09 December 2006 08:23 |
jk.harris
Messages: 4 Registered: December 2006
|
Junior Member |
|
|
Greetings,
I am a PHP newbie and have just installed radicore on my local Win XP/Apache/PHP 5/Postgre system.
When I attempt to login I get the following error:
----------------------------------------------------------
This application has encountered an unrecoverable error
The following has been reported to the administrator:
2006-12-09 13:38:44
Fatal Error: Object of class pgsql could not be converted to string (# 4096).
Error in line 49 of file 'C:\Data\Website\radicore\includes\dml.pgsql.class.inc'.
Script: /radicore/menu/logon.php
Remote Address: 127.0.0.1
Request URI: /radicore/menu/logon.php
----------------------------------------------------------
I suspect that I have not edited the config.inc file correctly.
Here are some relevant config.inc file lines:
----------------------------------------------------------
$GLOBALS['dbms'] = 'pgsql'; // database engine is PostgreSQL
$GLOBALS['dbhost'] = 'localhost';
$GLOBALS['PGSQL_dbname'] = 'radicore';
if (eregi('^(localhost|desktop|laptop)$', $_SERVER['localhost'])) { // this is for my PC
$GLOBALS['dbusername'] = 'harris';
$GLOBALS['dbuserpass'] = 'grAce';
$GLOBALS['dbprefix'] = null;
----------------------------------------------------------
I do not have a 'PGSQL_dbname'='radicore' (I have created the 'menu', 'workflow', etc. databases. But I do have an system
odbc data source named 'radicore'.
Any recommendations?
Thanks, JWH
JWH
|
|
|
|
|
|
|
Re: New Install Logon Failure [message #450 is a reply to message #449] |
Sat, 09 December 2006 11:55 |
jk.harris
Messages: 4 Registered: December 2006
|
Junior Member |
|
|
Thanks. No more "converted to string" error. Here's what I get:
----------------------------------------------------------
This application has encountered an unrecoverable error
The following has been reported to the administrator:
2006-12-09 17:52:38
Fatal Error: SQL (# 256).
Error in line 49 of file 'C:\Data\Website\radicore\includes\dml.pgsql.class.inc'.
Script: /radicore/menu/logon.php
Remote Address: 127.0.0.1
Request URI: /radicore/menu/logon.php
----------------------------------------------------------
JWH
|
|
|
Re: New Install Logon Failure [message #451 is a reply to message #450] |
Sat, 09 December 2006 13:57 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
I cannot reproduce this fault on my PC. If I try to force a connection error by using a bad password then I get a full error message which tells me just that.
You must have some peculiar setting on your PC which is getting in the way. Can you step through with your debugger to see what condition is firing the error handler?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
|
Re: New Install Logon Failure [message #461 is a reply to message #459] |
Thu, 14 December 2006 06:08 |
niel
Messages: 4 Registered: December 2006
|
Junior Member |
|
|
Since last night I removed it all and started from scratch. That seemed to solve this problem, so it was probably a user name/password problem.
|
|
|