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

eZ debug

Timing: Jan 31 2025 00:38:13
Script start
Timing: Jan 31 2025 00:38:13
Module start 'content'
Timing: Jan 31 2025 00:38:13
Module end 'content'
Timing: Jan 31 2025 00:38:13
Script end

Main resources:

Total runtime0.2823 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 587.9531370.2891
Module start 'content' 0.00880.0143 958.24221,005.6563
Module end 'content' 0.02310.2591 1,963.89843,894.2422
Script end 0.2822  5,858.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00451.5768200.0002
Check MTime0.00140.4898200.0001
Mysql Total
Database connection0.00100.358510.0010
Mysqli_queries0.125044.27471410.0009
Looping result0.00150.53611390.0000
Template Total0.258791.610.2587
Template load0.00070.231610.0007
Template processing0.258191.407010.2581
Override
Cache load0.00050.161910.0005
Sytem overhead
Fetch class attribute can translate value0.00210.748110.0021
XML
Image XML parsing0.00020.087210.0002
General
dbfile0.062722.2241200.0031
String conversion0.00000.003530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0003 secs