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 »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Invalid Key Value Sent
Pages: [1]

Author Topic: Invalid Key Value Sent  (Read 1801 times)

helpmeplease

  • Guest
Invalid Key Value Sent
September 06, 2009, 10:26:59 pm
I'm trying to get my Cron Job to work correctly using

wget 'http://<site-and-civicrm-path>/bin/civimail.cronjob.php?name=<name>&pass=<pass>&key=<key>'

I've checked to make sure my username, password and sitekey are correct and that my site key is set up in civicrm.settings.php

I'm able to get the Cron to work manually using http://<site>/administrator/index.php?option=com_civicrm&task=civicrm/mailing/queue&reset=1

When I run the cron job just using http://<site-and-civicrm-path>/bin/civimail.cronjob.php?name=<name>&pass=<pass>&key=<key> I get the following error:

ERROR: Invalid key value sent. More info at:http://wiki.civicrm.org/confluence/display/CRMDOC/Command-line+Script+Configuration

I've read the above article and believe that I have everything set up correctly yet I still get this error. Where do I start to trouble shoot this issue?

I'm using the latest versions of CiviCRM and Joomla.

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Invalid Key Value Sent
September 09, 2009, 12:23:10 pm
Ran into the same issue. Turns out there are TWO civicrm.settings.php files to add the keys to:

JOOMLA\components\com_civicrm  is the second path that houses the file you need to add the key to...

rembrandt

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: jomla 1.7
  • MySQL version: 3
  • PHP version: 5
Re: Invalid Key Value Sent
February 27, 2012, 04:56:17 pm
I've added the correct key to both civicrm.settings.php files and still get the invalid key error.  Any suggestions?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Invalid Key Value Sent

This forum was archived on 2017-11-26.