FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Uploading Avatars
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Uploading Avatars [message #8977] Wed, 05 March 2003 16:57 Go to next message
BugLaden is currently offline  BugLaden   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #9009 is a reply to message #8977] Thu, 06 March 2003 15:47 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Cool, where is the avatar directory?

-=BugLaden
Re: Uploading Avatars [message #9044 is a reply to message #8977] Sun, 09 March 2003 13:25 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Bump

-=BugLaden
Re: Uploading Avatars [message #9080 is a reply to message #9044] Thu, 13 March 2003 10:27 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

Me too... mine was working OK until I went 2.3.7

Just installed 2.3.8 - same.. no Avatars..

If I remember correctly, after you browsed to your image, the "Browse" button used to change to "Upload" ??? Doesn't now Sad

Re: Uploading Avatars [message #9135 is a reply to message #9009] Thu, 13 March 2003 15:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
WWW_ROOT_DIR/avatars (avatars directory).

I cannot replicate the described bug on this forum or my test forum Sad


FUDforum Core Developer
Re: Uploading Avatars [message #9168 is a reply to message #9135] Thu, 13 March 2003 22:30 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

prottoss wrote on Fri, 14 March 2003 01:08

WWW_ROOT_DIR/avatars (avatars directory).

I cannot replicate the described bug on this forum or my test forum Sad


You're welcome to try on my forum..
www.forum.bnis.net.au

Cheers,
Dave

Re: Uploading Avatars [message #9220 is a reply to message #8977] Mon, 17 March 2003 13:48 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
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 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #10228 is a reply to message #9667] Sat, 24 May 2003 20:11 Go to previous messageGo to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
prottoss,

You comment made me wonder if this could be a problem for me. Here's the current environment I'm running on:

MySQL Version: 4.0.12-log
PHP Version: 4.3.1
Web Server: Apache/2.0.45 (Unix) FrontPage/5.0.2.2626
WebServer to PHP interface: cgi
Forum Version: 2.3.6

Are there problems you are aware of? For the most part the forum runs fine except for a couple of problems that I've listed in the How To forum.
Re: Uploading Avatars [message #10229 is a reply to message #10228] Sat, 24 May 2003 21:18 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

I'm running my forum on this same enviroment. Have had problems ever since my hosting service made an upgrade.



Got Torque?
Re: Uploading Avatars [message #10231 is a reply to message #10229] Sat, 24 May 2003 22:30 Go to previous messageGo to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
I'm using prohosting.com
Re: Uploading Avatars [message #10232 is a reply to message #10231] Sat, 24 May 2003 22:36 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

Yep! so am I.....

Got Torque?
Re: Uploading Avatars [message #10248 is a reply to message #10232] Mon, 26 May 2003 14:21 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Ugh... a very nasty setup with lots of experimental software Razz

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FUDforum 2.5.0RC2 Rel 20 May - No register screen ?!
Next Topic: bug for sure (2.5 RC2 20/5 cvs): install_safe.php line 140 - correct databaseprefix !!!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 05:45:29 GMT 2024

Total time taken to generate the page: 0.01888 seconds