Archives Blog not working
Does this ring a bell with anyone? Your help would be much appreciated!
Warning: require_once(/customers/8/a/9/lijndiensten.com/httpd.www/updates/concrete188.8.131.52_updater/concrete/helpers/Date.php): failed to open stream: No such file or directory in /customers/8/a/9/lijndiensten.com/httpd.www/updates/concrete184.108.40.206_updater/concrete/core/libraries/loader.php on line 297 Fatal error: require_once(): Failed opening required '/customers/8/a/9/lijndiensten.com/httpd.www/updates/concrete220.127.116.11_updater/concrete/helpers/Date.php' (include_path='/customers/8/a/9/lijndiensten.com/httpd.www/libraries/3rdparty:/customers/8/a/9/lijndiensten.com/httpd.www/updates/concrete18.104.22.168_updater/concrete/libraries/3rdparty:.:/usr/share/php') in /customers/8/a/9/lijndiensten.com/httpd.www/updates/concrete22.214.171.124_updater/concrete/core/libraries/loader.php on line 297
I have a "Blog Date Archive" block on a 2 sites (both running 126.96.36.199) - For the most part it seems to work, the changes save but when you save you get the error above. The block works for me on the front end but the error on save is really annoying and makes the site appear broken.
Screenshot attached of the block upon saving the block.
Anyone else out there seeing this? Can some one test it out and see?
$dh = Loader::helper("Date");
"Date" is written with a capital "D" and therefor the helper file that is being searched for is Date.php instead of date.php, with lowercase(!) "d". On any server, other than Windows, this will fail, since the file that is actually exists is date.php and not Date.php.
You can easily solve this by overwriting the view file. Just copy the view file to /blocks/date_archive/view.php and change "Date" to "date" on line 2.
Let me know if that solved the problem!
* If you updated Concrete5 then the file location is /updates/concrete188.8.131.52/blocks/date_archive/view.php (assuming you updated to version 184.108.40.206)
NB I have a copy of the folder date_archive in *root/blocks/ (and the other folder there is guestbook), which it seems is the one being used - is that the normal setup?
Prev Next Nav ignores pages that have the attribute Exclude From Nav checked. Uncheck Exclude From Nav from the blog pages' properties and check this How To on creating an attribute to exclude all child pages from nav:http://www.concrete5.org/documentation/how-tos/designers/how-to-hid...