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

 
 

bug #10122: Domain Master have no visible domains

Submitted by:  None
Submitted on:  Tue 24 Aug 2004 06:30:50 AM UTC  
 
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 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>
Project 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 File(s):
   
   
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 (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 30 Nov 2004 09:07:10 AM UTCdelouwStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 26 Aug 2004 06:52:16 AM UTCjflwebAttached File-=>Added browse.php.patch, #1610
Wed 25 Aug 2004 11:09:29 AM UTCjflwebAttached File-=>Added browse.php, #1609
  Carbon-Copy-=>Added luc --AT-- delouw --DOT-- ch
Wed 25 Aug 2004 08:14:03 AM UTCjflwebAttached File-=>Added browse.php, #1607

Back to the top


Powered by Savane 3.1-cleanup