Extension ezfire

Author Message

kamal kamal

Monday 14 September 2009 7:24:52 am

I have a problem with the extension EZFire it works more if anyone can tell me the steps for this extension to work and thank you

Steven E. Bailey

Monday 14 September 2009 7:55:49 am

Well, for one thing you'd be better off posting a message to http://projects.ez.no/ezfire/forum

So what exactly is the problem and what versions of php/firephp/firebug/firefox do you have?

Did you read the INSTALL.txt and README.txt documents? Did you go to www.firephp.org to make sure that firephp works? Does it say "You have FirePHP installed." on that page?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

kamal kamal

Monday 14 September 2009 8:50:16 am

First thank you for your reply
yes I installed everything and it works FirePHP
if you know the steps and gives me the same versions of firebug and version of FirePHP by what is really urgent
thank you very much

Steven E. Bailey

Monday 14 September 2009 1:13:43 pm

So, what exactly are you doing. If you add {"THIS IS A MESSAGE"|ezfire("THIS IS THE LABEL")} to a template - for instance, pagelayout.tpl - what do you see in the firebug console? You do have to enable the net panel for each site... did you do that?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

kamal kamal

Tuesday 15 September 2009 2:45:53 am

when I activate the extension in the EZFire backoffiche I get the following message:

Problems detected during autoload generation:

Class eZDebug in file extension/ezfire/lib/ezutils/classes/ezdebug.php is already defined in:
lib/ezutils/classes/ezdebug.php (autoload/ezp_kernel.php)
This class was not added to the autoload array.

thank you

Steven E. Bailey

Tuesday 15 September 2009 3:15:14 am

This is normal. I have an example script if you want to see the ezdebug output in the firebug console too. Since you don't want to do this at this point in time then the kernel one is going to take precedence anyway - that is what this message means. The other classes should be in the extension autoload file.

I repeat:

So, what exactly are you doing? If you add {"THIS IS A MESSAGE"|ezfire("THIS IS THE LABEL")} to a template - for instance, pagelayout.tpl - what do you see in the firebug console? You do have to enable the net panel for each site... did you do that?

What versions of php/firephp/firebug/firefox/ezpublish do you have?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

kamal kamal

Tuesday 15 September 2009 3:55:02 am

if I write the message {"THIS IS A MESSAGE"|ezfire("THIS IS THE LABEL")} to a template I get in the firebug console THIS IS THE LABEL: THIS IS A MESSAGE

Steven E. Bailey

Tuesday 15 September 2009 4:18:43 am

So, it is working.

One problem that you might run into is if the information is big for the firephp console, a bunch of javascript timeout errors will occur.

So, don't try and display a whole node but try and narrow down what you you want, i.e. {$node.datamap|ezfire("DATAMAP")} - that sort of thing.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Sander van den Akker

Sunday 27 September 2009 4:52:35 am

I tried this extension by putting

{$node|ezfire('NODE OUTPUT')}

In a template.

eZ Publish crashes with the following output in errror.log:

[ Sep 27 2009 13:46:22 ] [82.95.207.47] eZContentObject::fetch():
Object not found ()

This is on eZ 4.1.3 with PHP 5.2.5. I also have 'problems detected during autoload generation'.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Steven E. Bailey

Wednesday 30 September 2009 2:48:56 am

Object not found is not something that could come from the ezfire extension I don't think.

Try {"THIS IS A MESSAGE"|ezfire("THIS IS THE LABEL")} . If that isn't displayed then go to the www.firephp.org site and see if all the conditions as described in the doc/INSTALL.txt are met.

But, anyway, I wouldn't try and send a whole $node to ezfire because you'll end up getting a bunch of javascript errors. Try $node.data_map or you can try {$node|ezfire("NODE","INFO",2)} to limit the depth to 2.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

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 05:17:13
Script start
Timing: Jan 18 2025 05:17:13
Module start 'layout'
Timing: Jan 18 2025 05:17:13
Module start 'content'
Timing: Jan 18 2025 05:17:14
Module end 'content'
Timing: Jan 18 2025 05:17:14
Script end

Main resources:

Total runtime1.0903 sec
Peak memory usage4,096.0000 KB
Database Queries80

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9141152.6094
Module start 'layout' 0.00600.0031 741.523439.4297
Module start 'content' 0.00901.0795 780.9531663.8047
Module end 'content' 1.08860.0017 1,444.757824.1875
Script end 1.0903  1,468.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2966160.0002
Check MTime0.00130.1201160.0001
Mysql Total
Database connection0.00120.105710.0012
Mysqli_queries1.018893.4410800.0127
Looping result0.00070.0619780.0000
Template Total1.060597.320.5302
Template load0.00200.184220.0010
Template processing1.058497.075120.5292
Template load and register function0.00020.018310.0002
states
state_id_array0.00090.081510.0009
state_identifier_array0.00190.173520.0009
Override
Cache load0.00180.1614500.0000
Sytem overhead
Fetch class attribute can translate value0.00080.076330.0003
Fetch class attribute name0.00140.1296120.0001
XML
Image XML parsing0.00110.097730.0004
class_abstraction
Instantiating content class attribute0.00000.0029160.0000
General
dbfile0.00090.0794240.0000
String conversion0.00000.000840.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
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/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
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs