... because from time to time I'm a web developer, too
About me
Projects
Contact
Links

WordPress said: PCLZIP_ERR_BAD_FORMAT (-10)

October 22, 2009 | other
author: Karol Zielinski | comments: 1 | views: 1549
Tags: , , , ,

I had an issue… I couldn’t upgrade my WordPress to 2.8.5 because of an error: ‘PCLZIP_ERR_BAD_FORMAT (-10)’. What is it and how to fix that problem?

Answer is really simple:
comment mbstring.func_overload in your php.ini!

I was fighting with that for a few days… now I know that it was the problem.

What is mbstring.func_overload? From the php.ini:

overload(replace) single byte functions by mbstring functions.
mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
etc. Possible values are 0,1,2,4 or combination of them.
For example, 7 for overload everything.
0: No overload
1: Overload mail() function
2: Overload str*() functions
4: Overload ereg*() functions

And some more informations about overloading you can find on php.net.

After you comment this line in php.ini – restart your web server.

Bookmark and Share
Post WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) to develway Post WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) to Delicious Post WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) to Digg Post WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) to Facebook Post WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) to Reddit Post WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) to StumbleUpon

Related news and resources

Comments (1)

4Avatars v0.3.1 v0.3.1
Wordpress said: PCLZIP_ERR_BAD_FORMAT (-10) - develway.pl - wiadomości dla programistów, wiadomości IT, świeże linki ze świata IT
December 3, 2009, 7:39 am

[...] tech.karolzielinski.com Follow us on Twitter 1,510 śledzących RSS Feed 162 czytelników WordPress said: PCLZIP_ERR_BAD_FORMAT (-10) 1 głosuj! I had an issue… I couldn’t upgrade my WordPress to 2.8.5 because of an [...]

Write a comment

Karol Zielinski :: Just a tech stuff Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.

Most popular posts

Much more links

Karol Zielinski    |   contact me
Gdynia, Poland
RSS - Just a tech stuff - python, java blog - web development blog Karol Zielinski on twitter Karol Zielinski on LinkedIn Karol Zielinski on facebook Karol Zielinski on delicious Karol Zielinski on digg Karol Zielinski on flickr Karol Zielinski on stumbleupon Karol Zielinski on technorati