Fatal error: require_once() - Website down

Permalink 1 user found helpful
Trying to work out a Fatal Error require_once() on a website. Website just failed. Haven't even been editing for or working website in 3+ months.

Error message:

Warning: require_once(/home/XXX/www/concrete/config/../helpers/date.php) [function.require-once]: failed to open stream: No such file or directory in /home/XXX/www/concrete/libraries/loader.php on line 220

Fatal error: require_once() [function.require]: Failed opening required '/home/XXX/www/concrete/config/../helpers/date.php' (include_path='.:/usr/local/share/pear:/usr/local/lib/php:/home/XXX/www/libraries/3rdparty:/home/XXX/www/concrete/config/../libraries/3rdparty') in /home/XXX/www/concrete/libraries/loader.php on line 220

I believe working with version 5.4.0.5 of concrete5.

I checked line 220 of the loader.php
It says...

} else {
require_once(DIR_HELPERS_CORE . '/' . $file . '.php');
$class = Object::camelcase($file) . "Helper";

}

Any help would be greatly appreciated!

Thank You in Advance,

Janet

 
Mnkras replied on at Permalink Best Answer Reply
Mnkras
make sure /concrete/helpers/date.php exists, if it does not upload it, its in the archive
jwareleo replied on at Permalink Reply
Thank You, Thank You! I am up and running again.

Janet
BHWW replied on at Permalink Reply
BHWW
Hi i'm getting a similar error:

Warning: require_once(/home/felix/public_html/updates/concrete5.5.2.1/concrete/config/../helpers/concrete_dashboard.php) [function.require-once]: failed to open stream: No such file or directory in /home/felix/public_html/updates/concrete5.5.2.1/concrete/libraries/loader.php on line 268

Fatal error: require_once() [function.require]: Failed opening required '/home/felix/public_html/updates/concrete5.5.2.1/concrete/config/../helpers/concrete_dashboard.php' (include_path='/home/felix/public_html/libraries/3rdparty:/home/felix/public_html/updates/concrete5.5.2.1/concrete/config/../libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/felix/public_html/updates/concrete5.5.2.1/concrete/libraries/loader.php on line 268

any ideas? thanks
caverastudios replied on at Permalink Reply
Anyone figure this out?
ACEKC replied on at Permalink Reply
I had a similar error. Changing the file name so the "D" in date.php was capitalized fixed my problem.
teambree replied on at Permalink Reply
I starting getting a similar message today -
I have checked to see if date.php file is present - yes

Warning: require_once(/home2/teambree/public_html/packages/google_docs_viewer/blocks/google_docs_viewer/controller.php) [function.require-once]: failed to open stream: No such file or directory in/home2/teambree/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/loader.phpon line 218

Fatal error: require_once() [function.require]: Failed opening required '/home2/teambree/public_html/packages/google_docs_viewer/blocks/google_docs_viewer/controller.php' (include_path='/home2/teambree/public_html/libraries/3rdparty:/home2/teambree/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty:.:/usr/lib64/php:/usr/share/pear') in/home2/teambree/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/loader.phpon line 218

not sure how to get rid of this error
teambree replied on at Permalink Reply
I just figured out that google_doc_viewer was missing in the PACKAGES dir : I did locate it and moved it to correct area and this error is resolved for now - i hope