11
underdog
Re: SmartSection and UTF-8, category name
  • 2010/6/5 15:07

  • underdog

  • Just popping in

  • Posts: 44

  • Since: 2007/6/21


Ghia,
Can you tell a bit more about what exactly changed in handling data from the database?
Same goes for inserting data in the database, did something change there too?
What is the code window problem?
Is it the code block?

12
ghia
Re: SmartSection and UTF-8, category name
  • 2010/6/5 23:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is about this bug, where some changes are done for and from what I understand are rolled back in the next versions.
Demo:
$replacedUri preg_replace("//modules/".$xoopsModule->getVar('dirname')."/(.*)$/i""$1"$xoopsRequestUri);

Quote:
$replacedUri = preg_replace("/\/modules\/".$xoopsModule->getVar('dirname')."\/(.*)$/i", "$1", $xoopsRequestUri);
Note that the difference / error is in the code window.

Affected files are module.textsanitizer.php and syntaxhighlight.php
You may try by replacing them with the ones from a previous or the next version.


(PS Do I know you from NL and Tungstens?)

13
chefry
Re: SmartSection and UTF-8, category name
  • 2010/6/6 6:09

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


2.4.3 or further back than that?

14
chefry
Re: SmartSection and UTF-8, category name
  • 2010/6/6 12:38

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I just tried it.

The 2 files from 2.4.0 fix the problem

I hope they don't cause other problems though

Login

Who's Online

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


Members: 0


Guests: 326


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