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

 
 

bug #10122: Domain Master have no visible domains

Submitter:  None
Submitted:  Tue 24 Aug 2004 06:30:50 AM UTC
   
 
Category:  main Severity:  3 - Normal
Priority:  5 - Normal Item Group:  normal bugs
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Jacob Friis Larsen
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Release:  0.5.4 Operating System:  GNU/Linux
Reproducibility:  Every Time Planned Release:  0.5.4
Cyrus IMAP version:  2.1.x PHP version:  5.0
Database type:  MySQL 4.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 26 Aug 2004 06:52:16 AM UTC, 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 25 Aug 2004 10:38:38 PM UTC, 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)

rgds

Luc

Thanks

Luc

Luc de Louw <delouw>
Group administrator
Wed 25 Aug 2004 11:09:29 AM UTC, comment #4: 

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

Jacob Friis Larsen <jflweb>
Wed 25 Aug 2004 08:14:03 AM UTC, 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
</Directory>

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

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

Upgraded to Php 5.0.1
The problem is still there.

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

[client 1.2.3.4] 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: http://1.2.3.4/web-cyradm/index.php
[client 1.2.3.4] PHP Notice:  Undefined offset:  0 in /var/www/web-cyradm/browse.php on line 84, referer: http://1.2.3.4/web-cyradm/index.php
[client 1.2.3.4] PHP Notice:  Undefined offset:  2 in /var/www/web-cyradm/browse.php on line 121, referer: http://1.2.3.4/web-cyradm/index.php
[client 1.2.3.4] PHP Notice:  Undefined offset:  3 in /var/www/web-cyradm/browse.php on line 128, referer: http://1.2.3.4/web-cyradm/index.php

Jacob Friis Larsen <jflweb>
Tue 24 Aug 2004 07:11:12 AM UTC, 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 24 Aug 2004 06:30:50 AM UTC, original submission:  

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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 (3KiB - application/octet-stream - /var/www/web-cyradm/browse.php)
file #1678:  browse.php added by jflweb (3KiB - 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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-30 delouw StatusNone Fixed
    Open/ClosedOpen Closed
2004-08-26 jflweb Attached File- Added browse.php.patch, #1610
2004-08-25 jflweb Attached File- Added browse.php, #1609
    Carbon-Copy- Added luc --AT-- delouw --DOT-- ch
2004-08-25 jflweb Attached File- Added browse.php, #1607

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code