CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • "Cannot open input file"
Pages: [1]

Author Topic: "Cannot open input file"  (Read 5352 times)

preacherboy86

  • I’m new here
  • *
  • Posts: 24
  • Karma: 1
"Cannot open input file"
May 04, 2008, 03:39:30 pm
I'm trying to set up a cron job for civimail.cronjob.php, but keep getting this error via SSH:

[timcunha@nammu bin]$ php ~/public_html/sites/all/civicrm/modules/bin/civimail.cronjob.php
Could not open input file: /home/timcunha/public_html/sites/all/civicrm/modules/bin/civimail.cronjob.php

All permissions are enabled (777). What to do?


Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: "Cannot open input file"
May 11, 2008, 02:46:43 pm
Are you sure the file is there? What do you get when you run

Code: [Select]
ls -l ~/public_html/sites/all/civicrm/modules/bin/civimail.cronjob.php

(I assume you get this error as above – i.e., when you try to run this as yourself.)

Quote from: preacherboy86 on May 04, 2008, 03:39:30 pm
All permissions are enabled (777).

Are all permissions also set properly for each of the relevant directories (public_html, sites, all, civicrm, modules and bin)?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • "Cannot open input file"

This forum was archived on 2017-11-26.