Re: Vanishing dollar signs!
Tanc <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Message-ID | <[email protected]> |
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 On 29/10/2006, at 6:38 PM, Marcel van der Boom wrote: > Tanc wrote: >> Hi Jason, >> >> I tried your suggested symbol combinations: >> $ >> $$ >> $foo >> 0.50 >> $! >> >> Each produced the expected result, nothing was removed or altered. >> Its >> only when I write a dollar sign followed immediately by a number >> that it >> vanishes. So writing $5 on the form results in it being completely >> removed. Writing $f has no effect and it appears on the page fine. >> > I can not reproduce this locally, (see > http://debug.hsdev.com/index.php? > module=articles&func=display&ptid=1&aid=1 > ) > but it sounds like the $ is interpreted somehow as a variable in > content (which should not happen by defaul, but may be possible in > certain configurations if you instruct Xaraya to explicitly do so; > through a transform hook for example) > > The only difference between $5 and $f from a php point of view would > be that $5 is always invalid while $f 'may' be valid. Are you > suppressing errors, i.e. try to set errorlevel to the maximum and see > if you get stuff back. > > Weird problem though, never seen it before. > > marcel