Re: Where can I get error messages?
От
dr_sad(surguttel)
Тема
Re: Where can I get error messages?
Дата
Msg-id
43953037134.20020830122604@surguttel.ru
Ответ на
Re: Where can I get error messages? (Jean-Luc Lachance)
Список
Дерево обсуждения
Re: Where can I get error messages? Jean-Luc Lachance <jllachan@nsd.ca>
Re: Where can I get error messages? "dr_sad(surguttel)" <dr_sad@surguttel.ru>
Sorry, but this sample doesn't work... :\
if I change phptype "pgsql" in DSN
(pgsql://$userid:$password@$dbhost/$database)
on "mysql", then get error message:"DB Error: connect failed", but
else if phptype=pqsql (as write in sample) nothing happyness and
result html code is:
PostgreSQL PHP Test
| JLL> | JLL> | JLL> |
"); >> $s="host=dbserv port=5432 dbname=ll user=postgres password=gecnzr"; >> if (($db=pg_pconnect ($s))===false) {printf("FALSE! No connection!
");} >> printf("This is the end of script
"); >> ?> >> >> >> --- cut ----------- >> No errors messages... "Hello, world!
" - is the last line in >> generated html text :\ >> >> with respect, Andrey >> >> Wednesday, August 28, 2002, 9:20:43 PM, you wrote: >> JLL> Why don't you use the DB::connect instead? >> >> JLL> "dr_sad(surguttel)" wrote: >> >> >> >> I've installed Postgres 7.2.2 on Linux SuSE 8.0 Pro. >> >> >From other server (SuSE 8.0 Pro + Apache 2.0.39 + PHP 4.2.2) I'm trying >> >> to get access to Postgres database, using PHP-script: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I've no errors messages both in PHP log and Postgres console, but HTML >> >> page was been generated this script are stoped on tag. Where >> >> can I get error messages? That is possible troubles? >> >> >> >> Thank You >> >> >> >> -- >> >> With respect, Andrey Sergeev >> >> >> >> ---------------------------(end of broadcast)--------------------------- >> >> TIP 2: you can get off all lists at once with the unregister command >> >> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >> >> JLL> ---------------------------(end of broadcast)--------------------------- >> JLL> TIP 4: Don't 'kill -9' the postmaster
В списке pgsql-php по дате отправления