MyBB Community Forums

Full Version: weird error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well...this is my friend's...mot mine...but he asked me to post this here. anyways...he did everything, and was fine. He then chmodded the WWW folder to 755, went to the admin control panel, and instead of the log in screen, he got these errors:
Warning: reset(): Passed variable is not an array or object in /home/a/arcanix.siteburg.com/WWW/forums/admin/forums.php on line 59

Warning: Variable passed to each() is not an array or object in /home/a/arcanix.siteburg.com/WWW/forums/admin/forums.php on line 60

Warning: reset(): Passed variable is not an array or object in /home/a/arcanix.siteburg.com/WWW/forums/admin/forums.php on line 65
After that, I went and checked his admin control panel and I got these errors:
Warning: main(../inc/db_.php): failed to open stream: No such file or directory in /home/a/arcanix.siteburg.com/WWW/forums/admin/global.php on line 39

Fatal error: main(): Failed opening required '../inc/db_.php' (include_path='.:/usr/local/share/pear') in /home/a/arcanix.siteburg.com/WWW/forums/admin/global.php on line 39
What's wrong?
first of all, he should CHMODD the forums folder, not the WWW since you dont actually type in www/forums in the url.

second, make sure all the files are uploaded, you may try re-uploading them again besides the install directory and the config file.
the forums folder was already 755, but the www folder was 711 (who knows how it got to 711, but anyways...)

Yeah...he uploaded all the files (including the config.php file...maybe that's the problem?) except for the install folder
ok, tell him that the WWW folder doesnt need to chmodd at all. he has to also install the forum.
Yeah you need to upload every think that is in the "upload" folder when you download mybb from here.

Once uploaded CHMOD config.php and settings.php to 777. Also you'll need to create a database (MySQL).
Once you've done all that you need to goto the forum root in you browser, eg: http://yoursite.com/mybb/ and add install/ to the end of that URL, so it'll be http://yoursite.com/mybb/install/
Now follow all steps in the installation wizard.

Once done delete the install folder and CHMOD config.php to 755 (so it can't be edited or overitten).

Now goto your forum root again and add admin/ to end of the URL (just like you did with the install part) and login and configer the board!
he did all that...and got to the /admin part, and there was the error...