aKaFrEE Posted August 20, 2002 Share Posted August 20, 2002 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 820Warning: readdir(): supplied argument is not a valid Directory resource in /wwwroot/htdocs/forums/sources/Usercp.php on line 821Warning: closedir(): supplied argument is not a valid Directory resource in /wwwroot/htdocs/forums/sources/Usercp.php on line 828and 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 828Ive never had a problem like this before. anyone know how i can fix this? Link to comment Share on other sites More sharing options...
xper Posted August 20, 2002 Share Posted August 20, 2002 Check permission on that folder and files.CHMOD, you know. Link to comment Share on other sites More sharing options...
aKaFrEE Posted August 20, 2002 Author Share Posted August 20, 2002 hmm..thats what i thought..and if all else fails..CHMOD 777..well..didnt help Link to comment Share on other sites More sharing options...
xper Posted August 20, 2002 Share Posted August 20, 2002 $dh = opendir( $ibforums->vars['html_dir'].'avatars' ); while ( $file = readdir( $dh ) )Check path to html_dir/avatars in your admincp.Board Settings - Basic Config Link to comment Share on other sites More sharing options...
aKaFrEE Posted August 20, 2002 Author Share Posted August 20, 2002 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) Link to comment Share on other sites More sharing options...
xper Posted August 20, 2002 Share Posted August 20, 2002 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. Link to comment Share on other sites More sharing options...
aKaFrEE Posted August 20, 2002 Author Share Posted August 20, 2002 all DIRs are there and i tried doing CHMOD 777 but still no luck Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now