Blog error (require_once)
Permalink 1 user found helpful
Hi
When trying to load the default blog, i get this error:
Warning: require_once(/customers/6/7/e/bodysquad.dk/httpd.www/concrete/helpers/Date.php): failed to open stream: No such file or directory in /customers/6/7/e/bodysquad.dk/httpd.www/concrete/core/libraries/loader.php on line 297 Fatal error: require_once(): Failed opening required '/customers/6/7/e/bodysquad.dk/httpd.www/concrete/helpers/Date.php' (include_path='/customers/6/7/e/bodysquad.dk/httpd.www/libraries/3rdparty:/customers/6/7/e/bodysquad.dk/httpd.www/concrete/libraries/3rdparty:.:/usr/share/php') in /customers/6/7/e/bodysquad.dk/httpd.www/concrete/core/libraries/loader.php on line 297
Can anyone help.?
When trying to load the default blog, i get this error:
Warning: require_once(/customers/6/7/e/bodysquad.dk/httpd.www/concrete/helpers/Date.php): failed to open stream: No such file or directory in /customers/6/7/e/bodysquad.dk/httpd.www/concrete/core/libraries/loader.php on line 297 Fatal error: require_once(): Failed opening required '/customers/6/7/e/bodysquad.dk/httpd.www/concrete/helpers/Date.php' (include_path='/customers/6/7/e/bodysquad.dk/httpd.www/libraries/3rdparty:/customers/6/7/e/bodysquad.dk/httpd.www/concrete/libraries/3rdparty:.:/usr/share/php') in /customers/6/7/e/bodysquad.dk/httpd.www/concrete/core/libraries/loader.php on line 297
Can anyone help.?
Thanks for the tip, however I found if you rename the file from "date.php" to "Date.php" while that corrects the published render, it broke the design capability.
What I did was duplicate the file so I now have:
/concrete5/updates/concrete5.6.2.1_updater/concrete/helpers/Date.php
/concrete5/updates/concrete5.6.2.1_updater/concrete/helpers/date.php
The blog facilitate within the site now appears to work correctly.
I did a little digging and I wasn't able to easily locate the PHP file which contains the routine looking of the "Date.php" file, so this duplicate "solution" is expedient, however it doesn't correct the underlying issue.
Thanks again for the tip, it pointed me to where I needed to look.
All the best,
Paul
What I did was duplicate the file so I now have:
/concrete5/updates/concrete5.6.2.1_updater/concrete/helpers/Date.php
/concrete5/updates/concrete5.6.2.1_updater/concrete/helpers/date.php
The blog facilitate within the site now appears to work correctly.
I did a little digging and I wasn't able to easily locate the PHP file which contains the routine looking of the "Date.php" file, so this duplicate "solution" is expedient, however it doesn't correct the underlying issue.
Thanks again for the tip, it pointed me to where I needed to look.
All the best,
Paul
Date.php were saved as date.php, so simply editing to a capital D fixed the problem. :-)