RE : [PEAR] RE : [PEAR] liveuser examples not working?
| From: | LIMBOURG Arnaud | Date: | Mon, 22 Sep 2003 12:55:34 +0000 |
| Subject: | RE : [PEAR] RE : [PEAR] liveuser examples not working? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7960@lists.php.net to get a copy of this message | ||
> It works as long as I remove:
> // set pear include path here
> $tmp = explode('/', getenv('DOCUMENT_ROOT'));
> $tmp[(count($tmp)-1)] = 'pear'; ini_set('include_path',
> implode('/', $tmp));
>
> Something else. I'm using the new DB structure from the liveuser
> website. It imports fine except I had to fix two lines in the
> postgrsql
> script (from the website). DEFAULT 'NULL' was used but should
> have been
> DEFAULT NULL.
>
> Now In example3 there's an SQL file but the data won't import
> in PG. The
> SQL uses columns in the insert statements that aren't in the DB
> structure. My guess is they simply haven't been updated, is
> that right?
Yes, recently the schema was updated and the examples aren't yet.
We'll have to fix that.
Arnaud.