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.