In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Horizontal ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001326 [In-Portal CMS] Data Management bug report always 2012-06-16 11:34 2012-07-25 05:29
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001326: Fatal error when trying to use parser tag caching in 5.2.0 on PHP version below 5.3.1
Description In PHP 5.3.1+ some OOP internals code was changed (see http://php.net/manual/en/language.oop5.visibility.php) resulting in ability for 2 classes sharing same parent class being able to access protected parent class properties.

This seemed a bug to me and some other PHP community members (see https://bugs.php.net/bug.php?id=50892 and http://youtrack.jetbrains.com/issue/WI-11713?projectKey=WI) at first, but it's how it works and nobody seem to disagree with it, since it's works in exactly same way as it works in Java, which is famous with it's OOP implementation.


I'm talking about this here, because in In-Portal 5.2.x we've made some changes that create 1 line of code, where exactly this change is exploited resulting a fatal error (only in code that uses tag caching), when somebody installs In-Portal 5.2.0+ on his webserver, which has PHP version below 5.3.1.
I'm attaching a patch for users, who want to use In-Portal 5.2.0+ installation (+tag caching) on PHP 5.2.x and above.
Additional Information



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker