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 ?

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 02:57:41
Script start
Timing: Jan 18 2025 02:57:41
Module start 'layout'
Timing: Jan 18 2025 02:57:41
Module start 'content'
Timing: Jan 18 2025 02:57:42
Module end 'content'
Timing: Jan 18 2025 02:57:42
Script end

Main resources:

Total runtime0.6468 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.0054 592.2344152.6563
Module start 'layout' 0.00540.0027 744.890639.5000
Module start 'content' 0.00800.6375 784.3906542.3828
Module end 'content' 0.64550.0012 1,326.773412.0938
Script end 0.6467  1,338.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4855160.0002
Check MTime0.00130.1984160.0001
Mysql Total
Database connection0.00070.105910.0007
Mysqli_queries0.596092.1569570.0105
Looping result0.00060.0951550.0000
Template Total0.617595.520.3088
Template load0.00210.321920.0010
Template processing0.615495.153020.3077
Template load and register function0.00030.045010.0003
states
state_id_array0.00130.207810.0013
state_identifier_array0.00090.136820.0004
Override
Cache load0.00180.2782280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.111720.0004
Fetch class attribute name0.00110.165740.0003
XML
Image XML parsing0.00070.104320.0003
class_abstraction
Instantiating content class attribute0.00000.001740.0000
General
dbfile0.00070.1138170.0000
String conversion0.00000.001340.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
4content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 22
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs