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 CiviContribute (Moderator: Donald Lobo) »
  • "Cryptic" Error message received on page load?
Pages: [1] 2

Author Topic: "Cryptic" Error message received on page load?  (Read 4213 times)

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
"Cryptic" Error message received on page load?
September 25, 2011, 12:09:28 pm
I'm quite far from 100% sure if this is in fact related to the civicontribute module, but this was when I first saw it I think...
So, truly sorry if I'm barking up the wrong tree here, but here goes:

After entering the civicrm/contribute/transact<some numbers and signs>-page, I get the following error message:

Quote
Warning: preg_match(): Compilation failed: POSIX collating elements are not supported at offset 76 in IDS_Filter->match() (line 124 of ....../public_html/sites/all/modules/civicrm/packages/IDS/Filter.php).


Has anyone got a clue what this means? From another forum (http://stackoverflow.com/questions/7173787/compilation-failed-posix-collating-elements-are-not-supported), I think I found that this might be related to php-versions? Is that the case here? Or have I completely missed the point? (Wouldn't be the first time! :P)

BTW, I'm running CiviCRM 4.0.0 and Drupal 7.8, not sure if that's relevant. Also, I know my webhost is running php 5.3.8.

Thanks in advance for any pointers, and again, sorry if I'm at the wrong place here!


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: "Cryptic" Error message received on page load?
September 25, 2011, 12:58:22 pm
The error is coming from the IDS package - maybe it's worth trying a more recent version of that package - https://phpids.org/downloads/ - you could try replacing the packages/IDS folder with the latest one.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
September 25, 2011, 03:36:36 pm
Oh, is there a package!? Just goes to show how little I know  ::)
Thanks for the tip! I'll give it a try first thing tomorrow after work!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: "Cryptic" Error message received on page load?
September 25, 2011, 03:49:43 pm
Stuff in the 'packages' directory - e.g. /public_html/sites/all/modules/civicrm/packages

is external packages being used by CiviCRM
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Cryptic" Error message received on page load?
September 25, 2011, 06:21:08 pm

This might also be related to the PCRE library linked with your php version. Your host might need to upgrade that library also

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
September 26, 2011, 09:19:33 am
Hey! It looks like that did the trick! :) Thanks a million Eileen! Forever grateful! :)

@Donald: Didn't even get to check out the library you mentioned, but thanks a lot in any case! Who knows, maybe I'll need it soon!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: "Cryptic" Error message received on page load?
September 26, 2011, 12:38:30 pm
Lobo - should we log a ticket to fix this in 4.1? I think his PHP version got ahead of our IDS version
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Cryptic" Error message received on page load?
September 26, 2011, 03:16:40 pm

sure, go ahead and file the ticket. we'll upgrade to the more recent version in 4.1

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: "Cryptic" Error message received on page load?
September 26, 2011, 03:51:40 pm
OK

http://issues.civicrm.org/jira/browse/CRM-8935
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
September 28, 2011, 07:23:03 am
Oh no, it's back!  :o

Could it be that the PCRE is the right clue after all? I know my host updated from v.8.12 to v.8.13 recently, could that be it?

Appreciate any thoughts around this, at least thoughts that show on the forum  ::)

Is there anything I can do to fix that problem? Does CiviCRM handle v.8.13?

Thanks in advance!

Edit: It looks to pop up in IE9 only? Could it be an IE-issue?
Edit: Nope, now it's in Firefox as well... :(
« Last Edit: September 29, 2011, 07:48:08 am by Vandalf »

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
October 03, 2011, 02:07:54 am
@Donald: Could this be causing the problem: https://bugs.archlinux.org/task/25637?

It seems like the problem is there still, even if I thought it had gone, and I just cannot figure it out.

Btw, is there something special that needs to be done to upgrade a package (IDS in particular)? I uploaded the new package to the /sites/all/modules/civicrm/packages/IDS/ folder, but it seems that I'm still running the old version for some reason? This probably is a very easy to solve question, that I most likely should know already, so sorry if I'm asking the obvious, and please please please help me anyway! :)

Thanks in advance!

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
October 03, 2011, 03:11:17 am
Ok, my webhost seems to have solved the problem by downgrading pcre to v.8.12.

It thus seems to me that CiviCRM does not fully support 8.13, or that there is an error with pcre 8.13 (you never know, do you? :) ).

My webhost also says that this situation seems similar: https://github.com/nette/nette/issues/343, but we are not sure if this is the exact same problem, it just seems similar. I.e. there could be an error with pcre 8.13 itself, as mentioned... However, this should be thoroughly checked by our excellent CiviCRM experts (I would've done this myself if I was at all capable, but I'm afraid I unfortunately have no skills in this direction whatsoever..  :-[ ) At least, whether or not this is a problem with pcre 8.13, I think it should be made sure that CiviCRM will work with the next release of pcre. Agreed?

I really hope someone who's got the right to post issues to the issuetracker could forward this post to the correct persons!

Thanks in advance, and thanks for all the blood, sweat and tears that's already been put into the making of CiviCRM! :)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "Cryptic" Error message received on page load?
October 03, 2011, 06:44:56 am

Would be great if you follow this up here: https://phpids.org/

since that is the package that is not compatible. It is also an open source package, so bug reports / feedback on their site would be a lot appreciated by them, i suspect :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
October 03, 2011, 08:19:34 am
Ok, I've posted a bug report on phpids.org, but it has to be "approved by an administrator", so I'll have to wait to post the link here. Will do when I get it.
Hopefully those guys will be able to fix the problem :)

Vandalf

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 0
Re: "Cryptic" Error message received on page load?
October 09, 2011, 11:45:37 am
Finally, as promised, the link to the bug at phpids.org:
http://forum.itratos.de/showthread.php?36491-Error-message-after-upgrade-to-8.13
No response there yet, but I'll keep my fingers crossed that someone brilliant figure this one out!  :)

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • "Cryptic" Error message received on page load?

This forum was archived on 2017-11-26.