bugweb-cyradm - Bugs: bug #10122, Domain Master have no visible...


bug #10122: Domain Master have no visible domains

Submitted by:  None
Submitted on:  Tue Aug 24 06:30:50 2004  
Category: mainSeverity: 3 - Normal
Priority: 5 - NormalItem Group: normal bugs
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Jacob Friis Larsen
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.5.4Operating System: GNU/Linux
Reproducibility: Every TimePlanned Release: 0.5.4
Cyrus IMAP version: 2.1.xPHP version: 5.0
Database type: MySQL 4.0

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Thu Aug 26 06:52:16 2004, comment #6:

A patch is attached.
I created it like this:
diff -Nau web-cyradm-0.5.4/browse.php /var/www/web-cyradm/browse.php > browse.php.patch

Jacob Friis Larsen <jflweb>
Wed Aug 25 22:38:38 2004, comment #5:

A patch for the file would be great, so it is applicable to more versions. Please do a diff -Nau browse.php-orig browse.php-yourversion

Due to the lack of a php5 testsystem I need the input from other users before commiting to the CVS (HEAD branch, not 0.5.4)





Luc de Louw <delouw>
Project Administrator
Wed Aug 25 11:09:29 2004, comment #4:

New version of browse.php attached.
The later didn't work for superusers which this one does.

Jacob Friis Larsen <jflweb>
Wed Aug 25 08:14:03 2004, comment #3:

I fixed it.
In /etc/apache2/httpd.conf I added this:

<Directory /var/www/web-cyradm>
php_flag allow_call_time_pass_reference on

And changed a few lines in browse.php
Please see the attached file browse.php

Jacob Friis Larsen <jflweb>
Wed Aug 25 07:18:35 2004, comment #2:

Upgraded to Php 5.0.1
The problem is still there.

These errors are from /var/log/apache2/error.log

[client] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/web-cyradm/lib/cyradm.php on line 77, referer:
[client] PHP Notice: Undefined offset: 0 in /var/www/web-cyradm/browse.php on line 84, referer:
[client] PHP Notice: Undefined offset: 2 in /var/www/web-cyradm/browse.php on line 121, referer:
[client] PHP Notice: Undefined offset: 3 in /var/www/web-cyradm/browse.php on line 128, referer:

Jacob Friis Larsen <jflweb>
Tue Aug 24 07:11:12 2004, comment #1:

Does not happen here... 0.5.4rc3, MySQL Max 4.0.15, PHP 4.3.3.

Could it be PHP-related, as Jacob runs v5?

Anders Norrbring <MrPiercer>
Tue Aug 24 06:30:50 2004, original submission:

When I login as Domain Master I see no domains. Only if I search for the domain I see it.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #1681:  browse.php.patch added by jflweb (983B - application/octet-stream - Patch for browse.php to make it work with Php5)
file #1680:  browse.php added by jflweb (3kB - application/octet-stream - /var/www/web-cyradm/browse.php)
file #1678:  browse.php added by jflweb (3kB - application/octet-stream - /var/www/web-cyradm/browse.php)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue Nov 30 09:07:10 2004delouwStatusNone=>Fixed
Thu Aug 26 06:52:16 2004jflwebAttached File-=>Added browse.php.patch, #1610
Wed Aug 25 11:09:29 2004jflwebAttached File-=>Added browse.php, #1609
  Carbon-Copy-=>Added luc --AT-- delouw --DOT-- ch
Wed Aug 25 08:14:03 2004jflwebAttached File-=>Added browse.php, #1607

Back to the top

Powered by Savane 3.1-cleanup1