bugphpGroupWare - Bugs: bug #18601, property seems broken on php5.2

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18601: property seems broken on php5.2

Submitted by:  Caeies <Caeies>
Submitted on:  Wed 27 Dec 2006 11:33:13 PM UTC  
 
Item Group: SVN trunk (dev code)Category: property
Severity: 3 - NormalPriority: 7 - High
Status: FixedPrivacy: Public
Assigned to: Sigurd Nes <sigurdne>Open/Closed: Closed
Component Version: SVNOperating System: None
Reproducibility: NonePlanned Release: 0.9.18.000
Fixed Release: 

Thu 28 Dec 2006 10:06:38 AM UTC, comment #2:

In my case the property application is not configured in the admin section.

It seems that le layer menu is empty, and there is no protection in the parseStructureForMenu of folders/inc/class.layersmenu.inc.php

I partially (and that's clearly not the solution) solve it by adding a if (is_array($entries)) in that file. but the question is why it is empty : I guess that the answer is in this message :

You need the right "Lire" for this application at ".location.1" to access this function**

As No right are given to me, no functions are available in the menu and so, things are broken ... Can you add a check to this ?

Same for the warning of crypto : your saving empty values which is a non sense for the crypt functions.

Regards,

Caeies

Caeies <Caeies>
Project Administrator
Thu 28 Dec 2006 09:31:23 AM UTC, comment #1:

Thanks for the feedback.
This was strange - I can't reproduce the error (I'm also using php5.2).
Works fine (for me) on both windows and linux (templates: idot, verdilak and probusiness)
Can you try to explain exactly what you do to get this error?

Regards

Sigurd

Sigurd Nes <sigurdne>
Project MemberIn charge of this item.
Wed 27 Dec 2006 11:33:13 PM UTC, original submission:

ERROR Warning: mcrypt_generic() [function.mcrypt-generic]: An empty string was passed in /path/to/phpgroupware/phpgwapi/inc/class.crypto.inc.php at line 149*

ERROR Warning: mcrypt_generic() [function.mcrypt-generic]: An empty string was passed in /path/to/phpgroupware/phpgwapi/inc/class.crypto.inc.php at line 149*

Fatal error: Cannot use string offset as an array in /home/hamet/public_html/phpgroupware/folders/inc/class.layersmenu.inc.php on line 49

Caeies <Caeies>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sigurdne (Posted a comment)
  • -unavailable- added by Caeies (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 28 Dec 2006 07:15:51 PM UTCsigurdneStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1