Hi
I am gettin the following error randomly on my page http://www.mobique.com/sharp/gx30/page8.php
This error occurs randomly hence, and when you click refresh it goes away.
The errors are below
Warning: main(/var/spool/ftp/users/mobique/public_html/../inc/setup.inc): failed to open stream: No such file or directory in /usr/var/spool/ftp/users/knox2/lib/prepend.php on line 27
Warning: main(): Failed opening '/var/spool/ftp/users/mobique/public_html/../inc/setup.inc' for inclusion (include_path='.:/usr/local/share/pear') in /usr/var/spool/ftp/users/knox2/lib/prepend.php on line 27
Fatal error: Cannot instantiate non-existent class: database in /usr/var/spool/ftp/users/knox2/lib/prepend.php on line 41
The only php codes on the above pages are
#myFile.php parses a text file recent-reviews.txt and display the content of that file on the page <?
include '../../myFile.php';
?>
myFile.php is located on the root directory, i.e http://www.mobique.com/myFile.php
#open the recent-reviews.txt, else return an error.
<?php
parseFile('../../text/recent-reviews.txt', 'File could not be opened');
?>
recent-reviews.txt is located on the "text" subdirectory i.e http://www.mobique.com/text/recent-reviews.txt
Please help I am lost.