Help - Search - Members - Calendar
Full Version: InvisionBoard UserCP/Avatar Settings Problem
MSFN Forums > Coding, Scripting and Servers > Web Development (HTML, Java, PHP, ASP, XML, etc.)

   
Google Internet Forums Unattended CD/DVD Guide
aKaFrEE
Ok. (Using the tutorial on posted here on MSFN) I successfully set up a web server. I installed InvisionBoard 1.0.1. But when I go into the UserCP and then click avatar settings this error message appears at the top of the page:


Warning: OpenDir: No such file or directory (errno 2) in /wwwroot/htdocs/forums/sources/Usercp.php on line 820

Warning: readdir(): supplied argument is not a valid Directory resource in /wwwroot/htdocs/forums/sources/Usercp.php on line 821

Warning: closedir(): supplied argument is not a valid Directory resource in /wwwroot/htdocs/forums/sources/Usercp.php on line 828


and this is whats on those lines:

CODE
 $dh = opendir( $ibforums->vars['html_dir'].'avatars' );
     while ( $file = readdir( $dh ) )
     {
   if ( !preg_match( "/^..?$|^index/i", $file ) )
   {
       $avatar_gallery[] = $file;
   }
     }
 closedir( $dh );  

that starts with 820 and ends with 828
Ive never had a problem like this before. anyone know how i can fix this?
xper
Check permission on that folder and files.

CHMOD, you know.
aKaFrEE
hmm..thats what i thought..and if all else fails..CHMOD 777..well..didnt help blink.gif
xper
QUOTE
$dh = opendir( $ibforums->vars['html_dir'].'avatars' );
 while ( $file = readdir( $dh ) )


Check path to html_dir/avatars in your admincp.

Board Settings - Basic Config
aKaFrEE
the path in basic config is right. http://xxx.xxx.xxx.xxx:21059/forums/html (i have it on an odd port due to the ISP, and all of my paths include that Port)
xper
Check if you have avatars dir in html and is it CHMOD-ed right, if all that doesn't help must be something with that port in path.
aKaFrEE
all DIRs are there and i tried doing CHMOD 777 but still no luck
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.