Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-12-13 05:29:10
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
problem square in log text
In the last days my web-site logs is displaying some little squares, that make them difficult to read and understand.
Is there anyway to prevent this bad occurrance: http://www.google.com/search?hl=en&newwindow=1&q=wasp+nest-remotion&aq=f&oq=&aqi= )?
thanks
Last edited by Bongo-man (2009-12-13 05:36:07)
Offline
Re: problem square in log text
I mentioned this too. The same problem is seen almost by every user which Uses Opera – it doens’t know how to display shy char…
Opera 10.10
Last edited by the_ghost (2009-12-13 08:53:57)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#3 2009-12-13 18:18:24
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Re: problem square in log text
In my case this occurrs (only from some days and in 3 different web sites) with internet explorer 6.0 + O.S: Windows XP and service pack 3. I’m thinking this problem could be related to my server provider.
What do you think about it, what can I do to keep on getting more readable logs?
I’ve also tried to reload an antecedent file system but nothing has changed.
Offline
Re: problem square in log text
This is because og function soft_wrap()
in /lib/txplib_misc.php
$wbr = chr(226).chr(128).chr(139);
It’s a feature, not bug. The problem is that some old browsers (and Opera) don’t know how to display it.
The only way to disable this I see – editing sources.
Place return $text;
in the first line of function soft_wrap():
function soft_wrap($text, $width, $break='')
{
return $text;
...
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Pages: 1