About this Page This is a discussion on Warning: main(db/mysql.php): failed to open stream: No such within the Open topics forums, part of the General category; Ok I did the 2nd thing and modified db and added the proper root. Now I get a different error:
...
Ok I did the 2nd thing and modified db and added the proper root. Now I get a different error:
Quote:
Warning: main(mainfile.php): failed to open stream: No such file or directory in /home/trook/public_html/modules/News/index.php on line 20
Fatal error: main(): Failed opening required 'mainfile.php' (include_path='/usr/local/lib/php') in /home/trook/public_html/modules/News/index.php on line 20
YEAH everthing is fixed now! I just went where the lines were based on the error messages and added the path from root to the file on the line it specified.. Had to do it for several pages but now everything works!
I appreciate all the help given. So why did everything need to be fixed like that? Does it sound like they changed the path to mysql?
Warning: main(modules/Forums/nukebb.php): failed to open stream: No such file or directory in /home/trook/public_html/modules/Forums/index.php on line 70
Fatal error: main(): Failed opening required 'modules/Forums/nukebb.php' (include_path='/usr/local/lib/php') in /home/trook/public_html/modules/Forums/index.php on line 70
The only way I've found to fix it is by going to each piece of code and additing the root path before the file name. This is going to take f-o-r-e-v-e-r.
Eh I gave up. For some reason this isn't going to work without a ton of hassle. I decided to try postnuke instead. I really enjoyed phpnuke but once my mysql got switched to that version nothing wants to work without a toooon hassle.