Forums / Developer / package manager 4.x

package manager 4.x

Author Message

Chris Christes

Sunday 23 May 2010 2:45:27 pm

i got a very interesting problem with the package manager. i want to move my site to a new server and try to export a selection of content from a working ezp site 4.1.3. and reinstall it on a 4.3 installation. to do this i split the content and create a package for each main subtree.
i got no errors by creating the packages but on installation, (also on the same site) some packages can‘t be installed and give me the following error:

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

Notice: PHP: E_NOTICE
Trying to get property of non-object in kernel/classes/datatypes/ezauthor/ezauthortype.php on line 317

I‘m very confused cause the non working package is a very simple one - the package with all my picture galleries, including hundreds of full size images, is working very nice.
I recreate the root folder and the database from my backup, create a package from every node, find the non working object, reading all the xml‘s but can‘t find the problem.
Here you can find the:

bad_package-1.0-1.zip
bad_package-1.0-1.ezpkg
complete debug output
non working object

I try to fix the problem with the following steps on my new, nice running server, after reading all the threads over mysql tuning, and checking the max regulations in my php.ini

  • install the package on the same installation where it was been created
  • create package with all possible option variations
  • recreate root & database after every error
  • clear all caches
  • delete all versions of the object
  • run php bin/php/flatten.php contentobject
  • republish the object
  • move the content tree

Nothing takes effect - any ideas?

chears

chris

http://www.wellenwerk.de

wo ein wille ist, ist auch ein code....

Chris Christes

Sunday 23 May 2010 6:56:19 pm

hey folks,

didn't solve the issue, but here is a work around, not really pretty, but it works....

if you got the problem... just make a subtree copy before you create the package:

 php bin/php/ezsubtreecopy.php --src-node-id=VALUE --dst-node-id=VALUE --keep-creator --keep-time

need more options?

 php bin/php/ezsubtreecopy.php -h

still interested whats happens to my content objects...

chears....

http://www.wellenwerk.de

wo ein wille ist, ist auch ein code....