[horde] Ingo strpos() and substr() errors - Locks Up Server

Brian Spraker spraker at yahoo.com
Sat Oct 8 15:19:47 UTC 2011





----- Original Message -----
> From: Brian Spraker <spraker at yahoo.com>
> To: "horde at lists.horde.org" <horde at lists.horde.org>
> Cc: 
> Sent: Saturday, October 8, 2011 8:31 AM
> Subject: [horde] Ingo strpos() and substr() errors - Locks Up Server
> 
> OK - everything is working - for the most part.
> 
> If someone chooses Automatic or Dynamic for login, no problems; everything works 
> fine.  But if someone chooses Traditional for the login, Ingo throws a huge 
> number of errors and continuously writes them to the log file over and over 
> again.  The user sits on the Login screen as it tries to log them in - but 
> nothing happens.  It does this until the max_execution_time (or whatever it is) 
> in the PHP config is reached and then stops.
> 
> Here are all of the errors - these repeat over and over again.  It also only 
> affects those that have at least one rule setup.  I don't think it is 
> feasible to delete all the rules and re-create them - because I don't know 
> who on the system has rules and who does not.
> 
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: strpos() expects 
> parameter 1 to be string, array given [pid 17020 on line 310 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: substr() expects 
> parameter 1 to be string, array given [pid 17020 on line 312 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: strpos() expects 
> parameter 1 to be string, array given [pid 17020 on line 315 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: substr() expects 
> parameter 1 to be string, array given [pid 17020 on line 319 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: strpos() expects 
> parameter 1 to be string, array given [pid 17020 on line 326 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: substr() expects 
> parameter 1 to be string, array given [pid 17020 on line 330 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: strpos() expects 
> parameter 1 to be string, array given [pid 17020 on line 333 of 
> "/usr/share/php/Horde/Mime.php"]
> 2011-10-08T07:58:52-05:00 WARN: HORDE [ingo] PHP ERROR: substr() expects 
> parameter 1 to be string, array given [pid 17020 on line 337 of 
> "/usr/share/php/Horde/Mime.php"]
> 
> 
> Thank you for any  help!
> 
> Brian S.

This problem seems to be extremely hit or miss.  I've not found any rhyme or reason for it.  On my account, I have ingo/filters applied when I log in and when the mailbox refreshes (about four rules) - but no e-mail addresses in the whitelist or blacklist.  But, another user that called me - that does not have any filters setup (but does have a blacklist with over a dozen e-mail addresses) said that they were hanging at the login screen - and they did choose Traditional as the login type.  During this time - the customer's husband also has an account with me - and he logged in just fine using the Traditional method without problems.  This user has only one e-mail address in their blacklist - and no filters as well.

I had them close out of their web browser and re-open - then go back to the site and choose "Automatic".  They then were logged in right away.

I downloaded the ingo file from the pear.horde.org website and re-set it up and re-configured it.  This didn't help at all and the issue occurred again.

But now, I've not been able to reproduce the problem - with logging into my account or the other person that had the problem.  I've logged in and out of my account and the other two user accounts and all is running normally and no errors in the log.

I've set the log level to debugging so if it happens again, hopefully I can maybe get some kind of idea as to what is going on - just hope that the log size doesn't get up to 1 GB like it did before with those ingo errors over and over again.

Brian S.

> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>


More information about the horde mailing list