Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

PHP Fusion 7 Avatars Will Not Show

Asked Modified Viewed 4,423 times
P
patrickalexson
P
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Junior Member

From previous post:
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=26074

*Decided I might want to make a new post to avoid confusion

Here is my setup:

PHPFusion 7
No custom infusions or modifications

Tried to upload a GIF, JPG, and PNG file, all of which did not succeed. They were all under 30k/ 100 x 100 parameters.
I even added on an extra 2 zeros to the end of the file size limit and a zero for each dimension to see what would happen - still fail

No one can upload an Avatar picture. I have checked and images/avatars is set to 777

Here are the contents of the edit_profile.php file (specifically where it details the avatar settings):

if (!$user_data['user_avatar']) {
   echo "<tr>\n";
   echo "<td valign='top' class='tbl'>".$locale['u010'].":</td>\n";
   echo "<td class='tbl'><input type='file' name='user_avatar' class='textbox' style='width:200px;' /><br />\n";
   echo "<span class='small2'>".$locale['u011']."</span><br />\n";
   echo "<span class='small2'>".sprintf($locale['u012'], parsebytesize(3072000), 1000, 1000)."</span></td>\n";
   echo "</tr>\n";
} else {
   echo "<tr>\n";
   echo "<td valign='top' class='tbl'>".$locale['u010'].":</td>\n";
   echo "<td class='tbl'><img src='".IMAGES."avatars/".$user_data['user_avatar']."' alt='".$locale['u010']."' /><br />\n";
   echo "<input type='checkbox' name='del_avatar' value='y' /> ".$locale['u013']."\n";
   echo "<input type='hidden' name='user_avatar' value='".$user_data['user_avatar']."' /></td>\n";
   echo "</tr>\n";
}


I can't seem to find an answer to this so any suggestions would be greatly appreciated!
0 replies

7 posts

A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

Are they uploaded to images/avatars folder, and what are the filenames of these images?
0 replies
P
patrickalexson
P
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Yes they are. Image names that have been used are 1.png, test.jpg, and test2.gif

No spaces, symbols, or any other characters. I seem to recall having this problem with PHPFusion 7 but not with 6 if I remember correctly.
Edited by patrickalexson on 02-05-2010 20:02,
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

The avatars are uploaded to your webserver, but not shown on your page?
Did you try to clear the cache of your browser?
0 replies
P
patrickalexson
P
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

The avatars are not showing up when I view my web server via FTP. I have confirmed that the permissions are 777 for images/avatars.

I have tried using Google Chrome, Internet Explorer 8, and Firefox 3.x.x

I have also had two other people try with the same results. Profile page says it is updated but if you look into the avatars folder, nothing was uploaded

Should I try CHMOD 777 the entire images folder on the server?

Thanks for the help guys!
0 replies
P
patrickalexson
P
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Any suggestions? What is the difference, specifically relating to Avatars in PHP Fusion 7 compared to version 6?
0 replies
T
timewarp
T
timewarp 10
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Quote

patrickalexson wrote:
.... Should I try CHMOD 777 the entire images folder on the server?


The map "images" should have the chmod-rights "777" as well.

- though I'm not sure at all that it will solve your problem.
0 replies
P
patrickalexson
P
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Very odd, I set the entire permissions of the images folder from 777 to read only then changed it back. First attempt, nothing. Performed the same actions - second attempt works!

Very odd. Its been working great for everyone so I guess I can blame this on something getting stuck on the server end
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

A
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
B
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
P
P
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
T
T
timewarp 10
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 1 thread in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet