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.

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

Main resources:

Total runtime0.7215 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0313152.6406
Module start 'layout' 0.00590.0032 740.671939.4766
Module start 'content' 0.00920.7109 780.1484573.0703
Module end 'content' 0.72010.0014 1,353.218820.1406
Script end 0.7215  1,373.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4402160.0002
Check MTime0.00130.1849160.0001
Mysql Total
Database connection0.00040.059410.0004
Mysqli_queries0.656390.9708750.0088
Looping result0.00060.0815730.0000
Template Total0.691795.920.3458
Template load0.00210.286920.0010
Template processing0.689695.583420.3448
Template load and register function0.00010.017510.0001
states
state_id_array0.00230.316710.0023
state_identifier_array0.00140.197720.0007
Override
Cache load0.00190.2589460.0000
Sytem overhead
Fetch class attribute can translate value0.00060.078820.0003
Fetch class attribute name0.00150.2145100.0002
XML
Image XML parsing0.00060.085120.0003
class_abstraction
Instantiating content class attribute0.00000.0046130.0000
General
dbfile0.00080.1049160.0000
String conversion0.00000.001540.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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