Closed GoogleCodeExporter closed 8 years ago
Do you use <![CDATA[ ]]> tags ?
Original comment by DJG6...@gmail.com
on 6 Sep 2012 at 1:11
Yes, of course... Code looks like this:
<operation>
<search position="after"><![CDATA[$_['text_account'] = 'Личный Кабинет';]]></search>
<add><![CDATA[$_['text_login'] = 'Вход';]]></add>
</operation>
Original comment by mikka...@gmail.com
on 6 Sep 2012 at 1:54
Have you got the character encoding at the top of your xml file?
<?xml version="1.0" encoding="UTF-8"?>
Original comment by DJG6...@gmail.com
on 6 Sep 2012 at 2:22
Nope, before i haven't, but i tried to put it in... Same result...
Original comment by mikka...@gmail.com
on 6 Sep 2012 at 3:44
I tried it with the text you have above. There was no error and the file loaded
fine. Remove those lines - does the error still occur?
Original comment by DJG6...@gmail.com
on 6 Sep 2012 at 3:50
Original comment by DJG6...@gmail.com
on 6 Sep 2012 at 4:06
Yep, that thing above is working, but i also tested the other one and for:
<search position="after"><![CDATA[Работает на]]></search>
there is no problem and everything working good, but if i'll do search like this
<search position="after"><![CDATA[$_['text_powered'] = 'Работает на]]></search>
it's giving
SEARCH NOT FOUND (ABORTING MOD): $_['text_powered']=
'Работает на
:\
Original comment by mikka...@gmail.com
on 6 Sep 2012 at 5:15
Interesting. OK, Open your /vqmod/vqmod.php file, find
strpos
and change it to
mb_strpos
Does that fix it?
Original comment by DJG6...@gmail.com
on 6 Sep 2012 at 7:33
Original issue reported on code.google.com by
mikka...@gmail.com
on 6 Sep 2012 at 1:03