This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Install & configuration » [ eZ 4.7 ] Installation : package...

[ eZ 4.7 ] Installation : package step problem

[ eZ 4.7 ] Installation : package step problem

Sunday 24 November 2013 2:33:28 pm - 2 replies

Hello everyone,

Sorry to ask for something that may have already been treated in the past but I can't find any information about it and that's driving me crazy :

I just wanted to install eZ 4.7, but I'm stuck at the "site package" step, which reports when I select "plain site" :


Invalid package

Remote repository URL:

So, I just don't know what to do, as manual upload reports a problem too :

Uploaded file is not an eZ Publish package

Could that be linked to a missing requirement on the server ? (Apache). Zlib seems installed, and I just notice "AcceptPathInfo" is "disabled or running in CGI mode".

Any idea/suggestion/good word to save my mind from going completely crazy ? big-smile.gif Emoticon 

Thanks !

Thursday 12 December 2013 7:22:00 pm

Hi Jordan,

I just had a similar problem with the latest community edition and I've addressed the cause of this problem.

Basically, because the eZ Publish package archives use "\0" as the placeholders in entry path, so such entries can't be extracted successfully.

The following files need to be changed to fix it:


 @@ -1137,7 +1137,7 @@ class eZPackage
             // Search for the files we want to extract
             foreach( $archive as $entry )
-                if ( in_array( $entry->getPath(), $fileList ) )
+                if ( in_array( trim($entry->getPath(),DIRECTORY_SEPARATOR), $fileList ) )
                     if ( !$archive->extractCurrent( $archivePath ) )


 @@ -196,11 +196,11 @@ class ezcArchiveEntry
         if ( $withPrefix )
-            return $this->fileStructure->path;
+            return trim($this->fileStructure->path);
-            return $this->getPathWithoutPrefix( $this->fileStructure->path, $this->prefix );
+            return $this->getPathWithoutPrefix( trim($this->fileStructure->path), $this->prefix );

Thursday 12 December 2013 7:23:07 pm

You can also review the changes at the following URLs:


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from