|Anonymous | Login | Signup for a new account||10-23-2021 11:57 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ 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|
|Summary||0002152: phpBB2 profile update doesn't work with Resin 3.1.x (compile=false)|
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.
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?
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.
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"
I just checked in a fix for this bug along with these qa tests:
|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.