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
++

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:08:44
Script start
Timing: Jan 18 2025 19:08:44
Module start 'layout'
Timing: Jan 18 2025 19:08:44
Module start 'content'
Timing: Jan 18 2025 19:08:45
Module end 'content'
Timing: Jan 18 2025 19:08:45
Script end

Main resources:

Total runtime0.8243 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1484152.6250
Module start 'layout' 0.00630.0036 741.773439.4453
Module start 'content' 0.00990.8128 781.2188635.1016
Module end 'content' 0.82270.0015 1,416.320312.1563
Script end 0.8242  1,428.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4316160.0002
Check MTime0.00140.1713160.0001
Mysql Total
Database connection0.00090.110010.0009
Mysqli_queries0.753491.4059640.0118
Looping result0.00150.1769620.0000
Template Total0.791296.020.3956
Template load0.00230.279220.0012
Template processing0.788995.712020.3945
Template load and register function0.00020.026110.0002
states
state_id_array0.00100.125210.0010
state_identifier_array0.00100.121020.0005
Override
Cache load0.00200.2395330.0001
Sytem overhead
Fetch class attribute can translate value0.00100.123140.0003
Fetch class attribute name0.00350.424870.0005
XML
Image XML parsing0.00690.831640.0017
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00640.7802290.0002
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs