Bug#436139: phpbb2: fails on ipv6 enabled sites

2007-08-06 Thread Thijs Kinkhorst
tags 436139 ipv6 wontfix
severity 436139 normal
thanks

Hi,

On Sunday 5 August 2007 19:11, Demexp admins wrote:
> SQL Error : -1 ERREUR: Valeur trop longue pour le type character(8)
>
> INSERT INTO phpbb_sessions (session_id, session_user_id, session_start,
> session_time, session_ip, session_page, session_logged_in) VALUES
> ('253a7c688e2bd00fdf355a9a2193d2fc', -1, 1186333239, 1186333239,
> '7d200', 0, 0)

Thank you for your report. This is a more fundamental problem with the 
IP-address handling in phpBB 2.0.x. Since upstream has declared the 2.x 
branch as "nearly dead" I don't think they will be fixing it - and I also 
don't think it would be worthwhile to overhaul how the IP code works for a 
branch that has probably Lenny as its last release.

Of course you're welcome to submit a patch for it, or apply a local 
workaround. But with phpBB 3.x around the corner, with this issue fixed, and 
IPv6 still being quite rare, we are not interested into refactoring this code 
base.

I'm sorry, and I hope you will find a way around this.

Thijs


pgpV6WLExa7cF.pgp
Description: PGP signature


Bug#436139: phpbb2: fails on ipv6 enabled sites

2007-08-05 Thread Demexp admins
Package: phpbb2
Version: 2.0.21-6
Severity: important

Hi,

phpbb2 fails when accessed from ipv6 with the following message
(sorry for the French that says 'too large value for...'):


phpBB : Critical Error 

 Error creating new session

DEBUG MODE

SQL Error : -1 ERREUR: Valeur trop longue pour le type character(8)

INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, 
session_time, session_ip, session_page, session_logged_in) VALUES 
('253a7c688e2bd00fdf355a9a2193d2fc', -1, 1186333239, 1186333239, '7d200', 
0, 0)

Line : 189
File : sessions.php


If you have ipv6 enabled (think of miredo package if needed) you can check
a live example there: http://demexp.org/phpbb/
and compare
http://87.98.219.86/phpbb/
with
http://[2001:41d0:1:5056::1]/phpbb/

Thanks for your work on phpbb2,
Frederic Lehobey -- for the demexp admins 

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages phpbb2 depends on:
ii  apache22.2.3-4   Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd 2.2.3-4   Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]  1.5.11Debian configuration management sy
ii  libapache2-mod-php55.2.0-8+etch7 server-side, HTML-embedded scripti
ii  php5   5.2.0-8+etch7 server-side, HTML-embedded scripti
ii  php5-pgsql 5.2.0-8+etch7 PostgreSQL module for php5

Versions of packages phpbb2 recommends:
ii  exim4 4.63-17metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.63-17lightweight exim MTA (v4) daemon
pn  phpbb2-conf-mysql  (no description available)

-- debconf information:
* phpbb2/httpd: apache2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]