Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-09 20:52:23

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

txplib_misc.php bug?

Today I blogged just an average entry (with the title including an apostrophe ‘) and when I refrehsed my index page I got the following error:
Warning: eregi(): REG_BADRPT in /home/public_html/textpattern/lib/txplib_misc.php(455) : eval()’d code on line 508

I use 4.0.2 release and also tried the svn development version, nothing helped. You can see the error message when visting my weblog. By the way, it doesn’t occur all the time, hit reload a cople of times and you’ll see what I mean.
Any idea if that’s my fault or a serious bug in textpattern?

Stephan

(Marked thread as resolved. :) -Mary)


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#2 2005-11-09 21:06:22

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: txplib_misc.php bug?

This is caused by a plugin, that line of code ( txplib_misc.php(455) : eval()'d code ) always indicates a problem with a plugin.
Also eregi() is not even used anywhere in the Txp codebase. :)

(Usually the error-reporting should have some more info on which plugin is causing it, but on your site, for some reason that is not the case. Odd. If you find out which plugin and version it is, please send me a copy.)

You can get hide the errors on your live site, by turning production status to Live in preferences.

Offline

#3 2005-11-09 21:21:08

Henrik Pejer
Member
From: Sweden
Registered: 2005-10-13
Posts: 23

Re: txplib_misc.php bug?

The problem itself could be a special character that is not escaped i.e. a backslash is missing.

check this search out:
http://www.google.com/search?hl=en&q=site%3Aphp.net+REG_BADRPT&btnG=Google+Search

Happy TXP-ing!


.:8):.

Offline

#4 2005-11-09 21:46:05

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: txplib_misc.php bug?

Thanks for your quick help, I guess it’s all happening because of my hit tzracking plugin lxs_hittracker.
For now, I shall just hide the errors by going “live” with my site, thank you, sencer!


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

Board footer

Powered by FluxBB