Jump to content

InvisionBoard UserCP/Avatar Settings Problem


Recommended Posts

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:

 $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?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...