Re: Vanishing dollar signs!

Tanc <[email protected]>
Newsgroups gmane.comp.cms.xaraya.user
Message-ID <[email protected]>
Jason,

I did a comparison as you suggested searching for longtext and blob  
types but the tables from the working and non-working databases match  
fine up so that doesn't seem to be the issue.

I've stripped all modules other than articles, search and categories  
(and the core modules) from the non-working database site but the  
problem still occurs.

I also tested another module, the sitecontact module, to see whether  
the vanishing dollar sign problem occurred and it did, so its not  
specific to the articles module. It seems to effect all textareas and  
it even happens in other input boxes.

Is there any thing else I can check to do with the database? The  
MySQL version I'm using is 5.0.18 with a UTF-8 character set. PHP  
versions I've tested are 4.4.2 as mod_php on apache and versions  
5.1.2 and 5.1.5 both as fastcgi on apache. All have the same  
problematic result.

Tanc


On 29/10/2006, at 9:15 PM, Jason wrote:

>
> "Tanc" <[email protected]> wrote in message
> news:mailman.77.1162124267.17193.xaraya_user-gn8pmO+6nsymdvSpIQae8A@public.gmane.org
>> I've installed a fresh version of Xaraya on DreamHost and it  
>> doesn't  have
>> this problem at all. I installed TinyMCE and tested, but again,  no
>> problem.
>>
>> I then used the database from problematic site on the fresh  
>> install  and
>> the dollar sign problem showed up again. Its really weird.
>>
>>> are you suppressing errors, i.e. try to set errorlevel to the   
>>> maximum
>>> and see if you get stuff back.
>>
>> As far as I know the error level reporting is set to the default   
>> E_ALL
>> but I don't have much control over PHP on DreamHost. As long as  the
>> setting in config.system.php overrides the php.ini settings it   
>> should be
>> at E_ALL.
>>
>> Tanc
>
> Tanc,
>
> Could you compare the datatypes of the columns that the data gets  
> inserted
> into, on the two databases (the working and the non-working one). Try
> exporting the two table definitions using phpMyAdmin or similar,  
> and compare
> them. It could be that one database is using a long text datatype
> (LONGTEXT), and the other a binary object (BLOB). The two need very
> different escape sequences to insert the same data, but at the  
> moment Xaraya
> only does not take this into account, using just one string  
> escaping method.
>
> I'm assuming you are using MySQL, and that the problem lies with the
> database (you mentioned the working PHP scripts, pointing at the  
> non-working
> database, exhibits the same problem).
>
> -- JJ
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.