From: Rod Taylor <rbt@zort.ca>
To: P. Jourdan <pippo@videotron.ca>
Cc: pgsql-php@postgresql.org
Subject: Re: sql commands
Date: Wed, 1 May 2002 13:03:37 -0400
Message-ID: <216601c1f132$22f0f4c0$ad02000a@jester> (raw)
References: <5.1.0.14.2.20020501120049.00a82388@mail.host45.com>
<5.1.0.14.2.20020501124852.00aab2b0@pop.videotron.ca>
> >What are the errors returned by the script when it runs?
> I just accessed the local site & I get the following:
>
> ERROR: Relation 'visits'does not have attribute 'path'
> ERROR: Bad boolean external representation '<font
> color=red><b>YES></b></font>'
> ERROR: Relation "mustdie" does not exist
> NOTICE: Adding missing FROM-clause entry for table "customer"
> ERROR: No such atribute or function 'pcustomer_id'
> I believe I understand that some fields or columns are missing as
well as
> variables or other elements... but what is strange, is that this
happens
> only in the administrative end and not on the site pages.
> I can send a snippet of the php file or the whole file, for that
matter.
> They are not very big.
Yes, it's quite obvious that you are missing some of the columns /
relations the code expects. The reason it works on the client side is
probably that the columns / relations are not being used in it. I'd
need more than just the php code. It interacts with the database.
I'll need a dump of it as well.
Please send directly, not to the list.
> I have also gotten this:
> FATAL 1: Database :"template0" is not currently accepting
connections
> I do not understand what is the use of the "template0" - is it the
base
> "model" for newly created databases? I was under the impression that
that
> was template1...
template0 is like an emergency backup to template1. Template1 can be
mucked with. If you want it back to original you drop it and recreate
it with template0. There is no reason you should be connecting to it.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: rbt@zort.ca, pippo@videotron.ca
Subject: Re: sql commands
In-Reply-To: <216601c1f132$22f0f4c0$ad02000a@jester>
References: <5.1.0.14.2.20020501120049.00a82388@mail.host45.com> <5.1.0.14.2.20020501124852.00aab2b0@pop.videotron.ca> <216601c1f132$22f0f4c0$ad02000a@jester>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox