STDERR question

Discussion in 'General' started by anewday, Apr 29, 2008.

  1. anewday

    anewday Moderator

    [] [STDERR] PHP Warning: preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: internal error: overran compiling workspace at offset 17795 in /home/johndoe/public_html/forum/sources/classes/class_session.php on line 187

    This appears on the error_log sometimes. What does it mean?
  2. sh0ck

    sh0ck New Member

    This error is usually because a variable is being used in a preg_* function. Usually placing the variable (denated with a $ in front of a word like $variable) inside of preg_quote() fixes this. For example $variable would become preg_quote($variable). Without seeing the code on that line though its hard to say for sure.

    EDIT: I should also note that improper information being fed to this variable could cause this as well and it may not be an actual bug per say.

    Timothy J. Biggs
    Senior Vice President / CIO

    3495 Haddonfield Rd. Suite 6
    Pennsauken, NJ 08109
    Toll Free: 1-877-8 HOSTING
    Tel: (856)662-9100, Fax: (856) 662-9101
    Last edited: Apr 29, 2008

Share This Page