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) »
  • Civimail Cron Error: Invalid username and/or password
Pages: 1 2 [3]

Author Topic: Civimail Cron Error: Invalid username and/or password  (Read 8452 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Civimail Cron Error: Invalid username and/or password
September 16, 2010, 10:59:01 am
Did you create a key for this user as well ?

http://wiki.civicrm.org/confluence/display/CRMDOC32/REST+interface

(I'm not sure at all that it's that, cause the error message is usually something different)

No idea otherwise, try reading this chapter, might find the solution:

http://en.flossmanuals.net/CiviCRM/SystemConfiguration
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Re: Civimail Cron Error: Invalid username and/or password
September 16, 2010, 11:05:39 am
I'm not sure this is relevant to this specific issue.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Civimail Cron Error: Invalid username and/or password
September 16, 2010, 11:11:45 am
Me neither, but finding the right solution in this case is about eliminating all the wrong ones until there is only one left  ;)

I'd suggest you to hire a professional that you can give access to your server and can dig into the specific of your install and debug it.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Re: Civimail Cron Error: Invalid username and/or password
September 16, 2010, 11:22:44 am
I'm at the NYC Developer training right now. I'll see if anyone here can take a look and figure it out. I'm not going to spend money on something I could theoretically fix by migrating into a new installation (if I have to do that). In the event that migrating doesn't work, i'll consider hiring a professional...

Thanks for your suggestion though.

If anyone else has any ideas, I'm still open!!

guinunez

  • Guest
Re: Civimail Cron Error: Invalid username and/or password
December 29, 2010, 11:34:03 am
I had the exact same problem until a couple of minutes ago, I registered here to post what worked for me:

I have a multi-site drupal configuration with shared tables, so on my settings.php file I have something like this:
Code: [Select]
$db_url = 'mysql://dbuser:dbpassword@mysql.example.com/example_crm';

//$db_prefix = '';

$db_prefix = array(
  'default' => '',
  'users' => '`example_cms`.',
  'sessions' => '`example_cms`.',
  'authmap' => '`example_cms`.',
  'role' => '`example_cms`.',
  'users_roles' => '`example_cms`.'
);

On this setup, the 5 tables above are shared across my multiple sites.

But it appears that this particular component of civicrm doesn't read this setup and doesn't validate the users. Probably I should report this bug? I am not sure where to do it.

Anyways, I solved this issue by copying those tables to my civicrm database from the example_cms database. Of course any change that I made from now to my users setup will not be reflected to the command line scripts.

I hope it helped someone

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Re: Civimail Cron Error: Invalid username and/or password
December 29, 2010, 12:21:19 pm
Thanks, but my settings.php file has the same "$db_prefix = array {" set for my tables. Doesn't help :(

Pages: 1 2 [3]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Civimail Cron Error: Invalid username and/or password

This forum was archived on 2017-11-26.