6.0.0-beta1
9/24/25

[#2791] PHP Fatal error: Only variables can be passed by reference
Summary PHP Fatal error: Only variables can be passed by reference
Queue IMP
Queue Version 4.0.3
Type Bug
State Not A Bug
Priority 3. High
Owners
Requester cp (at) sandon (dot) it
Created 10/15/2005 (7284 days ago)
Due
Updated 10/18/2005 (7281 days ago)
Assigned
Resolved 10/15/2005 (7284 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/18/2005 04:02:25 AM Michael Slusarz Comment #6 Reply to this comment
This is an open source project.  I don't have the time to track down 
or provide links to duplicate tickets when this is something easily 
done by an end user.



And any suggestion that this is a difficult task (i.e. searching old 
bugs) is completely unfounded.  I did the following subject search: 
'reference'.  it took me 2 seconds.  And it returned the following bug 
reports (at a minimum): Bug #2282, Bug #2339, Bug #2585, Bug #2761
Bug #2773
10/16/2005 09:17:22 PM ahasenack (at) terra (dot) com (dot) br Comment #5 Reply to this comment
Also, it's a duplicate of which other ticket? I would expect to find 
at least a number in the comment that closed this one as "bogus" (if 
it's there, sorry, I didn't find it)
10/16/2005 09:16:23 PM ahasenack (at) terra (dot) com (dot) br Comment #4 Reply to this comment
I'm also finding the search feature available in this ticket system 
troublesome. It doesn't seem to do body searches, for example, making 
a search for an error message very difficult.
10/15/2005 06:34:43 PM cp (at) sandon (dot) it Comment #3 Reply to this comment
It could be the "umpteenth duplicate", but I was unable to find any 
reference to it - or any workaround - in this ticketing system before 
submitting it. Probably the search does not work well as expected.
10/15/2005 06:15:44 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
umpteenth duplicate
10/15/2005 02:28:14 PM cp (at) sandon (dot) it Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ PHP Fatal error: Only variables can be passed by reference
Queue ⇒ IMP
Reply to this comment
I installed Horde/IMP on a Windows 2000 Server (SP4 + patches to 
date), Apache 2.0.54, PHP 5.0.5, MySQL 4.1.14. Mail server (SMTP/IMAP) 
is Mercury/32 4.01b.



Horde works and test are passed. But when I try to see the messages in 
Inbox I get:



PHP Fatal error:  Only variables can be passed by reference in 
D:\webroot\horde\imp\mailbox.php on line 553.



IMP returns the number of messages and unread ones, but the HTML page 
is "interrupted" after the error, I guess, and no message is shown, 
making IMP unusable.



I tried to set "allow_call_time_pass_reference = on" in PHP.INI but id 
did not help.



I am forced to use PHP 5 because under Windows PHP4 is statically 
linked to an hold MySQL client lib and does not work well with latest 
MySQL release.


Saved Queries