cron job error

Post Reply
jvenes
Posts: 16
Joined: 26 Jul 2016, 14:54
Name: Jos Venes
Location: Netherlands

cron job error

Post 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?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: cron job error

Post by support »

See the solution here http://blog.rukovoditel.net/?page_id=179 (at the end of article)
jvenes
Posts: 16
Joined: 26 Jul 2016, 14:54
Name: Jos Venes
Location: Netherlands

Re: cron job error

Post 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
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: cron job error

Post 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/');  
Post Reply