Forums / Extensions / eZ Classlists and eZ 4.5

eZ Classlists and eZ 4.5

Author Message

Ludovic lacaze

Wednesday 22 June 2011 2:45:32 am

i try to install ezClasslists on ez 4.5, but i got a problem with i18N

i got this fatal error :

Fatal error: Call to undefined function ezi18n() in extension/ezclasslists/modules/classlists/list.php on line 139
Fatal error: eZ Publish did not finish its request

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

It looks to be the same in quite a lot of extensions

Edi Modrić

Wednesday 22 June 2011 4:23:22 am

Hi Ludovic

ezi18n function was deprecated some time ago and subsequently removed from eZ Publish.

You need to either find a newer version of that extension that uses the new functions for translating the text or hack the extension and replace calls to ezi18n with calls to ezpI18n::tr function.

eZ Publish certified developer

http://ez.no/certification/verify/350658

Damien Pobel

Wednesday 22 June 2011 5:49:34 am

Hi,

I'm the original author of ezclasslists extension and I must admit that I have done nothing on it for months (almost 2 years :() even if there are some bugs to fix like this one and I have several improvements in mind...

To fix this, Edi is right, you have to replace all ezi18n() function call in PHP by ezI18n::tr(). I'll try to provide a new version quickly...

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Nicolas Pastorino

Wednesday 22 June 2011 6:02:04 am

Hi Ludovic, 

Building off what Damien said : go the open-source way ! 

You can make the modifications (which you will need anyways), and after having become a member of the project (click the right-column button once logged-in there : http://projects.ez.no/ezclasslists/team/members ) please contribute back the modifications.

That is the way to rock in the eZ Community.

By the way : welcome aboard !

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Damien Pobel

Wednesday 22 June 2011 2:04:36 pm

Hi,

I released eZ Class Lists 1.2 where this issue is fixed. I also made several improvements see http://projects.ez.no/ezclasslists/news/release_of_ez_class_lists_1_2 (or in french if you prefer http://pwet.fr/blog/ez_class_lists_1_2 )

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Ludovic lacaze

Thursday 23 June 2011 2:15:53 am

Hi,

 

Damien, thanks for the release.

Nicolas I don't say no to the open source way, I will try to find a project to give a hand, or to publish issue fix if I make some.

Cheers

Nicolas Pastorino

Thursday 23 June 2011 2:43:16 am

"

Nicolas I don't say no to the open source way, I will try to find a project to give a hand, or to publish issue fix if I make some.

"

Awesome !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye