Upload Avatar Wierdness

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
imagedude
Registered User
Posts: 296
Joined: Wed Sep 25, 2002 10:28 pm
Location: /home/kai
Name: Kai Ponte
Contact:

Upload Avatar Wierdness

Post by imagedude » Fri Apr 30, 2004 7:28 pm

Today (my board's been up for 18 months) a user emailed me and indicated that he/she couldn't upload an avatar. He said that he was getting the permissions error. (I searched and found this to be very common.

I checked both /tmp and /images/avatars and found both to be set to 666. I tried uploading a 25x25 pixel image and got the same errors. I chmodded both directories to 777. Same error.

I then went to the ACP and checked if uploading was enabled. It is

Enable gallary avatars: Yes
Enable remote avatars: Yes
Enable avatar uploading: Yes
Maximum size: 6144 bytes
Maximum Dimensions: 80 x 80
Storage path: /images/avatars (set to 777)

After I check this, I go to my profile and - lo - I no longer have the upload or select from gallery settings.

What is up?

The only changes since the last time I see a user uploaded an avater (many have) are:

1. I added pseudocron
2. I added a new version of M2F.

<edit>
Just as a check, my config table says:

allow_avatar_local 1
allow_avatar_remote 1
allow_avatar_upload 1

flogger12
Registered User
Posts: 14936
Joined: Tue Nov 25, 2003 2:13 am

Post by flogger12 » Fri Apr 30, 2004 8:44 pm

have you created a folder for your avatars under the gallery folder?
you need this and they all need to be set to 666

luck,
robert

imagedude
Registered User
Posts: 296
Joined: Wed Sep 25, 2002 10:28 pm
Location: /home/kai
Name: Kai Ponte
Contact:

Post by imagedude » Fri Apr 30, 2004 10:13 pm

Thanks for your answer...

Yes, per my post, I have done both. All directories were 666. I have since changed to 777 as a test.

flogger12
Registered User
Posts: 14936
Joined: Tue Nov 25, 2003 2:13 am

Post by flogger12 » Fri Apr 30, 2004 10:54 pm

if it was working before and just changed, then maybe your host made some changes to something,
have you made any changes to the board at all?

robert

imagedude
Registered User
Posts: 296
Joined: Wed Sep 25, 2002 10:28 pm
Location: /home/kai
Name: Kai Ponte
Contact:

Post by imagedude » Sat May 01, 2004 5:03 am

Well, yes - but not those files.

Also, why is it that the options have dissapeared?

K

flogger12
Registered User
Posts: 14936
Joined: Tue Nov 25, 2003 2:13 am

Post by flogger12 » Sat May 01, 2004 5:56 am

what changes have you made, did you install a new style/template?
that might be why some things are gone. if you edited any files, you may have messed up something that way.

luck,
robert

Locked

Return to “2.0.x Support Forum”