Page 1 of 1

cron job error

Posted: 28 Aug 2017, 14:59
by jvenes
After installing the cron-job im recieving an email with this text:
PHP Warning: require(includes/application_core.php): failed to open stream: No such file or directory in /home/p22562/domains/xxxxxx/public_html/xxxxxx/cron/chat.php on line 6
//==============================
there is file application_core.php in map includes
is set to 777, no effect
has the map als to be 777?

Re: cron job error

Posted: 28 Aug 2017, 17:13
by support
See the solution here http://blog.rukovoditel.net/?page_id=179 (at the end of article)

Re: cron job error

Posted: 28 Aug 2017, 18:16
by jvenes
That worked: altered the file chat.php
Email to admin en member works.
In the email to member the text is:
Hello.
You received this notification because you have unread chat messages.
New messages: 1
Go to messages

Go to messages contains a link: http://localhost/rukovoditel/product_v1 ... hat_window

Thats seems to be incorrect.
Where to alter it to probable correct link: http://xxxxxx/dosys/index.php?module=ex ... hat_window

Re: cron job error

Posted: 28 Aug 2017, 18:47
by support
see configuration in config/server.php

Code: Select all

//Configure server host to build urls correctly in cron
//Enter [http or https]+[domainname]+[catalog] for example: https://mycompany.com/mypm/
  define('CRON_HTTP_SERVER_HOST','http://localhost/rukovoditel/product_v1.9/');