I still get the same error and error message when
downloading an email attachment and when I hit the back button i always get this
error:
Fatal error: Call to a member function on a non-object in
/home/html/squirrelmail.stable/class/mime/Message.class.php on line
679
any thoughts
Toto
----- Original Message -----
Sent: Thursday, June 19, 2003 11:53
AM
Subject: Re: [SM-USERS] problem with
attachments.
Thanks for all the advice Jon and the others.
Well, I
know that installing PHP again is a long tedious process for me. But since
Toto Gamez says that he is using PHP4.0.6 without successful and Paul says
that I should just upgrade to the 4.1 branch , maybe I should just upgrade
to the PHP4.1.x versions.
I wrote some documentation previously on how
I carried out my PHP installation with PHP 4.0.5. I have pasted it
below. Should I be aware of anything different this
time: ---------------------------------------------documentation
starts here
----------------------------------------------------------------------- ---------
On
Monday, August 6, I was successful in installing PHP on the
server.
This is the part of the PHP, SSL, Apache installation that I
had the most problems with. Basically there are two ways to install PHP in
Apache. One is called DSO known as Dynamic Shared Object. The other is
called Static Object. For Dynamic Shared Object you must have the following
2 modules in order to install
it:
http_core.c mod_so.c
Apparently this can be installed
with an option which is as follows:
In the Apache directory carry out a
"configure" like this:
./configure \ --prefix=/usr/local/apache
\ --enable-module=most \ --enable-shared=max
However if you are
installing it as a static object you really do not need to do the above
config.
But no matter if you are doing a static config or dynamic
shared object config, you will be required to change the httpd.conf
file
Be sure that the following is uncommented:
AddType
application/x-httpd-php .php
Now the important thing is to decide which
method we are going to use. Here I am going to use Static Object because it
will be the easiest for me.
Using the static object method, I followed
the INSTALL (readme) file which presented the following:
$ gunzip -c
php-4.0.x.tar.gz | tar xf - $ cd php-4.0.x $./configure
--with-mysql=path/to/sql --with-apache=../apache_1.3.x
--enable -track-vars $ make $ make install You will also have go
into the apache directory and do another "configure". This time you have to
"build" the httpd with the php module. Remember we are doing everything
from the source directories meaning the directories that got expanded from
the gzip compressed files
cd ../apache_1.3.x
./configure
--prefix=/www
-activate-module=src/modules/php/libphp4.a
make
You will now
have httpd binary that you must copy into your /usr/local/apache/bin
directory. This one a crucial step that I missed in my previous
installation of php procedures causing the Apache to give me the *.php as a
downloaded file everytime, which is erroneous.
If this is the first
time that you are installing Apache then you must do a "make install "
as well.
Your also have to go into the php-4.0.x directory and copy
php.ini-dist to /usr/local/lib/php.ini
cd ../php-4.0.x
cp
php.ini-dist /usr/local/lib/php.ini
Restart your apache,
/usr/local/apache/bin/apachectl restart and that'll it be about all you
need to get yourself
going.
-----------------------------------documentation ends here
----------------------------------------------------------------------- -----
-----
Original Message ----- From: "Jonathan Angliss" <[EMAIL PROTECTED]> To: "Peter"
<[EMAIL PROTECTED]> Cc:
<[EMAIL PROTECTED]> Sent:
Thursday, June 19, 2003 2:48 AM Subject: Re: [SM-USERS] problem with
attachments.
> Hello Peter, > On Wednesday, June 18, 2003,
Peter wrote... > > > Well, looks like we're in the same
boat. > > > By the way, here's my info > > >
Redhat Linux 6.2 > > PHP 4.0.5 > >
squirrelmail-20030616_0041-CVS.stable > > Hint: Minumum
requirements for SquirrelMail 1.2.9 and higher are PHP > 4.0.6 due to
the introduction of certain functions in SM that were not > available
before PHP 4.0.6. > > > I ran conf.pl and I changed the
"attachment" directory from > > "$data_dir" to "/var/attach/", but it
was no use. By the way, > > remember on part three of the INSTALL
file which says that you setup > > write permissions for "nobody" in
the "/var/attach/directory" and > > that you should set up cron jobs
to remove the attachments in the > > "/var/attach/directory" , well I
went in with my "root" account and > > really can't see any
attachments at all going into this directory. > > > Are we
setting up something wrong? > > What user is the webserver running
as? That is who the directory > should be owned by. For example in my
case it's apached, in your case > it might be www-user. > >
-- > Jonathan Angliss > ([EMAIL PROTECTED]) > > > >
------------------------------------------------------- > This SF.Net
email is sponsored by: INetU > Attention Web Developers &
Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers.
We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated
Managed Hosting http://www.inetu.net/partner/index.php >
-- > squirrelmail-users mailing list > List Address: [EMAIL PROTECTED] >
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
------------------------------------------------------- This
SF.Net email is sponsored by: INetU Attention Web Developers &
Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We
Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed
Hosting http://www.inetu.net/partner/index.php -- squirrelmail-users
mailing list List Address: [EMAIL PROTECTED] List
Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List
Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
|