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 »
  • Using IMAP2SOAP »
  • imap2soap.pl output includes weird "strict refs" error
Pages: [1]

Author Topic: imap2soap.pl output includes weird "strict refs" error  (Read 3079 times)

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
imap2soap.pl output includes weird "strict refs" error
April 29, 2008, 08:29:33 pm
Hi all,

I've got civimail working well with the alternative configuration with imap2soap.pl. All is fine - I'm able to send out mailings, and using imap2soap.pl the bounces and replies are being processed correctly.

However, I am curious about the output - basically each email read presents the output below. Is it a problem?

Quote
imap2soap: Load average not implemented on this machine
imap2soap: Processing message 4/5 (id 640), load average = 0
imap2soap: Successful bounce event: bounce.1.17.6667.4ce766503383df106f9d502caee7207ff6611fc0@sandbox.kabissa.org
Use of uninitialized value in subroutine entry at ./imap2soap.pl line 205.
imap2soap: Can't use string ("") as a subroutine ref while "strict refs" in use at ./imap2soap.pl line 205.

Cheers,

Tobias
Kabissa - Space for Change in Africa http://kabissa.org

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: imap2soap.pl output includes weird "strict refs" error
May 20, 2008, 08:33:33 pm
It's not a problem, but it is a bug in the code.  What's going on is $LOAD_AVERAGE = "" (the empty string) and strict refs is complaining when the empty string is used as a function.

I've just uploaded a new version of imap2soap.pl to https://svn.civicactions.net/repos/civicrm/scripts/imap2soap.pl that has cleaned up the calling to the LOAD_AVERAGE function and should reduce the warnings you get.

Let me know if it works for you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using IMAP2SOAP »
  • imap2soap.pl output includes weird "strict refs" error

This forum was archived on 2017-11-26.