Current User: Guest Login Register
Please consider registering


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Forum upload pictures error message – Fixed

Reply to Post
UserPost

7:25 pm
July 16, 2008


Roy Khoh

Canning Vale, Western Australia

Admin

posts 163

I am aware there is an error that pops up when trying to upload images in this forum.

Images:
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/..) is not within the allowed path(s): (/home/…../:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/…../public_html/wp-content/plugins/simple-forum/forum/uploader/sf-uploader.php on line 75

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/.) is not within the allowed path(s): (/home/…../:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/…../public_html/wp-content/plugins/simple-forum/forum/uploader/sf-uploader.php on line 75

I've just upgraded from 3.1.2 to 3.1.3 and the error message still remains.

Functionality still works, the directory is still listed and ability to upload pictures is still working.

This error has only been noticed since the 4+ hours outage occurring on July 13, 2008 as mentioned here.

I am also noting it has nothing to do with the change in permalinks to get rid of the “post-id” from the url for each post inside the forum. I tested with/without the change and the error still showed up. Since upgrading to the latest version of Simple:Press Forum the permalinks have reverted back to containing that extra “post-id/” path.

I'm noting that I am changing the sf-permalink.php on line 37 from

    if($postid)            $url.='/post-'.$postid.'/#p'.$postid;
to
    if($postid)            $url.='/#p'.$postid;

8:22 pm
July 16, 2008


Roy Khoh

Canning Vale, Western Australia

Admin

posts 163

This is the process and what you may see

Then when clicking on "browse" icon at the end of "Image URL" a new popup window display something like this:

Despite the above, it is still possible to “Upload Image” and pick a suitable image file.

9:53 pm
July 17, 2008


Roy Khoh

Canning Vale, Western Australia

Admin

posts 163

This has been fixed now. I just spoke to live support from webhost (3ix) online and had it all sorted.

My initial question was to enable php openbasedir function and return it to whatever it was a week ago. Then during the live chat, I copied and pasted the warning text, then I just remembered he could just come here and view the error I was talking about. I knew this forum would come in handy :)

Anyway, it turned out that he disabled openbase dir function, rather than enable it as I thought was required. I checked shortly after he said he disabled the function and everything was good again. I hope it doesn't affect other functionality for myself and/or others now!!!

Reply to Post


Reply to Topic:
Forum upload pictures error message – Fixed

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 12
   



Share this article
  • Google Bookmarks
  • Digg
  • del.icio.us
  • StumbleUpon
  • MySpace
  • Facebook
  • Twitter
  • PDF
  • Print
  • email
Kim Seng: Congratulations to Tim - a massive achievement 3 times over.  Well done and The Pilbara regi...
Kim Seng: ATA Peel region grading is on Thursday 8th December from 5:30 pm (for juniors); and from 7 pm (fo...
Kim Seng: ATA Hedland grading on 3rd December 2011 at JD Hardie Centre.  for details call Tim Turner 0...
Jason: very cool that is all...
Roy Khoh: I've just added Riley's and Quinn's videos back on. Have been trying all day to get t...
Kim Seng: The photos and videos are placed in the current ATA members only pages. You have recently signed in...
chrisbin:   This...