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) »
  • abit confusd with setting up civimail / account / cron
Pages: [1]

Author Topic: abit confusd with setting up civimail / account / cron  (Read 1540 times)

usr238496

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: joomla2.5
  • PHP version: 5 something
abit confusd with setting up civimail / account / cron
June 26, 2012, 01:30:42 pm
I've read throug the book, the wiki pages and the floss manuals but still can't get this to work, so am working my way back from the beginning as am sure it is something obvious

The Book
Quote
The cron job needs to run using an account recognized by your CMS. Create an account dedicated to this task (e.g., mailprocess, civimail, etc), give it a long, secure password (e.g.,seol-lzprm42amv-psyc) and grant it access on CiviCRM and CiviMail.
The Wiki
Quote
For CiviMail to work in Drupal you must create a Drupal user with permissions to
    view all contacts
    access CiviCRM
    access CiviMail

Ok so I am using Joomla, what kind of Joomla account should be created, just a normal user for the site or a super admin? In joomla, when creating a user (or at least I do not know how) you cannot specify access to contacts / civi / civimail etc.

Would just like to confirm off what kind of joomla account to use, then can step forward to the next step :)

cheers
You did not answer the verification questions correctly - sigh

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: abit confusd with setting up civimail / account / cron
June 27, 2012, 06:15:09 am
Any Joomla account with access to CiviCRM and CiviMail should work.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

usr238496

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: joomla2.5
  • PHP version: 5 something
Re: abit confusd with setting up civimail / account / cron
June 27, 2012, 08:21:01 am
Thanks for the reply.

Today after sleeping and a few cups of tea, things become clearer (I think).

So I created a new Joomla user :mailprocess.
I made it super admin

I went to site.com/administrator/?option=com_civicrm&task=civicrm/admin/access&reset=1 and made sure the group had access to everything in civicrm.

So this step appears to have been ok and not the source of my problem.

NEXT






You did not answer the verification questions correctly - sigh

usr238496

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: joomla2.5
  • PHP version: 5 something
Re: abit confusd with setting up civimail / account / cron
June 27, 2012, 09:47:17 am
so the bounce email is all set up.

I think the floss manual is either outdated or not relevant to Joomla as it references URLS and files that do not exist, so am mainly using the book version.

Problem with the book is the cron example is not laid out correct, so it appears all in one line rather than across many lines, but I think I have it worked out by looking at the floss version.
Code: [Select]

# This must be set to the directory where civicrm is installed.
CIVI_ROOT=/var/www/civicrm   
# Comment: I believe these two lines are unnecessary.
# USER=www-data
# MAILTO="you@example.org"   
# Location of the PHP Command Line Interface binary.
# nice -19 forces to run at a lower priority than the web server
PHP=nice -n19 /usr/bin/php   

# line to be modified according to the informations below
# like this: PARAMS= -j -s<default or domain> -u<user> -p<password> -e Job -a process_mailing
PARAMS= -j -sdefault -umailprocess -pseol-lzprm42amv-psyc  -e Job -a process_mailing
PARAMSBOUNCE= -j -sdefault -umailprocess -pseol-lzprm42amv-psyc  -e Job -a fetch_bounces 
# cronjob send
# m h dom mon dow command
*/5 * * * *  cd $CIVI_ROOT; $PHP bin/cli.php $PARAMS
*/15 * * * * cd $CIVI_ROOT; $PHP bin/cli.php $PARAMSBOUNCE




That said, on checking the webserver version as it would appear this would offer a better way of seeing it things are working.

Pulling the URL
http://[SITEROOT]/administrator/components/com_civicrm/civicrm/bin/cron.php?name=username&pass=password&key=site-key
I enter this with the account created, the password and the site-key as specified in the file, double checked all is correct

The site key is pulled form
Code: [Select]
site/administrator/components/com_civicrm/civicrm.settings.php

I still get an error
Fatal error: Call to undefined method JException::triggerEvent() in /administrator/components/com_civicrm/civicrm/CRM/Utils/Hook/Joomla.php on line 58
« Last Edit: June 27, 2012, 09:49:09 am by usr238496 »
You did not answer the verification questions correctly - sigh

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: abit confusd with setting up civimail / account / cron
June 27, 2012, 01:31:10 pm
Please see http://forum.civicrm.org/index.php/topic,25038.msg106264.html#msg106264 for that issue.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

usr238496

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: joomla2.5
  • PHP version: 5 something
Re: abit confusd with setting up civimail / account / cron
July 10, 2012, 03:22:08 pm
All working now.

Steps taken are in another thread:
http://forum.civicrm.org/index.php/topic,24926.15.html

Hopes this helps some others with the same issues
You did not answer the verification questions correctly - sigh

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • abit confusd with setting up civimail / account / cron

This forum was archived on 2017-11-26.