Re: Vanishing dollar signs! - solved

Tanc <[email protected]>
Newsgroups gmane.comp.cms.xaraya.user
Message-ID <[email protected]>
I just had a look at the database and noticed that the dollar signs  
are definitely still there, so it must be something to do with the  
way the data is being displayed. So then I checked out the site using  
the Xaraya_classic template rather than my own and it starting  
displaying the dollar signs fine! So it must be my bloody template...

Aha! I found the culprit, its the sIFR I was using to replace a  
heading on one of the pages that was mangling it all up. Removing  
that from the default.xt and placing it on its own unique page  
template made sure it wasn't interfering with the majority of the  
site and could do its job on the page needed. Now my dollar signs are  
back! Happy days :)

Jason, thanks so much for helping me to narrow this down and isolate  
the problem. I really appreciate it.

Tanc


On 29/10/2006, at 11:37 PM, Jason wrote:

>
> Okay, running out of straws now.
>
> How about something like this:
>
> http://pear.php.net/bugs/bug.php?id=50
>
> All input variables (GET and POST) go through a filter, albeit not  
> PEAR, and
> there could be something happening in that area. Also there may be  
> another
> clue here:
>
> http://www.usebb.net/community/topic-744.html
>
> When the data you input is stored in the database, is it stored  
> differntly
> in the work and non-working databases? i.e. is this a problem with
> information being mangled on the way into the database, or on the  
> way out?
>
> Do you have any hooks turned on for the articles module? e.g. the html
> module hooks, or autolinks? Ultimately, I think we need to follow a  
> piece of
> data from an input form into the database and back out again, to  
> see where
> it gets munched. That should be fairly easy (with our help) using the
> divide-in-half method. The first step is looking in the database to  
> see
> whether the $n is disappearing on its way to being stored, or on  
> its way out
> of the database to be displayed.
>
> -- 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.