DB.php not found

1.5k views Asked by At

I have this error

Warning: require_once(DB.php): failed to open stream: No such file or directory in /var/www/html/www.rosterbuster.com/inc/core.php on line 381

Fatal error: require_once(): Failed opening required 'DB.php' (include_path='/usr/share/php:/home/g3mini/pear/share/pear:/home/g3mini/pear/share/pear/') in /var/www/html/www.rosterbuster.com/inc/core.php on line 381

But when I go to ~/pear/share/pear or even /home/g3mini/pear/share/pear DB.php is right there.

What can I possibly do?

1

There are 1 answers

0
JordyvD On

In my case the problem was that I had encrypted my home folder.

The fix was sudo chmod 777 ~ Not the safest thing to do, but it worked.