[SOLVED] Drag and drop blocks positioning problem in ezpage edition

Author Message

Elena Stoycheva

Saturday 16 January 2010 4:01:22 am

Hi, there,

Currently I'm working on a project on ezp 4.2 with implemented ezflow extension version 2.0-1. I enjoy all the features of the newer versions of this extension, but I came across a problem with drag and drop positioning of blocks in ezpage edition view. When I add some blocks in a particular zone and try to move some of them using drag and drop mechanism as a result I see blocks moved in the desired order, but when I click the Publish button ( or apply any other action on the current object ) I got this error:

"Fatal error: Call to a member function attribute() on a non-object in /var/www/domains/domain.tld/extension/ezflow/datatypes/ezpage/ezpagetype.php on line 258
Fatal error: The framework did not finish its request"

Does anyone experienced the same situation? What I'm missing? Probably the problem is related to some settings? Please write me if you have any idea how to solve my problem, I'll appreciate any help!

Thanks in advance!

Iguana IT - http://www.iguanait.com

Robin Muilwijk

Sunday 17 January 2010 10:39:23 am

Hi Elena,

Can you tell me how you installed the eZ Flow extension on top of eZ Publish? I just tried to replicate this by moving some blocks in a clean eZ Flow install but was able to publish the changes without error.

Maybe it's the combination of eZ Publish and Flow, so if you can let me know how you installed that I might be able to look into that.

Thanks and regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Elena Stoycheva

Friday 05 February 2010 1:33:46 am

Hi, Robin,

Thanks for your instant reply and excuse me for my late answer! We've installed eZ Flow extension in the standard way, nothing specific. Now it is working correctly again and no more problems with blocks drag and drop are reported. I didn't modify anything related to that extension, but I assume that the first time I posted my topic the problem with blocks was caused by my network connection or my browser. I will write again if I run upon that problem during my work.

Best regards, Eli

Iguana IT - http://www.iguanait.com

Robin Muilwijk

Saturday 06 February 2010 12:07:10 pm

Hi Elena,

Glad to see you problem is fixed, do let us know if you run into it again.

Regards Robin

P.S. could you please edit your original post, and add [SOLVED] in front of the subject? Thanks...

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

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

Main resources:

Total runtime0.2792 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.5391152.6875
Module start 'layout' 0.00820.0046 742.226639.5234
Module start 'content' 0.01280.2649 781.7500555.5781
Module end 'content' 0.27770.0015 1,337.328112.0703
Script end 0.2792  1,349.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00391.4018160.0002
Check MTime0.00140.5083160.0001
Mysql Total
Database connection0.00140.518910.0014
Mysqli_queries0.203172.7506620.0033
Looping result0.00060.2220600.0000
Template Total0.226481.120.1132
Template load0.00210.736620.0010
Template processing0.224480.355820.1122
Template load and register function0.00010.053710.0001
states
state_id_array0.00592.121710.0059
state_identifier_array0.00120.424020.0006
Override
Cache load0.00180.6369290.0001
Sytem overhead
Fetch class attribute can translate value0.00070.238220.0003
Fetch class attribute name0.00160.567350.0003
XML
Image XML parsing0.00341.213420.0017
class_abstraction
Instantiating content class attribute0.00000.005760.0000
General
dbfile0.01033.7061180.0006
String conversion0.00000.003240.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
2content/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: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs