PHP Error When Uploading Avatar


Last Updated:

  1. Gremlyn1

    Gremlyn1 Well-Known Member

    Got this warning when I uploaded my avatar, which still worked, so...?

    Code (Text):
    1.  
    2. Warning: tempnam() [[URL="http://androidforums.com/function.tempnam"]function.tempnam[/URL]]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/arrowbe:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_dm_userpic.php on line 204
    3.  
    4. Warning: fopen() [[URL="http://androidforums.com/function.fopen"]function.fopen[/URL]]: Filename cannot be empty in [path]/includes/class_image.php on line 333
    /** * vBulletin 3.8.1 CSS * Style: 'Phandroid Skin'; Style ID: 6 */ body { background: #001A49; color: #fff; font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin: 0px 0px 0px 0px; } a:link, body_alink { color: #12469d; } a:visited, body_avisited { color: #12469d; } a:hover, a:active, body_ahover { color: #FF4400; } .page { background: #FFFFFF; color: #000000; } td, th, p, li { font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .tborder { background: #D1D1E1; color: #000000; border: 1px solid #0B198C; } .tcat { background: #60971A url(http://www.androidforums.com/images/visionsgreen/gradients/gradient_tcat.gif) repeat-x top left; color: #FFFFFF; font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .tcat a:link, .tcat_alink { color: #ffffff; text-decoration: none; } .tcat a:visited, .tcat_avisited { color: #ffffff; text-decoration: none; } .tcat a:hover, .tcat a:active, .tcat_ahover { color: #FFFF66; text-decoration: underline; } .thead { background: #174070 url(http://www.androidforums.com/images/thead.gif) repeat-x top left; color: #FFFFFF; font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .thead a:link, .thead_alink { color: #FFFFFF; } .thead a:visited, .thead_avisited { color: #FFFFFF; } .thead a:hover, .thead a:active, .thead_ahover { color: #FFFF00; } .tfoot { background: #3E5C92; color: #E0E0F6; } .tfoot a:link, .tfoot_alink { color: #E0E0F6; } .tfoot a:visited, .tfoot_avisited { color: #E0E0F6; } .tfoot a:hover, .tfoot a:active, .tfoot_ahover { color: #FFFF66; } .alt1, .alt1Active { background: #F5F5FF; color: #000000; } .alt2, .alt2Active { background: #E1E4F2; color: #000000; } .inlinemod { background: #FFFFCC; color: #000000; } .wysiwyg { background: #F5F5FF; color: #000000; font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; margin: 5px 10px 10px 10px; padding: 0px; } .wysiwyg a:link, .wysiwyg_alink { color: #22229C; } .wysiwyg a:visited, .wysiwyg_avisited { color: #22229C; } .wysiwyg a:hover, .wysiwyg a:active, .wysiwyg_ahover { color: #FF4400; } textarea, .bginput { font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; border:1px solid #CCC; padding:3px; } .bginput option, .bginput optgroup { font-size: 10pt; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .button { font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; border:1px solid #CCC; } select { font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; border:1px solid #CCC; } option, optgroup { font-size: 11px; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .smallfont { font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .time { color: #666686; } .navbar { font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .highlight { color: #FF0000; font-weight: bold; } .fjsel { background: #3E5C92; color: #E0E0F6; } .fjdpth0 { background: #F7F7F7; color: #000000; } .panel { background: #E4E7F5 url(images/gradients/gradient_panel.gif) repeat-x top left; color: #000000; padding: 10px; border: 2px outset; } .panelsurround { background: #D1D4E0 url(images/gradients/gradient_panelsurround.gif) repeat-x top left; color: #000000; } legend { color: #22229C; font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } .vbmenu_control { background: #014286; color: #FFFFFF; font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; padding: 3px 6px 3px 6px; white-space: nowrap; } .vbmenu_control a:link, .vbmenu_control_alink { color: #FFFFFF; text-decoration: none; } .vbmenu_control a:visited, .vbmenu_control_avisited { color: #FFFFFF; text-decoration: none; } .vbmenu_control a:hover, .vbmenu_control a:active, .vbmenu_control_ahover { color: #FFFFFF; text-decoration: underline; } .vbmenu_popup { background: #FFFFFF; color: #000000; border: 1px solid #0B198C; } .vbmenu_option { background: #BBC7CE; color: #000000; font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; white-space: nowrap; cursor: pointer; } .vbmenu_option a:link, .vbmenu_option_alink { color: #22229C; text-decoration: none; } .vbmenu_option a:visited, .vbmenu_option_avisited { color: #22229C; text-decoration: none; } .vbmenu_option a:hover, .vbmenu_option a:active, .vbmenu_option_ahover { color: #FFFFFF; text-decoration: none; } .vbmenu_hilite { background: #8A949E; color: #FFFFFF; font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; white-space: nowrap; cursor: pointer; } .vbmenu_hilite a:link, .vbmenu_hilite_alink { color: #FFFFFF; text-decoration: none; } .vbmenu_hilite a:visited, .vbmenu_hilite_avisited { color: #FFFFFF; text-decoration: none; } .vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover { color: #FFFFFF; text-decoration: none; } /* ***** styling for 'big' usernames on postbit etc. ***** */ .bigusername { font-size: 14pt; } /* ***** small padding on 'thead' elements ***** */ td.thead, th.thead, div.thead { padding: 4px; } /* ***** basic styles for multi-page nav elements */ .pagenav a { text-decoration: none; } .pagenav td { padding: 2px 4px 2px 4px; } /* ***** de-emphasized text */ .shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; } a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; } .tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; } /* ***** define margin and font-size for elements inside panels ***** */ .fieldset { margin-bottom: 6px; } .fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; } * { margin: 0; margin-left:auto; margin-right:auto; text-decoration: none; border: 0; list-style-type:none; } .clear { clear: both; height: 1px; overflow: hidden; } #searchsubmit { background: url(http://phandroid.com/wp-content/themes/mroar/images/search_go.gif) no-repeat; width: 51px; height: 54px; cursor: pointer; } #temp_Background { margin: 0 auto; background-image: url(http://phandroid.com/wp-content/themes/mroar/images/background.jpg); background-position: top center; background-repeat: no-repeat; border-left: 1px solid #001A49; } #temp_Wrapper { text-align: left; width: 965px; margin: 0 auto; padding-top: 36px; } #temp_Header { } #temp_Header .left { float: left; width: 207px; } #temp_Header .right { float: right; width: 753px; } #temp_Header .right .pinch { padding: 13px 0 0 12px; } #temp_Navbar { height: 35px; background-image: url(http://phandroid.com/wp-content/themes/mroar/images/mainnav_bg.gif); background-repeat: repeat-x; padding:0; } #temp_Navbar ul { list-style: none; margin-left: 10px; padding:0;padding:0; } #temp_Navbar ul li { float: left; padding-top: 7px; margin: 0 13px; } #temp_Navbar ul li a { color: #252525; font-weight: bold; font-size: 80%; } #temp_Navbar ul li a:hover { color: #878787; } #temp_Subnav .nav { height: 54px; width: 680px; background-image: url(http://phandroid.com/wp-content/themes/mroar/images/secondarynav_bg.gif); background-repeat: repeat-x; float: left; padding:0px; } #temp_Subnav .nav ul { list-style: none; margin-left: 5px; } #temp_Subnav .nav ul li { margin: 0 11px; float: left; } #temp_Subnav .nav ul li a { display: block; height: 54px; float: left; } #temp_Subnav .search { float: left; width: 283px; background-image: url(http://phandroid.com/wp-content/themes/mroar/images/search_bg.gif); height: 54px; } #temp_Subnav .search .left { float: left; padding: 15px 0 0 45px; } #temp_Subnav .search .left input { width: 150px; height: 23px; padding: 3px 2px 0 2px; } #temp_Subnav .search .right { float: right; width: 51px; height: 54px; background-image: url(http://phandroid.com/wp-content/themes/mroar/images/secondarynav_bg.gif); background-repeat: repeat-x; } #temp_Subnav ul li a.carriers { width: 90px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_carriers.gif') top left no-repeat; } #temp_Subnav ul li a.manufacturers { width: 162px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_manufacturers.gif') top left no-repeat; } #temp_Subnav ul li a.phones { width: 85px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_phones.gif') top left no-repeat; } #temp_Subnav ul li a.apps { width: 62px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_apps.gif') top left no-repeat; } #temp_Subnav ul li a.forum { width: 73px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_forum.gif') top left no-repeat; } #temp_Subnav ul li a.store { width: 60px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_store.gif') top left no-repeat; } #temp_Subnav ul li a.carriers:hover { width: 90px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_carriers.gif') top right no-repeat; } #temp_Subnav ul li a.manufacturers:hover { width: 162px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_manufacturers.gif') top right no-repeat; } #temp_Subnav ul li a.phones:hover { width: 85px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_phones.gif') top right no-repeat; } #temp_Subnav ul li a.apps:hover { width: 62px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_apps.gif') top right no-repeat; } #temp_Subnav ul li a.forum:hover { width: 73px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_forum.gif') top right no-repeat; } #temp_Subnav ul li a.store:hover { width: 60px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_store.gif') top right no-repeat; } #secondarynav { display: block; height: 54px; width: 959px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_bg.gif') top left repeat-x; float: left; padding:0; left: -1px; /* _left: 1px; _margin-top: -1px; */ } #secondarynav ul { margin-left: 15px; padding:0; } #secondarynav ul li { float: left; margin-right: 19px; } #secondarynav ul li a { display: block; text-indent: -9999px; height: 54px; } #secondarynav ul li a:focus { outline:none } #secondarynav ul li a.carriers { width: 90px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_carriers.gif') top left no-repeat; } #secondarynav ul li a.manufacturers { width: 162px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_manufacturers.gif') top left no-repeat; } #secondarynav ul li a.phones { width: 85px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_phones.gif') top left no-repeat; } #secondarynav ul li a.apps { width: 73px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_apps.gif') top left no-repeat; } #secondarynav ul li a.forum { width: 73px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_forum.gif') top left no-repeat; } #secondarynav ul li a.store { width: 60px; background: url('http://phandroid.com/wp-content/themes/mroar/images/secondarynav_store.gif') top left no-repeat; } #secondarynav ul li a:hover { background-position: 100% 0; } #secondarynav .search { float: right; width: 250px; background-image: url(http://phandroid.com/wp-content/themes/mroar/images/search_bg.gif); height: 54px; } #secondarynav .search .left { float: left; padding: 15px 0 0 45px; } #secondarynav .search .left input { width: 150px; height: 23px; padding: 3px 2px 0 2px; } #secondarynav .search .right { float: right; width: 50px; height: 54px; } #temp_Content { background-image: url(http://phandroid.com/wp-content/themes/mroar/images/content_bg.jpg); background-repeat: repeat-y; clear: both; } #temp_Content_Left { width: 621px; float: left; background-color: #fff; } #temp_Content_Left .inner { padding: 15px 30px; } body.handies #temp_Content_Left { padding-top: 35px; } body.handies #temp_Content_Left .inner { padding: 0; } #temp_Footer { background-image: url(http://phandroid.com/wp-content/themes/mroar/images/footer.jpg); background-repeat: no-repeat; width: 960px; height: 33px; margin-bottom: 50px; margin-left:auto; margin-right:auto; position: relative; }

    Advertisement
  2. Gremlyn1

    Gremlyn1 Well-Known Member

    Um... no idea WTF just happened there, I did not copy and paste any CSS, that just decided to show up randomly!
  3. sixpack

    sixpack Active Member

    yep same warning for me as well, have a screenshot if anyone wants it let me know.
  4. Phases

    Phases Community Manager Administrator

    Oh that's AWESOME!

Share This Page