Forum Activity

Forum feed

» see all | » latest posts

pnphpbb2 avatar problem  Top

  • I successfully installed PNphpBB2 and momentarily had the ability to upload avatars working after setting the correct permissions. then it stopped working.. or that is to say that the browse button has disappeared from the avatar menu. The only thing that changed while before the button disppeared were the settings for how big the avatar could be.

    Any ideas before I try reinstalling?

    Post-Nuke 0.7.2.6-1
    PNphpBB2_12d
    Apache 1.3.31
    Kernel version 2.4.25-grsec-vx
    PHP version 4.3.5
  • Give your settings a thourough checking. You may have missed a setting. Also, have you been adding any modifications that could have tampered with this file? If all your settings are 100% right, upload clean files and it should be fixed.
  • Hmm.. there aren't many settings and I have not made any modifications that I could imagine affecting this at least not before it stopped working.
  • OK I reinstalled and now the buttons showup properly in the avatar menu but now I get the following error when I try to post an image.

    I have tried setting the permissions on modules/images/avatars/upload to 666 777 775

    This is so weird because the first time around it was working?

    Warning: move_uploaded_file(./modules/PNphpBB2/images/avatars/upload/35849570840eb05dddbbb3.gif): failed to open stream: Permission denied in /home/gmask/public_html/test/modules/PNphpBB2/includes/usercp_avatar.php on line 252

    Warning: move_uploaded_file(): Unable to move '/tmp/php2rVog1' to './modules/PNphpBB2/images/avatars/upload/35849570840eb05dddbbb3.gif' in /home/gmask/public_html/test/modules/PNphpBB2/includes/usercp_avatar.php on line 252

    Warning: Cannot modify header information - headers already sent by (output started at /home/gmask/public_html/test/modules/PNphpBB2/includes/usercp_avatar.php:252) in /home/gmask/public_html/test/modules/PNphpBB2/includes/page_header.php on line 674

    Warning: Cannot modify header information - headers already sent by (output started at /home/gmask/public_html/test/modules/PNphpBB2/includes/usercp_avatar.php:252) in /home/gmask/public_html/test/modules/PNphpBB2/includes/page_header.php on line 676

    Warning: Cannot modify header information - headers already sent by (output started at /home/gmask/public_html/test/modules/PNphpBB2/includes/usercp_avatar.php:252) in /home/gmask/public_html/test/modules/PNphpBB2/includes/page_header.php on line 677
  • Well it works now.. can't honestly say I know why.. 777 is the magic number..

This list is based on the users active over the last 60 minutes.