Uploading Avatars [message #8977] |
Wed, 05 March 2003 16:57 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
Whenever I or any of my members try to upload an avatar, FUD returns no errors, but simply does not assign or upload the avatar.
When you select Upload Avatar from the dropdown, click the Browse button, pick your file, then click Update, the browser just returns to the forum list. No confirmation, no error.
Using v2.3.8RC3
-=BugLaden
|
|
|
Re: Uploading Avatars [message #8986 is a reply to message #8977] |
Wed, 05 March 2003 19:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Cannot verify, make sure that the forum has write permissions to the avatar directory. Also see if the avatar file get's created/updated when a user tries to add/change their avatar.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: Uploading Avatars [message #9220 is a reply to message #8977] |
Mon, 17 March 2003 13:48 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
That might be the problem. My ROOT_DIR/avatars does not exist.
However I do have ROOT_DIR/images/custom_avatars where the existing avatars seem to reside.
Did the location of the custom avatars change recently? Was there a script to create the WWW_ROOT_DIR/avatars that might have failed?
-=BugLaden
|
|
|
Re: Uploading Avatars [message #9255 is a reply to message #9220] |
Tue, 18 March 2003 20:53 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
No, these directories store different sets of avatars.
avatars/ directory contains system avatars, while custom_avatars contains avatars uploaded by the users. Both must exist.
the avatars directory should've been created during the install process.
FUDforum Core Developer
|
|
|
Re: Uploading Avatars [message #9456 is a reply to message #8977] |
Sat, 29 March 2003 17:49 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
Upgrading to 2.3.9RC1 did not fix the problem. The location of the avatars is still not clear to me.
ROOT_DIR/avatars does not exist.
ROOT_DIR/images/custom_avatars does exist
ROOT_DIR/images/avatars does exist
Select Upload Avatar from the dropdown list in the Profile screen, browse for an image.
Both clicking Preview and Update give no feedback whatsoever, and simply return to the Profile screen with no avatar selected.
-=BugLaden
|
|
|
Re: Uploading Avatars [message #9484 is a reply to message #8977] |
Wed, 02 April 2003 00:07 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
Upgrading to PHP 4.1.2 fixed the problem. You should probably up your requirements for MySQL databases installations.
-=BugLaden
|
|
|
Re: Uploading Avatars [message #9614 is a reply to message #9484] |
Sun, 13 April 2003 14:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Indeed, the next release of the forum, 2.5.0 (which is what I am working on right now) will require PHP 4.2.0 or later. The reason is that any versions < 4.2.0 has too many dangerous security faults.
FUDforum Core Developer
|
|
|
Re: Uploading Avatars [message #9662 is a reply to message #8977] |
Mon, 14 April 2003 00:55 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma: 0
|
Senior Member |
|
|
Hmm, I'm not a PHP guru, but I was trying to upgrade to Apache2 last week and got stopped cold because the only version of PHP available that works with Apache2 is unstable. Isn't that 4.2?
-=BugLaden
[Updated on: Mon, 14 April 2003 00:56] Report message to a moderator
|
|
|
Re: Uploading Avatars [message #9667 is a reply to message #9662] |
Mon, 14 April 2003 13:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Don't use Apache 2 with PHP, the only version where the support would be adequate is 4.3.2 which is still is Beta stage.
FUDforum Core Developer
|
|
|
|
|
|
|
Re: Uploading Avatars [message #10248 is a reply to message #10232] |
Mon, 26 May 2003 14:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ugh... a very nasty setup with lots of experimental software
CGI mode of php is really buggy in 4.3.X series and until 4.3.2 comes out is probably one of the worst php sapis out there.
Apache 2 is also fairly new and as any PHP developer will tell you not yet fully supported.
MySQL 4.0.X is considered by most, beta software and 3.23 is a better tree to user at least until 4.0.20.
And of course 4.3.1 is a pretty buggy version of PHP, considering that 4.3.2RC4 fixes nearly 150!! bugs found in 4.3.1
So, the bottom line there is MUCH that could go wrong with the setup that you are using.
Basically the 1 problem I could see is this. If previously you've used Apache 1 (sapi) and the files were created by apache, apache user was the owner of those files. Now you switched to CGI + Apache 2 meaning that php runs as (you) and probably cannot access (?) the previously created files.
FUDforum Core Developer
|
|
|