Swark Extension Installation Troubles

Author Message

Max Buser

Thursday 05 February 2009 10:41:41 pm

I'm working on a project that requires me to get the user's IP address. Based on another forum post, I installed Swark.

http://ez.no/developer/forum/install_configuration/fetch_user_ip_address_feedback_form/re_fetch_user_ip_address_feedback_form__1

After Installation, I received a PHP error, exactly like the one in a post on the Swark extension page. Link and error message:

http://ez.no/developer/contribs/template_plugins/swark_for_ez_publish_4

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

PHP Fatal error: Class 'SwarkOperators' not found in /var/www/xxxxx/extension/swark/autoloads/eztemplateautoload.php on line 22, referer: http://xxxxxx

Unfortunately, the solution presented there (namely, make sure eZ Components is installed and regenerate the autoload file) didn't work for me. I've ensured eZ Components is installed, however still get the error.

Any help with this issue would be greatly appreciated, and thank you in advance for your time!

Ekkehard Dörre

Sunday 15 February 2009 1:46:48 am

Hi Max,

with this extension you must generate the autoload via PHP Cli on command line / shell with bin/php/ezpgenerateautoloads.php -e

with web interface it is not possible

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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:06:37
Script start
Timing: Jan 18 2025 05:06:37
Module start 'layout'
Timing: Jan 18 2025 05:06:37
Module start 'content'
Timing: Jan 18 2025 05:06:38
Module end 'content'
Timing: Jan 18 2025 05:06:38
Script end

Main resources:

Total runtime0.5867 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.1484152.6406
Module start 'layout' 0.00590.0048 741.789139.4609
Module start 'content' 0.01070.5745 781.2500524.3281
Module end 'content' 0.58520.0014 1,305.57818.3125
Script end 0.5866  1,313.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5830160.0002
Check MTime0.00140.2364160.0001
Mysql Total
Database connection0.00070.125510.0007
Mysqli_queries0.535891.3320540.0099
Looping result0.00110.1811520.0000
Template Total0.549993.720.2749
Template load0.00200.349420.0010
Template processing0.547893.378520.2739
Template load and register function0.00010.021310.0001
states
state_id_array0.00120.209710.0012
state_identifier_array0.00060.103720.0003
Override
Cache load0.00170.2868180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.098920.0003
Fetch class attribute name0.00090.156830.0003
XML
Image XML parsing0.00080.132420.0004
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00070.1201160.0000
String conversion0.00000.001940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs