We are running this system on XAMPP - on Windows Server 2012R2
I myself am familiar with CRONTAB, as I administered SAS on a Linux platform for years in my previous role, so used to setting up cron scheduled jobs. But this is where I am unable to determine if the Plugin requires cron / setting up a crontab job here. Is there anything in the documentation re this Plugin and its dependency on cron?
Is there anything in the documentation re this Plugin and its dependency on cron?
no. The plugin depends on the Elgg notification system, which relies on the cron. You can check if your cron is working by going to /admin/statistics/cron on your site.
I don't know if XAMPP has any kind of cron daemon by default. So, the cronjobs you would need to set up for Elgg core (any any plugin that makes use of it) will likely not run on your system. The cronjobs visit just certain site urls to trigger the execution of scripts at certain intervalls. And the scheduled notification sending is one of them (by default at the 1 minute intervall).
I wonder why you get email notifications on discussion postings and likes etc. though. Some notifications are still send immediatelly without the cron notification scheduling. So, this might be the case for these notifications.
As a fallback solution on systems without a cron daemon your can use the Crontrigger plugin instead (https://elgg.org/plugins/2512029). It triggers the cron scripts by user activity. So, no users on the site means no cronjobs triggered. And with low activity the cronjobs might also not get triggered as regularly as with a real cron system used.
Hi Ismayil
We currently have a Test Server (proper - not localhost) with ELGG installed. But it is a Windows VM located on a proper Windows 2012 R2 Server. We are running our site on XAMPP, and everything else is working perfectly for now. But then we do not have MS Office 2013 installed on the server, nor a Visual Studio distributable setup.
Let me test the elgg file viewer and I will let you know what the error is we get.
Kind regards
Len
The Logs report this error:
[30-Jan-2017 10:49:12 UTC] PHP WARNING: 2017-01-30 10:49:12 (UTC): "opendir(C:\xampp\htdocs\elgg/vendor/bower-asset/prism,C:\xampp\htdocs\elgg/vendor/bower-asset/prism): The system cannot find the file specified. (code: 2)" in file C:\xampp\htdocs\elgg\vendor\elgg\elgg\engine\classes\Elgg\ViewsService.php (line 127)
[30-Jan-2017 10:49:12 UTC] PHP WARNING: 2017-01-30 10:49:12 (UTC): "opendir(C:\xampp\htdocs\elgg/vendor/bower-asset/prism): failed to open dir: No such file or directory" in file C:\xampp\htdocs\elgg\vendor\elgg\elgg\engine\classes\Elgg\ViewsService.php (line 127)
[30-Jan-2017 10:49:12 UTC] PHP WARNING: 2017-01-30 10:49:12 (UTC): "opendir(C:\xampp\htdocs\elgg/vendor/bower-asset/videojs/dist,C:\xampp\htdocs\elgg/vendor/bower-asset/videojs/dist): The system cannot find the path specified. (code: 3)" in file C:\xampp\htdocs\elgg\vendor\elgg\elgg\engine\classes\Elgg\ViewsService.php (line 127)
[30-Jan-2017 10:49:12 UTC] PHP WARNING: 2017-01-30 10:49:12 (UTC): "opendir(C:\xampp\htdocs\elgg/vendor/bower-asset/videojs/dist): failed to open dir: No such file or directory" in file C:\xampp\htdocs\elgg\vendor\elgg\elgg\engine\classes\Elgg\ViewsService.php (line 127)
The error listed in the actual Web Viewer:
Have you downloaded from https://github.com/hypeJunction/elgg_file_viewer/releases. If you just download the current master, you won't get all the dependencies included.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.