Forums / Setup & design / extension manager with ezpublish 4

extension manager with ezpublish 4

Author Message

Tahar Hassine

Wednesday 19 March 2008 6:51:22 pm

I installed extension manager with ezpublish 4 but no way to manage or build extension : the error message is alway as follows :

The requested page could not be displayed. (1)
The system is unable to display the requested page because of security issues.
Possible reasons:
Your account does not have the proper privileges to access the requested page.
The requested page does not exist. Try changing the URL.
Is there someone to help?
Thanks

Kristof Coomans

Thursday 20 March 2008 7:54:53 am

HI Tahar

If you enable debug output you will see a message like this:

There is a mistake in the functions array data of the 'extension_builder/generator' view. Please check the 'extension_builder/module.php' file.

The extension_manager extension apparently has never been updated to work after the fix for this security bug: http://issues.ez.no/10819. You can try to report it to the developer but I doubt development on it is still active. Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

zurgutt -

Friday 04 July 2008 5:03:52 am

"The extension_manager extension apparently has never been updated to work after the fix for this security bug: http://issues.ez.no/10819"

Using the issue link above:

"You are not allowed to access this page. "

Why is this issue hidden? I can understand if security issues are not public for a week or so but this is over a year old.

Certified eZ developer looking for projects.
zurgutt at gg.ee

Xavier Langlois

Tuesday 17 February 2009 5:21:46 am

hello,
I'll be back soon to make it ezpublish 4 compliant, but there won't be any new functionality

if you don't want the bug anymore before my update, when you have built an extension with modules, you're new module.php should look like:

<?php
$Module = array( "name" => "module1","variable_params" => false );
$ViewList = array();

$ViewList["view1"] = array(
"functions" => array( "read" ), //<=  watch here
"script" => "view1.php",
"default_navigation_part" => "ezcontentnavigationpart",
"params" => array(  ),
"unordered_params" => array(  )
);

$FunctionList['read'] = array(); //<=  watch here
?>

the "$FunctionList['read'] = array();" wasn't needed in the previous versions so thats why it is missing and with that line you're new views will be available !

note that "read" is only an exemple, it's used for the roles and policies

thanks for using my contribution
++