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.