Add an new Operator

Author Message

Christian Pfeiffer

Thursday 19 October 2006 3:54:57 am

Hi all,

I have to add an new operator into my EZP installation, therefore I created two .php files under /extension/ezDownloadPlatform/autoloads/ long time ago (eztemplateautoload.php and ezDownloadPlatform.php) within I have 5 operators (4 of them are working) but the last one which I added newly to the function doesnt work properly. So I just changed the file a bit and I'm sure that I managed that in an proper way.

In the debug I always get the message" Warning EzTemplate: operator "operator-name" is not registered.

I also checked the site.ini.append file but the ExtensionAutoloadPath is set properly.

Does anyone have an idea how to solve this issue?

Thanks in advance.
Chris.

Claudia Kosny

Thursday 19 October 2006 4:03:01 am

Hi Christian

If all the other operators in this extension work fine it must be somehting within either the eztemplateautoload.php or ezDownloadPlatform.php. So please post them here - if necessary remove what your operators are actually doing as this is most likely unnecessary information which just takes a lot of space in the post.

Please also tell us which version of EZ you use.

Greetings from Luxembourg

Claudia

Christian Pfeiffer

Thursday 19 October 2006 4:49:41 am

Hi Claudia,

thanks for your quick reply.

I got the error it was just a typo in my template.

Sorry for robbing your time.

Thanks a lot.
Chris

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 20 2025 11:04:19
Script start
Timing: Jan 20 2025 11:04:19
Module start 'layout'
Timing: Jan 20 2025 11:04:19
Module start 'content'
Timing: Jan 20 2025 11:04:20
Module end 'content'
Timing: Jan 20 2025 11:04:20
Script end

Main resources:

Total runtime1.4828 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 589.1484152.6250
Module start 'layout' 0.00900.0045 741.773439.4297
Module start 'content' 0.01351.4679 781.2031468.5391
Module end 'content' 1.48130.0014 1,249.74228.1875
Script end 1.4828  1,257.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2363160.0002
Check MTime0.00150.0983160.0001
Mysql Total
Database connection0.00070.050310.0007
Mysqli_queries1.432296.5852570.0251
Looping result0.00060.0407550.0000
Template Total1.425296.120.7126
Template load0.00220.146620.0011
Template processing1.423095.966220.7115
Template load and register function0.00030.017110.0003
states
state_id_array0.00330.222110.0033
state_identifier_array0.00270.184220.0014
Override
Cache load0.00180.1222230.0001
Sytem overhead
Fetch class attribute can translate value0.00090.062720.0005
Fetch class attribute name0.00140.094730.0005
XML
Image XML parsing0.00020.014320.0001
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00310.2100100.0003
String conversion0.00000.000740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs