Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
Quote from: xavier on September 13, 2010, 06:48:13 amStab in the dark, as you seem to have shell access with php-cli:cd civicrm root;php5 bin/civimail.cronjob.php -u user -p password -s yoursite.orgX+Ok....this is interesting...this is the error I got:Code: [Select]X-Powered-By: PHP/5.2.14Content-type: text/html<br /><b>Warning</b>: require_once(bin/cli.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php</b> on line <b>67</b><br /><br /><b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'bin/cli.php' (include_path='.:/usr/lib/php5') in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php</b> on line <b>67</b><br />Hoping this means I'm on the road to debugging...... --S
Stab in the dark, as you seem to have shell access with php-cli:cd civicrm root;php5 bin/civimail.cronjob.php -u user -p password -s yoursite.orgX+
X-Powered-By: PHP/5.2.14Content-type: text/html<br /><b>Warning</b>: require_once(bin/cli.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php</b> on line <b>67</b><br /><br /><b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'bin/cli.php' (include_path='.:/usr/lib/php5') in <b>/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php</b> on line <b>67</b><br />
Hi, you are probably running it from within the bin directory, you need to run it from your civicrm directory
Might want to debug the code here:CRM/Utils/System/Drupal.php, function authenticate
Not sure if this is relevant, but I was getting the same problem 'Incorrect Username/password'. I'd left the 'FIXME' account active, but just added a new one and marked it as default. When I deleted the 'FIXME' account, the errors went away.
<?phpdefine('CIVICRM_CONFDIR', '/var/www/drupal/sites');
<?phpdefine('CIVICRM_CONFDIR', '/kunden/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites');
<?phpdefine('CIVICRM_CONFDIR', '/kunden/homepages/29/d100263672/htdocs/wsb3626572001/drupal-6.6/sites/default/');
*/10 * * * * wget -O - -q -t 1 --post-data='name=cronuser&pass=PASSWORD&key=SITEKEY' http://www.atyourpalate.com/drupal-6.6/sites/all/modules/civicrm/bin/civimail.cronjob.php