initialization of tiki_integrator_rules doesnt work
- Status
- Closed
- Subject
- initialization of tiki_integrator_rules doesnt work
- Version
- 2.x
- Category
- Error
- Feature
- Database MySQL (MyISAM)
Database independence (Non-Mysql, ADOdb Postgres, Oracle, etc)
Integrator - Resolution status
- Out of Date
- Submitted by
- snarlydwarf
- Lastmod by
- Kissaki
- Rating
- Description
Default values in tiki-integrator don't work:
{CODE}
INSERT INTO tiki_integrator_rules VALUES ('1','1','1','.*<body^>*?>(.*?)</body.*','\1','y','n','i','y','Extract code between <body> and </body> tags');
{CODE}The 'i' for regex options should be 'ism' to not only ignore case, but process multiline and let '.' match newlines. As is, it only works if the original page is all on one line.
Likewise the "\1" needs an extra \, and should be '\\1'. mysql is eating the first one and thinking that it is just unmagicking the '1', which didn't need it.
I would fix this, but editing the .sql files scares me. 😊
- Solution
Please upgrade to a recent version of tiki.
If the problem persists, please add a new tracker item.- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1729
- Created
- Thursday 24 April, 2008 23:02:05 UTC
by Unknown - LastModif
- Saturday 08 August, 2009 19:58:54 UTC