Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Squirrelmail 1.4.3 Problem

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
guitard00d
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Fri Dec 19, 2003 3:05 am
Location: Minatare, NE, USA, Earth

Squirrelmail 1.4.3 Problem

  • Quote

Post by guitard00d » Tue Jun 01, 2004 4:19 am

Looks like there is a major problem with Squirrelmail 1.4.3 that doesn't exist in version 1.4.3-rc1. Reading messages works fine, composing new messages works fine, but replying to messages causes the system to go into an wicked memory usage runaway. If I downgrade back to 1.4.3-rc1, the problem goes away.

Has anybody else experienced this problem as well?
I know you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant...
--Richard Nixon
Top
Dr_Stein
Guru
Guru
Posts: 303
Joined: Fri Mar 21, 2003 3:12 am
Location: Mountain View, CA
Contact:
Contact Dr_Stein
Website

  • Quote

Post by Dr_Stein » Tue Jun 01, 2004 5:51 am

I believe that this was mentioned on the squirrelmail-users mailing list.. an issue that wasn't caught before the release, but is fixed in CVS.

I'd expect another minor release soon. :)
Top
diebels
n00b
n00b
User avatar
Posts: 67
Joined: Fri Aug 29, 2003 12:12 am
Location: Arendal, Norge
Contact:
Contact diebels
Website

  • Quote

Post by diebels » Tue Jun 01, 2004 11:43 am

Can't find posts newer than 2004-05-28 09:20 for squirrelmail at http://sourceforge.net/mailarchive .
Do you have a patch?
--
Anders
http://anders.arendal.no
Top
mmessano
n00b
n00b
Posts: 8
Joined: Wed Apr 10, 2002 10:43 pm

re: Squirrelmail 1.4.3 Problem

  • Quote

Post by mmessano » Tue Jun 01, 2004 11:41 pm

Basically, SquirrelMail seems to be copying portions of the email, multiple times, into the reply message. I replied to a one-line message, and the resulting reply message, when it finally displayed, was many, many pages long if paginated and printed. I mean MANY, MANY pages long.
Top
langthang
Retired Dev
Retired Dev
Posts: 620
Joined: Thu Nov 27, 2003 3:50 am

  • Quote

Post by langthang » Wed Jun 02, 2004 3:55 am

patch this against '/usr/share/webapps/squirrelmail/1.4.3-r1/htdocs/src/compose.php':

Code: Select all

--- compose.php.orig    2004-05-31 22:47:22.000000000 -0700
+++ compose.php 2004-06-01 09:06:13.286277000 -0700
@@ -14,7 +14,7 @@
  *    - Send mail
  *    - Save As Draft
  *
- * $Id: compose.php,v 1.319.2.34 2004/05/24 07:56:51 pdontthink Exp $
+ * $Id: compose.php,v 1.319.2.35 2004/05/31 17:32:34 tokul Exp $
  */

 /* Path for SquirrelMail required files. */
@@ -757,9 +757,9 @@
               sqWordWrap($rewrap_body[$i], ($editor_size));
                 if (preg_match("/^(>+)/", $rewrap_body[$i], $matches)) {
                     $gt = $matches[1];
-                    $body .= $body .= '>' . str_replace("\n", "\n>$gt ", rtrim($rewrap_body[$i])) ."\n";
+                    $body .= '>' . str_replace("\n", "\n>$gt ", rtrim($rewrap_body[$i])) ."\n";
                 } else {
-                    $body .= $body .= '> ' . str_replace("\n", "\n> ", rtrim($rewrap_body[$i])) . "\n";
+                    $body .= '> ' . str_replace("\n", "\n> ", rtrim($rewrap_body[$i])) . "\n";
                 }
                 unset($rewrap_body[$i]);
             }
or grab it here: http://cvs.sf.net/viewcvs.py/*checkout* ... 1.319.2.35
Gentoo users' map
Top
mmessano
n00b
n00b
Posts: 8
Joined: Wed Apr 10, 2002 10:43 pm

  • Quote

Post by mmessano » Wed Jun 02, 2004 4:56 am

Worked perfectly, thanks for posting the link.
Top
diebels
n00b
n00b
User avatar
Posts: 67
Joined: Fri Aug 29, 2003 12:12 am
Location: Arendal, Norge
Contact:
Contact diebels
Website

  • Quote

Post by diebels » Wed Jun 02, 2004 5:06 am

thanks! :D
--
Anders
http://anders.arendal.no
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic