Announcement

Collapse
No announcement yet.

error while updating custom avatar

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

  • error while updating custom avatar

    while updating custom avatar it says.

    Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/zonemedi/:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_dm_userpic.php on line 204


    what does it mean...

    i reuploaded the class_dm_userpic.php but again got same error.

    do i have to write permission or sth please help.

  • #2
    You have open_basedir restrictions on your server. To get uploads to work you need to create a 'tmp' subdirectory under your main hosting directory and chmod it to 777. Then in the Admin CP set "Upload In Safe Mode?" to 'Yes' and point the "Safe Mode Temp Directory" to that directory. If you placed the tmp directory in the right place, the path to the Safe Mode Temp Directory will be:

    /home/zonemedi/tmp
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      O.k problem solved but i have another request..

      I run 2 vb valid licence on same hosting

      one is domain.com and i added another domain.com (not sub-domain)as an addon domain


      so can i have the same /home/zonemedi/tmp for both ,does it affect anything..

      Comment


      • #4
        It might work. Doesn't hurt anything to try.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          Thankx then

          Problem Solved

          Comment

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