Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002152 [Quercus] major always 11-07-07 10:21 11-12-07 12:34
Reporter rsouissi View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.4 Product Version 3.1.3
  Product Build
Summary 0002152: phpBB2 profile update doesn't work with Resin 3.1.x (compile=false)
Description I use phpBB v2.0.22 under windows and PostgreSQL.
This issue happens with Resin 3.1.2 and 3.1.3.

Since compile=true doesn't allow me to login at all (see issue 0002151), this bug is only reproducable under compile=false.

How to reproduce:
- Login with any user
- Click on Profile link
- Change any information, like email address and enter current password
- Click on Submit
=> It returns an error page saying: The avatar filetype must be .jpg, .gif or .png
- It is supposed to skip avatar validation since it was not modfied. This is what happens under native PHP.

The only workarround I found is to disable avatar functionality using the Admin Panel of phpBB, but this means limiting the functionality of the forum.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002473)
mo
11-09-07 19:06

Like bug 2124, I was not able to reproduce this problem with the
current dev snapshot. Could you download it and verify that this
bug is in fact fixed?

http://caucho.com/download/resin-3_1-snap.zip [^]

thanks much
Mo
 
(0002476)
rsouissi
11-10-07 12:18

Hi,

Yes, I tried with latest snapshot and the problem happens.
I even used a clean installation from phpBB2.0.22 and same thing.

Make sure in the Admin Panel/Configuration, the following option is checked:
- Enable avatar uploading

The same setup with native PHP works.
 
(0002479)
mo
11-10-07 18:13

After enabling the avatar switches in the config panel,
this error can be reproduced in the dev version.

The problem is realted to the user uplaod file name,
even though the field is blank in the browser, the
PHP script thinks the user supplied an upload file:

usercp_register.php: 472: user_avatar_upload is "/C:/caucho_dev/resin-MOD/webapps/ROOT/WEB-INF/upload/php1542821947tmp"
 
(0002480)
mo
11-12-07 12:07

I just checked in a fix for this bug along with these qa tests:

php/0863.qa
php/0864.qa
 

- Issue History
Date Modified Username Field Change
11-07-07 10:21 rsouissi New Issue
11-09-07 19:06 mo Note Added: 0002473
11-10-07 12:18 rsouissi Note Added: 0002476
11-10-07 18:13 mo Note Added: 0002479
11-10-07 19:32 nam Status new => assigned
11-10-07 19:32 nam Assigned To  => nam
11-12-07 12:07 mo Note Added: 0002480
11-12-07 12:34 nam Status assigned => closed
11-12-07 12:34 nam Resolution open => fixed
11-12-07 12:34 nam Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker