Problem when creating a class for audio extension

Author Message

Thirunavukkrasu Arumugam

Monday 16 February 2009 9:28:53 pm

Hi I am new to Ezpublish..

when i try to create a class for audio extension.. it gives the following error..

Anybody please help me to activate the audio extension

Thanking you
Arasu
Fatal error: Cannot make static method eZPersistentObject::definition() non static in class Audio in /home/chipkidz/public_html/ezpub/extension/audio/datatypes/audio/audio.php on line 179
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

Ɓukasz Serwatka

Tuesday 17 February 2009 12:13:05 am

Hi,

I don't know a Audio extension, but error is very clear. eZPersistentObject::definition() is a static method. See http://www.php.net/manual/en/language.oop5.static.php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 04:52:49
Script start
Timing: Jan 18 2025 04:52:49
Module start 'layout'
Timing: Jan 18 2025 04:52:49
Module start 'content'
Timing: Jan 18 2025 04:52:50
Module end 'content'
Timing: Jan 18 2025 04:52:50
Script end

Main resources:

Total runtime0.7313 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.1641152.6406
Module start 'layout' 0.00570.0029 741.804739.4922
Module start 'content' 0.00870.7213 781.2969532.7188
Module end 'content' 0.73000.0013 1,314.01568.1250
Script end 0.7313  1,322.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5128160.0002
Check MTime0.00140.1883160.0001
Mysql Total
Database connection0.00130.171410.0013
Mysqli_queries0.683893.5025540.0127
Looping result0.00060.0815520.0000
Template Total0.696895.320.3484
Template load0.00260.361620.0013
Template processing0.694294.923420.3471
Template load and register function0.00010.011510.0001
states
state_id_array0.00100.130310.0010
state_identifier_array0.00110.152920.0006
Override
Cache load0.00220.3041160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.074820.0003
Fetch class attribute name0.00200.275140.0005
XML
Image XML parsing0.00100.140320.0005
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00100.1306240.0000
String conversion0.00000.001440.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs