Announcement

Collapse
No announcement yet.

Cannot upload avatar, social group icon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Cannot upload avatar, social group icon

    On my VB4 Publishing Suite 4.0 (both RC4 and PL1) test installation, for some reason, I cannot upload a member avatar or upload an image icon for a social group. I can create a thread in the forum however and upload an attachment, with no problems.

    If I upload an image as an avatar, I get the following:
    Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/zzzz:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_dm_userpic.php on line 204

    Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_image.php on line 333
    If I upload a social group icon, I get the following:
    Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/zzzz:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_dm_socialgroupicon.php on line 165

    Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_image.php on line 333
    FYI, Safe Mode is OFF on my server and Admin CP->Server Settings and Optimization Options->Safe Mode Upload Enabled is NO.

    Any ideas?

  • #2
    Ok, let me answer my own question. It has something to do with 'open_basedir' set on my server. I had to turn it off for the host where vB4 resides. It's working now.

    What I'm confused about is, why am I not getting the same problem on any older version of vB?

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X