Invalid package Remote repository

Author Message

Andy Chauhan

Tuesday 18 August 2009 8:30:06 pm

I am running the lastest version of PHP and MySQL and Apache. I get the following error, upon selecting Website Interface.
------------------------------------start error-------------------------------
Error

Invalid package

Remote repository URL: http://packages.ez.no/ezpublish/4.1/4.1.3/
------------------------------------end error--------------------------------------
When I tried to upload the ezwebin_site.ezpkg file it gives me the following error

------------------------------start error--------------------------------------------------------------
Error

Uploaded file is not an eZ Publish package

Remote repository URL: http://packages.ez.no/ezpublish/4.1/4.1.3/
------------------------------------------end error--------------------------------------------------------

I have zlib fully enabled in my PHP, and everythign looks ok. I also tried everythign recommended by Mr. Kristof in this thread:
http://ez.no/it/developer/forum/install_configuration/site_package_selection_invalid_package

and I still get the same 2 errors. Somebody please let me know what am I missing.

André R.

Wednesday 19 August 2009 12:54:19 am

Care to post some more details on your system?
php version, php extensions, eZ Components version, os..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Kalle T

Sunday 30 August 2009 1:20:15 pm

I was seeing the very same symptoms as Andy but was able to solve the problem.

In my case, the issue was caused by the fact that I had multibyte string function overloading enabled in php.ini (configuration directive mbstring.func_overload). As a result, ezcArchive became confused so that it could only see some of the files in the site package (and in any tarball, for that matter).

The "Site package selection" step during installation was failing because eZPackage was unable to find package.xml even though the file was there.

The bottom line: mbstring function overloading and ezcArchive do not seem to play well together.

//Kalle

Scott Sanders

Wednesday 27 April 2011 5:19:35 am

I cannot install 4.5 beta1 due to this issue, and checking various symptoms posted here since 2006 (!), including those above, have yielded fruitless too. So, bump.

Edit: Oops, mbstring.func_overload = 0 was not in my dev php.ini. Fixed!

http://twitter.com/ScottMSanders

Gaetano Giunta

Wednesday 27 April 2011 10:07:58 am

A good candidate for a feature request then: add checking for mbstring.func_overload in the setup wizard. Anybody wants to write this down in the issue tracker?

Principal Consultant International Business
Member of the Community Project Board

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 03:05:00
Script start
Timing: Jan 18 2025 03:05:00
Module start 'layout'
Timing: Jan 18 2025 03:05:00
Module start 'content'
Timing: Jan 18 2025 03:05:00
Module end 'content'
Timing: Jan 18 2025 03:05:00
Script end

Main resources:

Total runtime0.0187 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.0469152.6406
Module start 'layout' 0.00730.0035 740.687539.4766
Module start 'content' 0.01080.0058 780.164193.3672
Module end 'content' 0.01660.0021 873.531338.3047
Script end 0.0187  911.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002814.6971140.0002
Check MTime0.00116.0918140.0001
Mysql Total
Database connection0.00147.282410.0014
Mysqli_queries0.002714.660230.0009
Looping result0.00000.128510.0000
Template Total0.00189.510.0018
Template load0.00095.025810.0009
Template processing0.00084.401310.0008
Override
Cache load0.00063.201710.0006
General
dbfile0.00031.526480.0000
String conversion0.00000.048340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs