[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tof-general] Installation & Configuration
From: |
Miguel Koren O'Brien de Lacy |
Subject: |
Re: [Tof-general] Installation & Configuration |
Date: |
Tue, 09 Oct 2001 00:15:16 -0300 |
I did all that and more. The way I have my Apache/PHP installation set up is
that the
PHPUtil prepend.php3 file is prepended to all the PHP programs (set in
php.ini). So
what i had to do is to emove all the 'require' commands for all the 'inc' files
in
slooze_local.php. After I did that it worked! Except for one little problem. I
found
out that my PHP installation does not have PostgreSQL support built in
(pg_connect()
error as an undefined function). I can't remember if I compiled PHP and left
that out
or if I installed an rpm (it was quite a while ago). So I'll have to take a few
days
to update my PHP.
Do you know of any other way to make thumbnails apart from Image Magick? I have
the
feeling it's complicated to install because of a lot of dependencies with
graphic
systems that I probably don't have on this server. In fact this is one of the
reasons
I decided to skip Photoarch.
Miguel
Laurent Martelli wrote:
> >>>>> "Miguel" == Miguel Koren O'Brien de Lacy <address@hidden> writes:
>
> Miguel> After installing PostgreSQL and PHPLIB I ran into
> Miguel> problems. PostreSQL is apparently ok because the database I
> Miguel> created is there and the tables that PHPLIB needs are also
> Miguel> there. PHPLIB is theoretically working because I get the
> Miguel> correct results from the index.php3 and showoff.php3 pages
> Miguel> (using the MySql example).
>
> Miguel> But, after installing TOF (1.3.2) and making the changes to
> Miguel> slooze_local.php I get this error when accessing the
> Miguel> photos.php page
>
> Miguel> "Cannot redeclare class db_sql in
> Miguel> /home/httpd/phplib/db_pgsql.inc line 12"
>
> It looks like your php installation auto includes some phplib
> files. You should remove the "require("db_pgsql.inc");" line in
> slooze_local.php.
>
> Miguel> This looks like a PHPLIB problem but I'm stuck with it.
>
> Miguel> By looking through the source I have the impression that
> Miguel> thumbnails have to be generated outside of TOF. Is this so?
>
> This is partly true. It does the thumbnails when you upload through
> the web, but not otherwise. It looks like a missing feature ;-)
>
> I use the following script to build my thumbnails (it uses image
> magick's convert utility) :
>
> ------------------------------------------------------------------------
> Name: build_thumbs
> build_thumbs Type: unspecified type (application/octet-stream)
> Description: thumbnails script
>
> ------------------------------------------------------------------------
>
> It recursively convert any .png file into a -t.jpg and a -w.jpg with
> well defined dimensions.
>
> --
> Laurent Martelli
> address@hidden http://www.bearteam.org/~laurent/
- [Tof-general] Installation & Configuration, Miguel Koren O'Brien de Lacy, 2001/10/07
- Re: [Tof-general] Installation & Configuration, Laurent Martelli, 2001/10/08
- Re: [Tof-general] Installation & Configuration,
Miguel Koren O'Brien de Lacy <=
- Re: [Tof-general] Installation & Configuration, Laurent Martelli, 2001/10/09
- Re: [Tof-general] Installation & Configuration, Miguel Koren O'Brien de Lacy, 2001/10/12
- Re: [Tof-general] Installation & Configuration, Miguel Koren O'Brien de Lacy, 2001/10/13
- Re: [Tof-general] Installation & Configuration, Laurent Martelli, 2001/10/13
- Re: [Tof-general] Installation & Configuration, Miguel Koren O'Brien de Lacy, 2001/10/13
- Re: [Tof-general] Installation & Configuration, Laurent Martelli, 2001/10/13
- Re: [Tof-general] Installation & Configuration, Miguel Koren O'Brien de Lacy, 2001/10/14
- Re: [Tof-general] Installation & Configuration, Laurent Martelli, 2001/10/15
- Re: [Tof-general] Installation & Configuration, Miguel Koren O'Brien de Lacy, 2001/10/15
- Re: [Tof-general] Installation & Configuration, Laurent Martelli, 2001/10/15