Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-2316 now.

B4: can't download update archive as tar.bz2 (fix completed in vcs)

The following error appears during the step "Update files" when choosing ".tar.bz2" as archive type and pressing the download button:
{ Admin panel }

{ Admin index } • Board index

{ Logged in as }
[ Logout ]

Information

Unable to open file ./../store/update_3.0.B3_to_3.0.B4.tar.bz2 [bzopen - wb]
Time : 1164668642.504s | 5 Queries | GZIP : Off

".tar", ".tar.gz" and ".zip" however works as expected.

I'm running PHP 5.2.0-pl0-gentoo on a linux system.

Comments / History

Posted by SHS` (Consultant) on Nov 28th 2006, 00:51

I confirm this too on a source (hand compiled) PHP5.2.0 install with Apache-SSL.

My configure line is:

Code: Select all
Configure Command =>  './configure' '--prefix=/usr/local/php_520' '--with-config-file-path=/etc/php5x' '--with-apxs=/usr/b
in/apxs-ssl' '--enable-track-vars' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql-sock=/var/run/m
ysqld/mysqld.sock' '--with-interbase=/usr' '--enable-bcmath' '--enable-sockets' '--enable-memory-limit' '--with-zlib' '--w
ith-zlib-dir=/usr' '--enable-mbstring' '--with-bz2' '--with-mhash' '--with-mcrypt' '--with-ming' '--with-curl' '--enable-c
li' '--with-ncurses' '--with-mcal=/usr' '--enable-calendar' '--disable-debug' '--enable-inline-optimization' '--enable-ftp
' '--with-gd=/usr' '--with-gettext' '--with-openssl' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--w
ith-iconv' '--enable-exif' '--enable-xml' '--enable-libxml' '--with-xmlrpc' '--with-xsl=/usr' '--with-libxml-dir=/usr' '--
with-expat-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-tiff-dir=/usr' '--with-imap' '--with-imap-ssl' '
--with-sqlite' '--enable-sqlite-utf8' '--enable-soap' '--with-kerberos' '--with-tidy'



... with the following registered streams:

Code: Select all
Registered PHP Streams => php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert
.iconv.*, bzip2.*, zlib.*



... and bzip2 specifically:

Code: Select all
BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.2, 30-Dec-2001



Unfortunately nothing within the error log.

Posted by SHS` (Consultant) on Nov 28th 2006, 01:00

If the bzip2 class(es) are common for the updater and db backup, the latter does work correctly on the above config.

Posted by Schumi (QA Team) on Nov 28th 2006, 09:07

I removed the error suppressing @ in functions_compress.php, line 603. The error now is:
[phpBB Debug] PHP Notice: in file /includes/functions_compress.php on line 604: bzopen() [function.bzopen]: 'wb' is not a valid mode for bzopen(). Only 'w' and 'r' are supported.

Posted by Acyd Burn (Server Manager) on Nov 28th 2006, 13:39

I think this is actually something for david. Smile

Linked ticket with changeset: r6688

Action performed by DavidMJ (Former Team Member) on Nov 28th 2006, 14:29

Ticket details

Related SVN changesets