[horde] horde attachments tmp directorys

Extroppy AT Yahoo Com extroppy at yahoo.com
Wed Dec 7 20:03:52 PST 2005


php.ini:  upload_tmp_dir = /var/tmp/phptmp
  horde conf.php:  $conf['vfs']['params']['vfsroot'] = '/var/tmp/phptmp';
  ls -lah /var/tmp/:  drw-rw-rwT   2 root    wheel     512B Oct 30 23:56 phptmp
   
  If they are set to /tmp, attachments work.  /tmp vs phptmp is that /tmp is 1777, or +x, while phptmp isn't.  Am I missing a function somewhere that I need to change aside from those two?  Again, if the TMP dirs are set as those, the Attachments button isn't available when composing, however if it is set to /tmp the button is 
   
  
horde-request at lists.horde.org wrote:
  Send horde mailing list submissions to
horde at lists.horde.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.horde.org/mailman/listinfo/horde
or, via email, send a message with subject or body 'help' to
horde-request at lists.horde.org

You can reach the person managing the list at
horde-owner at lists.horde.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of horde digest..."


Today's Topics:

1. weatherdotcom.php Fatal Error (ken_faris at sbcglobal.net)
2. Can't upload attachments to Imp (Daniel A. Ramaley)
3. Re: weatherdotcom.php Fatal Error (Jan Schneider)
4. Performance problems reloading the sidebar with HTTPS and IE
(Han Spruyt)
5. Re: weatherdotcom.php Fatal Error (ken_faris at sbcglobal.net)
6. Re: Performance problems reloading the sidebar with HTTPS and
IE (Robin Rainton)
7. horde attachments tmp directorys (Extroppy AT Yahoo Com)
8. Outlook 2003 and IMAP - MISSING-HOST-NAME
(burt46 (sent by Nabble.com))
9. Re: Outlook 2003 and IMAP - MISSING-HOST-NAME (Ben Chavet)
10. Re: horde attachments tmp directorys (Chuck Hagenbuch)


----------------------------------------------------------------------

Message: 1
Date: Wed, 7 Dec 2005 14:41:35 -0600
From: 
Subject: [horde] weatherdotcom.php Fatal Error
To: 
Message-ID: <000301c5fb6e$9dd62a80$4101a8c0 at KFARIS>
Content-Type: text/plain; charset="us-ascii"

Hi, any ideas why changing from weatherdotcom.php version 1.37.4.8.2.3 which
I never could make work. To weatherdotcom.php version 1.37.4.13 would cause
the following error: 
Fatal error: Cannot redeclare class horde_block_horde_weatherdotcom (error
declared as Line 18 which is exactly the same as the old Line 18)

I am using latest stable release of Horde

Thanks,
Ken



------------------------------

Message: 2
Date: Wed, 07 Dec 2005 15:40:46 -0600
From: "Daniel A. Ramaley" 
Subject: [horde] Can't upload attachments to Imp
To: horde at lists.horde.org
Message-ID: <200512071540.46630.daniel.ramaley at drake.edu>
Content-Type: text/plain; charset=us-ascii

Hello. I am running Horde 3.0.7 with Imp 4.0.4 on a Linux server with 
Apache 2.0.52 and PHP 4.3.9. I can send messages just fine, except if i 
try to include an attachment. To attach a file, i scroll to the bottom 
of the compose page, hit "Browse...", select a file from the open 
dialog, then hit "Attach" back in the compose page. With Firefox (on 
either Windows or Linux), hitting Attach does nothing. With Internet 
Explorer on Windows when i hit Attach, the status bar displays "Error 
on page." Any ideas? I'm not using a proxy that modifies content, and 
javascript is enabled in the browsers that i've tested.

------------------------------------------------------------------------
Dan Ramaley
Network Programmer/Analyst
(515) 271-4540
Dial Center 118, Drake University


------------------------------

Message: 3
Date: Wed, 07 Dec 2005 22:53:29 +0100
From: Jan Schneider 
Subject: Re: [horde] weatherdotcom.php Fatal Error
To: horde at lists.horde.org
Message-ID: <20051207225329.v0pnm215a8kgwsg0 at neo.wg.de>
Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes";
format="flowed"

Zitat von ken_faris at sbcglobal.net:

> Hi, any ideas why changing from weatherdotcom.php version 1.37.4.8.2.3 which
> I never could make work. To weatherdotcom.php version 1.37.4.13 would cause
> the following error:
> Fatal error: Cannot redeclare class horde_block_horde_weatherdotcom (error
> declared as Line 18 which is exactly the same as the old Line 18)

You probably have two weatherdotcom.php on your system now.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



------------------------------

Message: 4
Date: Wed, 07 Dec 2005 23:26:44 +0100
From: Han Spruyt 
Subject: [horde] Performance problems reloading the sidebar with HTTPS
and IE
To: horde at lists.horde.org
Message-ID: <20051207232644.3umjlph18g8owsg8 at mail.ijsselgroep.nl>
Content-Type: text/plain; charset=ISO-8859-15; format="flowed"

>> I'm wondering what Apache HTTP server version you are using?
>>
>> In this case 1.3.34.
>
> Ghm. I don't know how about your version, but on my machines (apache 
> 2.0.46 on redhat enterprise linux 3.0) I had similar problem. I 
> solved it by commenting out:
>
> #SetEnvIf User-Agent ".*MSIE.*" \
> # nokeepalive ssl-unclean-shutdown \
> # downgrade-1.0 force-response-1.0
>
> in ssl.conf. As far as I know all new redhat versions comes with this 
> old apache ssl configuration file.
>
This solves something in the latest IE 6 versions, but breaks 
compatibility with IE 5.

It makes IE about as fast as Firefox in SSL connections because of the 
keepalive.

There is good information about this stuff here:
http://www.gossamer-threads.com/lists/apache/dev/299145

It is not a solution though for the problems with the 304's in the access log.

The problem was, the cache content expired immediately, so browsers 
asked for new versions of every element on every page load.

With setExpires on in the apache config the browser only askes for new 
versions of dynamic content. On a not so small site that saves a lot of 
SSL traffic. It really speeds up things for the user. We suffered page 
load times of up to 2 minutes, which is now reduced do a few seconds at 
most.

Han.



Han Spruyt.






------------------------------

Message: 5
Date: Wed, 7 Dec 2005 16:42:29 -0600
From: 
Subject: Re: [horde] weatherdotcom.php Fatal Error
To: 
Message-ID: <000a01c5fb7f$815a6310$4101a8c0 at KFARIS>
Content-Type: text/plain; charset="us-ascii"


> Hi, any ideas why changing from weatherdotcom.php version 1.37.4.8.2.3 
> which I never could make work. To weatherdotcom.php version 1.37.4.13 
> would cause the following error:
> Fatal error: Cannot redeclare class horde_block_horde_weatherdotcom
(error
> declared as Line 18 which is exactly the same as the old Line 18)

>You probably have two weatherdotcom.php on your system now.

>Jan.

Thanks Jan,

Now for the first time, weatherdotcom is an option within my Layout manager.
I was able to select it, set the options, etc... Save it -- Now on my home
page I get this message: Fatal error: Call to undefined function:
sethandlerobj() in /usr/local/lib/php/XML/Unserializer.php on line 852

Thanks,
Ken



------------------------------

Message: 6
Date: Thu, 8 Dec 2005 10:00:03 +1100
From: Robin Rainton 
Subject: Re: [horde] Performance problems reloading the sidebar with
HTTPS and IE
To: horde at lists.horde.org
Message-ID: <20051208100003.z821dftdcss4400c at secure.r2b2.net>
Content-Type: text/plain; charset=ISO-8859-1; format="flowed"

I use this in the section of my Apache config to try and make
browsers cache SSL images, scripts, etc:

ExpiresActive On
ExpiresByType image/png "now plus 1 month"
ExpiresByType image/gif "now plus 1 month"
ExpiresByType text/javascript "now plus 1 month"
ExpiresByType text/css "now plus 1 month"

Am not convinced this works, but you might like to play with something 
similar.

FWIW, I had to turn keepalives off because there are some buggy proxies 
around.
Basically, the proxy would drop connection to the server, but inside the LAN
being served by the proxy, the client wouldn't know this had happened. This
manifiests itself as composing a mail (with IMP) on popup window would only
send if you typed it really fast (before keepalive timeout). Otherwise some
dodgy error from the proxy was returned when trying to send. Rather 
annoying as
you can imagine.

That problem wasn't limited to Horde, BTW, other SSL sites we're serving also
failed.

Robin

Quoting Han Spruyt :

>>> I'm wondering what Apache HTTP server version you are using?
>>>
>>> In this case 1.3.34.
>>
>> Ghm. I don't know how about your version, but on my machines (apache
>> 2.0.46 on redhat enterprise linux 3.0) I had similar problem. I
>> solved it by commenting out:
>>
>> #SetEnvIf User-Agent ".*MSIE.*" \
>> # nokeepalive ssl-unclean-shutdown \
>> # downgrade-1.0 force-response-1.0
>>
>> in ssl.conf. As far as I know all new redhat versions comes with this
>> old apache ssl configuration file.
>>
> This solves something in the latest IE 6 versions, but breaks
> compatibility with IE 5.
>
> It makes IE about as fast as Firefox in SSL connections because of the
> keepalive.
>
> There is good information about this stuff here:
> http://www.gossamer-threads.com/lists/apache/dev/299145
>
> It is not a solution though for the problems with the 304's in the 
> access log.
>
> The problem was, the cache content expired immediately, so browsers
> asked for new versions of every element on every page load.
>
> With setExpires on in the apache config the browser only askes for new
> versions of dynamic content. On a not so small site that saves a lot of
> SSL traffic. It really speeds up things for the user. We suffered page
> load times of up to 2 minutes, which is now reduced do a few seconds at
> most.
>
> Han.
>
>
>
> Han Spruyt.
>
>
>
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>





------------------------------

Message: 7
Date: Wed, 7 Dec 2005 17:57:03 -0800 (PST)
From: Extroppy AT Yahoo Com 
Subject: [horde] horde attachments tmp directorys
To: horde at lists.horde.org
Message-ID: <20051208015703.13372.qmail at web33104.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Horde Attachments when composing an email will not function if PHP and/or HORDE have configuration files set to use a directory that isn't "/tmp/." Is there a way to allow for attaching files when composing without having to use /tmp? I have been using /var/tmp/phptmp/ for temporary web files as /tmp/ is required to be executable (chmod 1777). By using the other directory I have been able to keep files on a read/write access and not execution, keeping those kiddies out. Suggestions?


---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping 

------------------------------

Message: 8
Date: Wed, 7 Dec 2005 18:04:46 -0800 (PST)
From: "burt46 (sent by Nabble.com)" 

Subject: [horde] Outlook 2003 and IMAP - MISSING-HOST-NAME
To: horde at lists.horde.org
Message-ID: <1844660.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Hi,

I've setup my outlook 2003 account to syncronise to my IMAP account that i 
use while on the move. Everything works well except when i send a message 
from outlook then login to my imap account (horde) the sent folder shows me 
the message i sent from outlook but the 'from' name is screwed up. It reads 
as "correct-email-address at .MISSING-HOST-NAME. If i sent an email from horde 
it works fine. Its just outlook messes up sending emails. 

Anyone got any ideas. This is doing my nut in.

Cheers

--
Sent from the Horde - General forum at Nabble.com:
http://www.nabble.com/Outlook-2003-and-IMAP---MISSING-HOST-NAME-t699562.html#a1844660


------------------------------

Message: 9
Date: Wed, 07 Dec 2005 20:29:11 -0600
From: Ben Chavet 
Subject: Re: [horde] Outlook 2003 and IMAP - MISSING-HOST-NAME
To: horde at lists.horde.org
Message-ID: <20051207202911.r30il36ooneo04cw at calmit.unl.edu>
Content-Type: text/plain; charset="iso-8859-1"

> I've setup my outlook 2003 account to syncronise to my IMAP account that i
> use while on the move. Everything works well except when i send a message
> from outlook then login to my imap account (horde) the sent folder shows me
> the message i sent from outlook but the 'from' name is screwed up. It reads
> as "correct-email-address at .MISSING-HOST-NAME. If i sent an email from horde
> it works fine. Its just outlook messes up sending emails.
>
> Anyone got any ideas. This is doing my nut in.

I have some users that have the same problem. I looked into it a bit, 
but never found anything conclusive. It only appears to happen when 
using Outlook. Other IMAP clients (thunderbird, eudora, etc.) seem to 
work fine. I ended up telling those users "deal with it, or use 
something besides Outlook" :)

--Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/horde/attachments/20051207/b57c176b/attachment-0001.bin

------------------------------

Message: 10
Date: Wed, 07 Dec 2005 22:45:36 -0500
From: Chuck Hagenbuch 
Subject: Re: [horde] horde attachments tmp directorys
To: horde at lists.horde.org
Message-ID: <20051207224536.zqhctskr1jj4gcoc at marina.horde.org>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
format="flowed"

Quoting Extroppy AT Yahoo Com :

> Horde Attachments when composing an email will not function if PHP 
> and/or HORDE have configuration files set to use a directory that 
> isn't "/tmp/."

Sure it will. Just make sure you set PHP's upload_tmp_dir also.

-chuck

-- 
"So we're talking near-sonic speeds for a vegetable."
Reasons to go to the Punkin Chunkin World Championships


------------------------------


-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org


End of horde Digest, Vol 1277, Issue 2
**************************************
  


			
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 


More information about the horde mailing list