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) »
  • Chainging the Site Key
Pages: [1]

Author Topic: Chainging the Site Key  (Read 1587 times)

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Chainging the Site Key
January 18, 2010, 07:18:40 am
On trying to run a cron job I got this an error that caused me to think I couldn't use a site key with special characters (ie, ]^;).
After changing the special characters to x in civicrm.settings.php and in the cron files I still got this error:
"You need to send a valid key to execute this file"

I'm wondering if I need to change the key somewhere else in civiCRM as well?
Thanks to those who help create and enhance civiCRM!

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Chainging the Site Key
January 18, 2010, 07:43:38 am
Quote from: conductorchris on January 18, 2010, 07:18:40 am
...

I'm wondering if I need to change the key somewhere else in civiCRM as well?

Where have you set it so far?

Each file that you call with cron job needs the key added, and there are several in the folder, and every time you update CiviCRM (e.g. if you're using the various betas being release at the moment) you have to re-edit the files as they get overwritten.

As far as I am aware, there is no simple configuration within CiviCRM to change this and keep the change when upgrading from one release to the next etc. -

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Chainging the Site Key
January 18, 2010, 08:07:21 am
Well the problem turned out to be lack of quotation marks in the cron file.

I changed civicrm.settings.php
And then the other civicrm.settings.php
(Joomla has two of these files, one in the administrator directory and one in the components directory)

And the two cron job files.

There are only two files (mail processor and mail send) that I'm calling with cron jobs. 
Thanks to those who help create and enhance civiCRM!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Chainging the Site Key

This forum was archived on 2017-11-26.