Problems with config.php for a script.
Okay, well this is my first time posting to this community, I've little experience with php so I'm working off of pre made scripts. I rrecieved this problem:
Warning: main(/home2/yukapok/data/lib/cache/lib.p hp) [function.main]: failed to open stream: No such file or directory in /home2/yukapok/public_html/candy/include s.php on line 25
Fatal error: main() [function.require]: Failed opening required '/home2/yukapok/data/lib/cache/lib.php' (include_path='.:/usr/lib/php:/usr/local/l ib/php') in /home2/yukapok/public_html/candy/include s.php on line 25
So, line 25 is: require_once($CFG->dirroot.'lib/cache/li b.php');
Ask for more information and I'll edit it in. Thanks, I hope I get this figured out...
Edit: Fixed. I needed to change my $CFG->dirroot'' to the folders leading to the folder in public_html with the script for it. Then I had to change the dataroot to the data folder with the folders leading to it also in the name. :D
Warning: main(/home2/yukapok/data/lib/cache/lib.p
Fatal error: main() [function.require]: Failed opening required '/home2/yukapok/data/lib/cache/lib.php' (include_path='.:/usr/lib/php:/usr/local/l
So, line 25 is: require_once($CFG->dirroot.'lib/cache/li
Ask for more information and I'll edit it in. Thanks, I hope I get this figured out...
Edit: Fixed. I needed to change my $CFG->dirroot'' to the folders leading to the folder in public_html with the script for it. Then I had to change the dataroot to the data folder with the folders leading to it also in the name. :D
