1
zoullou
Bug in errorhandler.php
  • 2004/6/3 9:19

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hello,

I have this message error when enable the PHP debug mode :
WarningCompilation failedPCRE does not support LlNPpUu, or X at offset 4 in C:Program FilesEasyPHP1-7wwwclasserrorhandler.php on line 196


That is due to the windows path. In windows path, they are \ and produce this error. Contrary, with unix path they aren't this error because they are /.

Thanks for your help

2
zoullou
Re: Bug in errorhandler.php
  • 2004/6/3 9:48

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


I found a code to resolve this bug. Replace the line 196 in errorhandler.php by :

'errfile' => preg_replace("|^" str_replace("\""\\"XOOPS_ROOT_PATH) . "/|"''$errFile),


I think this code is good with unix path but i'm not sure.

Login

Who's Online

329 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 329


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits