Forums / Setup & design / can't install package created in ezp

can't install package created in ezp

Author Message

Andrei Barhatov

Thursday 03 February 2005 9:55:57 pm

I have created my own large class "edu_institution" (98 attributes). Then I create one "edu_institution" object and I have such problem: if I create new package in ez publish for export of this "edu_institution" content object then I can't import this package again:

Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

In debug information there are no errors (only one Notice: eZMySQLDB::query(0.000 ms) query number per page:0).

Although yesterday it's worked with this class... I even have restored old version of MySQL database, but have the same error %[ Maybe there are some problems with ezp's folders/files?

With others objects (links, articles, ...) export and following import works.

System: ezp 3.5 (10342), win xp sp2, apache 2.0.52, php 4.3.10, mmcache.

PS: also there were errors when I post new topic to ez.no forum:

Fatal error: Call to a member function on a non-object in /mnt/home2/ez.no/www/kernel/classes/notification/eznotificationevent.php on line 158
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Andrei Barhatov

Friday 04 February 2005 12:23:20 am

I have removed this class and create new analogous one (already with 102 fields), but the same error is happen again %[

Frederik Holljen

Friday 04 February 2005 12:27:54 am

Please don't cross-post your messages in several forums.

Andrei Barhatov

Friday 04 February 2005 12:50:33 am

I don't, it's bug of forum. I have got error during creation of this topic and get errors during replies to it:

Fatal error: Call to a member function on a non-object in /mnt/home2/ez.no/www/kernel/classes/notification/eznotificationevent.php on line 158
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Then I press BACK and see form with list of topics's versions (ez publish versions)...

Hmm... Now my class have 102 fields and I plan about 1200 of objects...

Frederik Holljen

Friday 04 February 2005 1:34:40 am

The problem you described seems to have been resolved (it was a problem with APC).

Do you plan to use your objects in a dynamic way? By that I mean that they will be used on pages that can not be cached... (pages with personalized content per user)

Andrei Barhatov

Friday 04 February 2005 1:58:07 am

Frederik, it was resolved problem with forum or problem with import?..

My data will be almost static. 102 fileds x 1200 records = about 120 000 rows in table. Hmmm... is it a lot?

Frederik Holljen

Friday 04 February 2005 2:43:51 am

The forum issue was resolved.

Now back to your problem:
120k rows is not a problem. I was more concerned about the query fetching the data of one object. But I think it will be ok.

I don't know the reason for you import problem though. I still think you should send a bug report with your package attached so we can test it.

Andrei Barhatov

Friday 04 February 2005 2:49:20 am

Uff... I eventually localized error: package creation and following import doesn't work if in class exists URL attribute.

I have tested my class several times for this supposition (remove attribute, export/import package, add it again, export/import package, then change type of it). Export/import stably doesn't work with URL datatype. Maybe URL datatype is not correctly serialized in XML.

Addition: EMPTY URL doesn't work correctly. Normal filled URL normally exported & imported from package. I tested it on standard class Link too.

Frederik Holljen

Friday 04 February 2005 2:53:06 am

Now that is a bug! Please report and thanks for the investigation.

eZ debug

Timing: Jan 18 2025 11:18:45
Script start
Timing: Jan 18 2025 11:18:45
Module start 'content'
Timing: Jan 18 2025 11:18:46
Module end 'content'
Timing: Jan 18 2025 11:18:46
Script end

Main resources:

Total runtime1.0282 sec
Peak memory usage4,096.0000 KB
Database Queries212

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.2578180.8281
Module start 'content' 0.00520.8666 770.0859578.1641
Module end 'content' 0.87180.1563 1,348.2500341.0703
Script end 1.0281  1,689.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4132210.0002
Check MTime0.00150.1480210.0001
Mysql Total
Database connection0.00060.061410.0006
Mysqli_queries0.939691.38242120.0044
Looping result0.00210.20912100.0000
Template Total0.996096.920.4980
Template load0.00230.223120.0011
Template processing0.993796.645520.4969
Template load and register function0.00020.018210.0002
states
state_id_array0.00180.172110.0018
state_identifier_array0.00170.160620.0008
Override
Cache load0.00200.1945460.0000
Sytem overhead
Fetch class attribute can translate value0.00170.164030.0006
Fetch class attribute name0.00130.1219100.0001
XML
Image XML parsing0.00090.091030.0003
class_abstraction
Instantiating content class attribute0.00000.0027130.0000
General
dbfile0.00380.3676270.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs