I wish i could, me phpnooby ;-)
Add it to TODO-list hehe, maybe someone will pick it up.
Also a test email send directly would be a nice feature!
Evolution user, I like the back-end speed and simplicity

Morning Folks,
Firstly, I’m a bit of a new arrival to DitsNews and Modx Revolution. I have attempted to install and configure DitsNews with little success. I have installed DitsNews via “Package Management” and created all the Templates and Chunks as required. I have created a “Cron Job” to what I believe to be the corrected path and configured Cpanel to send me an email every time the job runs, I have pasted the email contents below.
/home/applusrt/public_html/core/components/ditsnews/cron/cron.php: line 1: ?php
: No such file or directory
/home/applusrt/public_html/core/components/ditsnews/cron/cron.php: line 2:
: command not found
/home/applusrt/public_html/core/components/ditsnews/cron/cron.php: line 3: syntax error near unexpected token `(’
/home/applusrt/public_html/core/components/ditsnews/cron/cron.php: line 3: `require_once dirname(__FILE__).’/../../../../config.core.php’;
’
Can anyone please offer some direction to what the problem may be?
Thanks.
-
☆ A M B ☆
- 130 Posts
I think you forgot to add the path to PHP in your cron.
Example:
/usr/local/bin/php /path/to/core/components/ditsnews/cron/cron.php
Change this to wherever php is located on your server.
Jeroen Kenters
MODX Professional | MODX Ambassador | Dutch MODX forums moderator
website |
twitter
Hi Jeroen Kenters,
Thanks for the prompt reply. I did see a similar post detailing the correct path to PHP however at that time I still did not get the Cron Job to run. Taking your advice, I revisited my Cpanel Cron Job options page and copied the path to PHP as you suggested and I worked perfectly!
Thanks again for your help.
I’m sorry to point out that the Dittsnews module is completely broken in MODx 2.1.1
It’s impossible to save any settings or other values.
I noticed that no database tables are being created.