Forums / Install & configuration / ez newletter extension triggers class autoload duplicates

ez newletter extension triggers class autoload duplicates

Author Message

Yves Benigot

Friday 17 June 2011 3:25:59 am

I am trying to install eznewletter 1.5.2 on ezPublish 4.4 on Linux

I successfully extracted the archive in the extension directory, and passed the newsletter.sql script

I get errors when activating the extension :

Problèmes détectés durant la génération du tableau de classes :Class eZGmapLocation in file extension/ezgmaplocation/classes/ezgmaplocation.php is already defined in:extension/extension/ezgmaplocation/classes/ezgmaplocation.php (var/autoload/ezp_extension.php)This class was not added to the autoload array.Class ezgmlLocationFilter in file extension/ezgmaplocation/classes/ezgmllocationfilter.php is already defined in:extension/extension/ezgmaplocation/classes/ezgmllocationfilter.php (var/autoload/ezp_extension.php)This class was not added to the autoload array.Class eZGmapLocationType in file extension/ezgmaplocation/datatypes/ezgmaplocation/ezgmaplocationtype.php is already defined in:extension/extension/ezgmaplocation/datatypes/ezgmaplocation/ezgmaplocationtype.php (var/autoload/ezp_extension.php)This class was not added to the autoload array.

And I see that now I have an extension named 'extension' which seems weird.

Also I don't see any trace of any newsletter menu in the admin, where should it be ?

André R.

Saturday 18 June 2011 1:23:35 am

As far as I can see from what you provide here it is gmap extension you have issues with, you basically have extracted it twice, once in extension/extension which should be removed.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Yves Benigot

Monday 20 June 2011 3:55:38 am

You where perfectly right, that was 95% of the problem, only I didn't see it because we have several ezPublish environnements installed and I looked at the wrong location.

One error still persists , and I believe it's different :

Class eZTopMenuOperator in file extension/eznewsletter/autoloads/eztopmenuoperator.php is already defined in:
kernel/common/eztopmenuoperator.php (autoload/ezp_kernel.php)
This class was not added to the autoload array.

I looked at the files : they are different, so I shouldn't suppress one of them blindly.

Do you have an idea what I should do on this last error ?