ez flow error

Author Message

Neo Pixel

Friday 24 September 2010 10:54:48 am

I have ezflow on 4.3 but everytime i try to add things i get this error.

Fatal error: Cannot redeclare class eZFlowPool in public_html/extension/ezflow/classes/ezflowpool.php on line 28
Fatal error: eZ Publish did not finish its request

I have created an extension for my site style so I'm guessing the paths have been affected???

Any clues would be appreciated :)

Asking stupid questions so you don't have to!

André R.

Saturday 25 September 2010 1:51:27 am

You have two classes with same name, did you copy classes from ezflow into your own extension and forgot rename the class? Or is the file corrupted, or, or..? Many possibilities, search for "class eZFlowPool" in all php files to see where else it has been declared.

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

Neo Pixel

Saturday 25 September 2010 4:50:37 am

I copied the whole ezflow extension directory and gave it a different name...:$

What else should I rename?

Asking stupid questions so you don't have to!

Carlos Revillo

Saturday 25 September 2010 6:25:17 am

But you left the other extension in the same place? if so, that's the problem.

first, regenerate your autload with php bin/php/ezpgenerateautoloads.php -e

that should give you some warning about.

move the previous ezflow outside of ez publish folder to fix that, and regenerate autoloads again.

Neo Pixel

Monday 27 September 2010 11:13:56 am

Thanks for the info

How do I do this can you please explain?

"first, regenerate your autload with php bin/php/ezpgenerateautoloads.php -e"

Asking stupid questions so you don't have to!

Christian Rößler

Monday 27 September 2010 11:47:00 am

"

Thanks for the info

How do I do this can you please explain?

"first, regenerate your autload with php bin/php/ezpgenerateautoloads.php -e"

"

Hy,

re-generating the autoload is one of the few basic things you should know when using/programming eZPublish.

First you need a commandline (shell) on your Server where your eZPublish is running (or your development server). Then go into (change directory) the folder, where you have eZPublish installed and type as non-root (Administrator) User: "php bin/php/ezpgenerateautoloads.php -e" which will create a "mapping" of php-Class-names and the corresponding location of php-files.

This is very similar when on linux, mac or windows. Sometimes you might require to use the full path to the "php" binary (the program, or exe file). So instead of typing "php bin/php/ezpg..." you might consider using "/usr/bin/php bin/php/ezpg..." or on Windows "C:\Program Files\php5\bin\php.exe bin\php\ezpg..." or wherever you have php installed.

As always: Do not copy'n'paste anything you find on the net into your shell. Make sure you understand what these commands do. If not doing so, yopu might have more problems then you have now.

Cheers,

Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Neo Pixel

Tuesday 28 September 2010 2:55:13 am

Thanks Christian for your great answer

I'll give that a try later.

Thanks again :)

Asking stupid questions so you don't have to!

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

Main resources:

Total runtime0.6465 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.7891152.6094
Module start 'layout' 0.00600.0020 740.398439.4141
Module start 'content' 0.00810.6370 779.8125659.8984
Module end 'content' 0.64500.0014 1,439.710916.2031
Script end 0.6465  1,455.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5099160.0002
Check MTime0.00130.2045160.0001
Mysql Total
Database connection0.00110.165510.0011
Mysqli_queries0.562286.9675730.0077
Looping result0.00080.1270710.0000
Template Total0.615795.220.3079
Template load0.00220.338820.0011
Template processing0.613594.903120.3068
Template load and register function0.00010.020110.0001
states
state_id_array0.00110.175110.0011
state_identifier_array0.00080.125320.0004
Override
Cache load0.00200.3084470.0000
Sytem overhead
Fetch class attribute can translate value0.00130.194540.0003
Fetch class attribute name0.00180.274090.0002
XML
Image XML parsing0.00290.441040.0007
class_abstraction
Instantiating content class attribute0.00010.0089120.0000
General
dbfile0.00350.5443240.0001
String conversion0.00000.001040.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs