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 CiviReport (Moderator: Dave Greenberg) »
  • CiviReportMail.php stopped working after upgrade from 3.1RC
Pages: [1]

Author Topic: CiviReportMail.php stopped working after upgrade from 3.1RC  (Read 906 times)

jeffmikels

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
CiviReportMail.php stopped working after upgrade from 3.1RC
March 04, 2010, 05:40:46 am
Last night, I upgraded to 3.1.3, and now CiviReportMail.php isn't working correctly.

I'm invoking CiviReportMail.php from a curl command that looks like this:


Code: [Select]
curl -d 'name=[USERNAME]&pass=[PASSWORD]&key=[SITEKEY]' 'http://[DRUPAL_HOME]/sites/[DOMAIN]/modules/civicrm/bin/CiviReportMail.php?instanceId=24&reset=1&sendmail=1'

When invoked in a browser, I get this error:
ERROR: You need to send a valid user name and password to execute this file

But I know the credentials are correct

When invoked by the above curl command, I get html with this error report:

Code: [Select]

<p>Error Details:</p><p><pre>Array
(
    [callback] =&gt; Array
        (
            [0] =&gt; CRM_Core_Error
            [1] =&gt; handle
        )

    [code] =&gt;
    [message] =&gt; not connected
    [mode] =&gt; 16
    [debug_info] =&gt;
    [type] =&gt; PEAR_Error
    [user_info] =&gt;
    [to_string] =&gt; [pear_error: message=&quot;not connected&quot; code=0 mode=callback callback=CRM_Core_Error::handle prefix=&quot;&quot; info=&quot;&quot;]
)
</pre></p>

Any advice?[/code]
« Last Edit: March 04, 2010, 05:42:49 am by jeffmikels »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • CiviReportMail.php stopped working after upgrade from 3.1RC

This forum was archived on 2017-11-26.