Forums / Install & configuration / Invalid package Remote repository

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