Thread: Blasted Errors on everything.
Hello once again everyone!
I am attempting to run DocMGR on Debian Woody. I am using Postgresql 7.4.6 and do not want to use anything more recent. I recieve the following errors when I attempt to access my index.php page:
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL 1: IDENT authentication failed for user "postgres" in /usr/local/apache2/htdocs/doc/include/postgresql.inc.php on line 21
Could not connect to database
Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /usr/local/apache2/htdocs/doc/include/postgresql.inc.php on line 46
ERROR_SQL=SELECT * FROM site_properties ORDER BY sort_order
Warning: pg_numrows(): supplied argument is not a valid PostgreSQL result resource in /usr/local/apache2/htdocs/doc/include/postgresql.inc.php on line 49
Error! No modules are configured in this system
I am getting a bit frustrated with these errors. All my user authentication should be accurate and flawless/near perfect, for it has worked for everything else I have done. Any ideas?
Thank you very much,
Daniel Blavos
Wyops LLC.
--- Daniel Blavos <dblavos@wyops.com> wrote: > Hello once again everyone! > > I am attempting to run DocMGR on Debian Woody. I am > using Postgresql 7.4.6 and do not want to use > anything more recent. I recieve the following > errors when I attempt to access my index.php page: > > > -------------------------------------------------------------------------------- > > Warning: pg_connect(): Unable to connect to > PostgreSQL server: FATAL 1: IDENT authentication > failed for user "postgres" in > /usr/local/apache2/htdocs/doc/include/postgresql.inc.php > on line 21 > Could not connect to database > Warning: pg_query(): supplied argument is not a > valid PostgreSQL link resource in > /usr/local/apache2/htdocs/doc/include/postgresql.inc.php > on line 46 > ERROR_SQL=SELECT * FROM site_properties ORDER BY > sort_order > Warning: pg_numrows(): supplied argument is not a > valid PostgreSQL result resource in > /usr/local/apache2/htdocs/doc/include/postgresql.inc.php > on line 49 > > Error! No modules are configured in this system > > -------------------------------------------------------------------------------- > > I am getting a bit frustrated with these errors. > All my user authentication should be accurate and > flawless/near perfect, for it has worked for > everything else I have done. Any ideas? > > > Thank you very much, > Daniel Blavos > Wyops LLC. > worked for everything else i've done implies this is a new project. I would probably focus on... Error! No modules are configured in this system maybe google it and see what others did t correct this error. once that is resolved, i'd review the any leftover error and go from there following the same methodology. it could be that your php.ini is set up differently than your "other" projects where this code worked fine. it also may be a permissions issue if this is a different db than you've used before. __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/