Although I have many years worth of coding experience, I'm a complete n00b at managing sites. So I need help.
Basically I have this new site on a shared hosting provider, and sometimes I get these errors:
Warning: fopen(/home/baysescp/public_html/system/logs/error.txt) [function.fopen]: failed to open stream: No such file or directory in /home5/baysescp/public_html/system/library/log.php on line 12 Warning: fwrite(): supplied argument is not a valid stream resource in /home5/baysescp/public_html/system/library/log.php on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /home5/baysescp/public_html/system/library/log.php on line 16
Warning: require_once(/home/baysescp/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home5/baysescp/public_html/index.php on line 21 Fatal error: require_once() [function.require]: Failed opening required '/home/baysescp/public_html/system/startup.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home5/baysescp/public_html/index.php on line 21
These errors come completely randomly .. If I ever get such errors while I'm myself browsing the site, and I hit refresh, the site loads ..
I am also monitoring my site through uptimerobot.com through a keyword search. Its loads my site every 5 minutes and searches for a specific keyword, to make sure that the site loaded. On most days it only registers a break in service like 1-2 times, each lasting not more than 5 minutes (interval). But a few days ago, for some reason it registered like 50 such disrupts ! And I was working on the site that day (developing behind the scenes), and I too faced a lot of slowness, non-responsiveness, and such errors. FTP was slow and non-responsive at times too that day.
So what's the culprit here ? Is it something I need to configure ?