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 (Moderator: Dave Greenberg) »
  • WPML cookie conflict with Scheduled jobs
Pages: [1]

Author Topic: WPML cookie conflict with Scheduled jobs  (Read 418 times)

marxistvegan

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: drupal
  • MySQL version: 14.14
  • PHP version: php5
WPML cookie conflict with Scheduled jobs
February 11, 2014, 02:38:55 pm
Hi everyone,

I have a new civicrm install on a site that already has WPML installed. I am currently trying to get the sheduled jobs to be run from php but it gives an error related to WPML and it needs a cookie. So I tried using wget instead and I cannot create the cookie needed. I am a little desperate for help. Has anyone used this plug in before and experienced trouble with in this case the following command

Code: [Select]
civiusilive@chelsea:~$ wget -O - -t 1 'http://usilive.org/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=administrator&pass=19gwJh7d&key=795bfbf0b2a3a95c5d707d6da1507b45'
--2014-02-11 17:36:03--  http://usilive.org/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=[b]#########[/b]&pass=[b]#########[/b]&key=[b]##########################[/b]
Resolving usilive.org (usilive.org)... 64.145.66.156
Connecting to usilive.org (usilive.org)|64.145.66.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `STDOUT'

    [<=>                                                                                                                                                           ] 0           --.-K/s              <br />
<b>Fatal error</b>:  Call to a member function get_element_language_details() on a non-object in <b>/home/members/usi/sites/civi.usilive.org/web/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/iclNavMenu.class.php</b> on line <b>171</b><br />
    [ <=>                                                                                                                                                          ] 265         --.-K/s   in 0s     

2014-02-11 17:36:03 (23.3 MB/s) - written to stdout [265]

0 civiusilive@chelsea:~$

The line is asking for a language reference that I cannot resolve. I have tried disabling this plugin and confirmed that the same wget commands works correctly.

~mv

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • WPML cookie conflict with Scheduled jobs

This forum was archived on 2017-11-26.