patchphpGroupWare - Patches: patch #5435, Notes shows blank page under PHP5

 
 

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

patch #5435: Notes shows blank page under PHP5

Submitter:  Steve Price <steep>
Submitted:  Mon 02 Oct 2006 08:57:06 AM UTC
   
 
Category:  notes Priority:  5 - Normal
Item Group:  0.9.16 (stable) Status:  Done
Privacy:  Public Assigned to:  skwashd
Open/Closed:  Closed

Tue 24 Oct 2006 01:54:01 PM UTC, comment #1: 

I finally got around to applying this to stable CVS.

Dave Hall <skwashd>
Group administrator
Mon 02 Oct 2006 08:57:06 AM UTC, original submission:  

Target Branch: HEAD
Purpose: Under PHP5, the notes app shows only a blank page.
There is an error in the sonotes class file where the $grants field is declared twice.

Also, as the note object is created an sonote object is declared. This sonote requires the asyncservice class, which gets included inside the decalaration of the sonote. PHP5 does not allow nested class declarations. I've added a workaround into notes/index.php where I've just created an asyncservice object (to ensure the class is declared) that I then throw away. Presumably there is a better way of doing this?

Format: cvs rcs || diff
Affected file/s:
notes/index.php,
notes/inc/class.sonotes.inc.php

Steve Price <steep>

 

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

Attached Files
file #10879:  notes.diff added by steep (914B - application/octet-stream - run 'patch -p1 < notes.diff' under phpgroupware dir)

 

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.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-24 skwashd Item GroupSVN trunk (dev code) 0.9.16 (stable)
    StatusNone Done
    Assigned toNone skwashd
    Open/ClosedOpen Closed
2006-10-02 steep Attached File- Added notes.diff, #10879

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code