UBB.Dev
Posted By: JoshPet Wierd Character in viewpoll - 07/27/2002 12:48 AM
OK -
My main board is running 6.0.1 and I've always had a wierd character when you view the poll results (sort of a Y with an accent).
HERE IS WHERE IT IS NOT WORKING.

I've setup a test of 6.0.2 on the same server, using a copy of the sam database, and it works fine. HERE IS WHERE IT IS WORKING.

So I figure it must be a problem between the 2 version with either viewpoll.php or the viewpoll.tmpl file. So I run them through Beyond Compare and they are not different. So I upload the 6.0.2 version of those files to my 6.0.1 board, and the problem still exists.

I guess it'll get fixed when I upgrade, but users keep asking me what the "y" means. Is this maybe coming from somewhere else?

Anyone see this before and/or know of a quick fix. I strive for perfection. LOL (yeah right)
Posted By: Lisa_P Re: Wierd Character in viewpoll - 07/27/2002 2:53 AM
Probably absolutely no help to solving it, but the character is a Latin Capital Letter Y with Acute. You can make it by typing ALT+0221. Ý The Unicode value is U+00DD.
Posted By: Aglavalin Re: Wierd Character in viewpoll - 07/28/2002 11:23 PM
I did not have this problem when I was running 6.0.1, so it would seem to be speckfic to your board. I just looked at your board and see the "ÝÝÝ" you mentioned. These characters are in the outputted html where there should be a blank line. I compaired your outputted html to what my board puts out. I would guess that somehow one of your ubbt files has gotten this "ÝÝÝ" inserted by mistake. Try doing a FIND for "ÝÝÝ" or just "Ý" for all the files in your ubbt directory and see where it is located. I doubt the "Ý" character is suposed to be in any of the files, so when you find it, you can compaire that file to the original file that came in the distribution. Perhaps you might need to FIND the alt+ character code, but I would think the "Ý" character is actually in a file somewhere because that is how it is being sent in the outputted html. Hope this helps
Posted By: JoshPet Re: Wierd Character in viewpoll - 07/28/2002 11:58 PM
Thanks Lisa, Thanks Aglavalin

I'll search the files. I had compared the templates...so it's got to be in one of the .php files.
Posted By: Lisa_P Re: Wierd Character in viewpoll - 07/29/2002 7:32 AM
Something else that I thought of, could that table in your database be corrupt?
Posted By: JoshPet Re: Wierd Character in viewpoll - 07/29/2002 6:21 PM
I had wondered that.
But the same poll in a copy of the database doesn't do it. Maybe the next upgrade will fix the problem. I can't seem to find that character in any of the logical files.
Posted By: Aglavalin Re: Wierd Character in viewpoll - 07/30/2002 9:28 PM
Did you check EVERY file in ubbt? I would just to find where it is at. If it does not show up, then it must be in the database.
Posted By: JoshPet Re: Wierd Character in viewpoll - 07/31/2002 5:09 AM
Thanks for the suggestions.

I didn't seem to find the Y` character in any file... but I had trouble duplicating it on my Mac.
It's odd that it doesn't do it with 6.0.2 (using a dump of my database)... so it's got to be in one of the files... I just probably can't search for it correctly on my mac.

Time will tell when I upgrade (waiting for 6.1).

Thanks for the suggestions though.
Posted By: Dave_L_dup1 Re: Wierd Character in viewpoll - 07/31/2002 5:40 AM
Another possibility is that a variable being printed has the wrong data in it. For example, a variable containing an integer is being printed as if it contained text.

If that's the case, you wouldn't find it by searching for text. You would need to locate the place in the code where the garbage is being printed, and do some debugging.
© UBB.Developers