Without me doing anything my site stopped working displaying this error:
Warning: require_once(includes/theme_functions_include.php) [function.require-once]: failed to open stream: No such file or directory in /home/ecchido/public_html/themes/devotionpro/theme.php on line 26
Fatal error: require_once() [function.require]: Failed opening required 'includes/theme_functions_include.php' (include_path='/opt/php/lib/php'
in /home/ecchido/public_html/themes/devotionpro/theme.php on line 26
I tried to fix this, but i didn't manage, here's what i tried:
1)reuploaded the files, but i still got that error
2)modified the code:
require_once INCLUDES."theme_functions_include.php";
to
require_once ($_SERVER['DOCUMENT_ROOT']."/includes/theme_functions_include.php"
;
but still nothing
I noticed that if i moved the theme_functions file to the theme dir it found it, but that way it showed too many errors --> why can't the file be found when it was working normally just a while ago?