Module displayed twice

Author Message

j jevack

Monday 09 January 2006 12:30:09 pm

We've coded a custom extension for ezp. When attempting to create a policy for the new module in the admin interface, the module name is listed twice in the dropdown on the first screen of the policy wizard. It seems to have no effect on how the policy is applied but the concern is that something is improperly coded in the module or an ini file.

Any suggestions?

Thanks,

Jason

Bruce Morrison

Monday 09 January 2006 2:37:37 pm

Hi Jason

Check ActiveExtensions & ActiveAccessExtensions under [ExtensionSettings] in your various site.ini files (override, siteaccess, settings) etc. The extension should only appear once in the override using (ActiveExtensions) or in each siteaccess using ActiveAccessExtensions.

Check system info and see if your extension appears twice.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

j jevack

Tuesday 10 January 2006 3:45:21 am

Thanks Bruce.

I had the extension defined in both the module.ini and in the module.ini.append in the settings directory of the extension. I thought the ini files would override each other but that doesn't seem to be the case. If I remove the module.ini.append file, the module appears only once in the dropdown on the first screen of the policy wizard.

Regards,

Jason

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 11:26:44
Script start
Timing: Jan 18 2025 11:26:44
Module start 'layout'
Timing: Jan 18 2025 11:26:44
Module start 'content'
Timing: Jan 18 2025 11:26:44
Module end 'content'
Timing: Jan 18 2025 11:26:44
Script end

Main resources:

Total runtime0.0167 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9063152.6250
Module start 'layout' 0.00700.0027 740.531339.4297
Module start 'content' 0.00970.0052 779.960989.2891
Module end 'content' 0.01490.0018 869.250034.3047
Script end 0.0167  903.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.3626140.0002
Check MTime0.00106.1459140.0001
Mysql Total
Database connection0.00169.739210.0016
Mysqli_queries0.002514.766130.0008
Looping result0.00000.078310.0000
Template Total0.00148.510.0014
Template load0.00084.831910.0008
Template processing0.00063.618910.0006
Override
Cache load0.00053.110710.0005
General
dbfile0.00042.162580.0000
String conversion0.00000.049840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs