Recent Topics

1 Nov 14, 2008 12:28    

My b2evolution Version: 2.x

Right, I've been having a problem where when I click on a tag in the tag cloud the URL is changed from & to & and breaks it (tested on firefox/Safari in OSX and windows and IE). the code actually puts it on the page as & and not & so it doesnt validate but thats by the by.

I tried a fix whereby I edited _params.funcs.php and changed the line 1274 from & to &, as this solved the issue on another site. However, I now recieve an error on line 161, whereby on my Mac it is changed. it doesnt know what it is so puts in all sorts of wierd and wonderful characters.

can anyone shed some light as to what it should be pleasE?

2 Nov 14, 2008 12:43

just fyi line 161:

Dreamweaver 8 on Mac OSx:

$GLOBALS[$var] = preg_replace( '�\r|\n�', '', $GLOBALS[$var] );


Other apps on Mac:

$GLOBALS[$var] = preg_replace( '§\r|\n§', '', $GLOBALS[$var] );


Copied to a windows machine and viewed as:

$GLOBALS[$var] = preg_replace( '¤\r|\n¤', '', $GLOBALS[$var] );

all 3 break the site.


Form is loading...