Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (daudvegas, Dunny, Pilgrim), 41 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/09/07
Posts: 193
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
capnbob 7
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#128874 - 05/12/06 01:21 PM Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
OK, I am new to the board and to the Admin/server side of the software. Recently I took on learning how to run the site that I was a moderator at. For the longest time our users that use firfox and a few other browsers other than IE all receive the same error message while trying to editing there profile. Error saying all fields not entered in proper format. Many people prefer using firfox over IE and I hate telling them in order to update your profile you need to do it in IE. I have search this forum and found many with the same issue. I have emailed them asking how they fixed it and they say, I don't remember. All of the post here end up saying its fixed, with no details on how it was done. Recently I downloaded the beta of IE 7 to see if it would have the same effects as the errors received when using firefox, and sure enough it did. Not only did I get the error were I can not edit my profile, but when I toggle a topic as a favorite, it says it's added when it brings me to my home page. When I leave my home page and come back that topic is no longer in my favorite topic list anymore. If someone could point me in the right direction I would greatly appreciate it. Like I said I am new to this all, I am learning from the person who has been running the site for a couple of years, and we can not seem to figure out what the problem is. I know it has been a problem for a while by looking at the dates of some of the post with similar problems. Is this something that was addressed with version 7 coming out?

Thank you in advance for any advice/help,
Eddie
Top
#128875 - 05/12/06 01:44 PM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Yes, I had similar error with my firefox. I was making up a name for anonymous user when I tried to submit it I got an error saying that I had disallowed characters, and I shoud use [a-z][0-9] But this is exactly what I had. So after several tries I cleared the field and retyped exactly the same name and it went through. Weird. Also it says use _ instead of space, I put space and it went trough, I wonder if this is a bug?
Top
#128876 - 05/12/06 01:49 PM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
I think on one of the last updates, alt letters and spaces were no longer supported or they could be turned off in user names. I don't remember exactly. I know I was told something along those lines.
Top
#128877 - 05/12/06 01:53 PM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
I use 6.5.2
Top
#128878 - 05/13/06 10:30 PM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
Nobody know
Top
#128879 - 05/13/06 11:16 PM Re: Browser errors?
AllenAyres Offline
Registered: 12/29/03
Posts: 1995
Loc: Texas
what version are you running?
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#128880 - 05/13/06 11:19 PM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
We just upgraded today to 6.5.4 we were running 6.5.2 when I made this post. But still have the problem
Top
#128881 - 05/14/06 09:35 AM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
What browsers are they?
Top
#128882 - 05/14/06 11:04 AM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
firefox, IE 7 and I believe one more that I will have to try and find.
Top
#128883 - 05/14/06 11:34 AM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
which of them work and which don't?
Top
#128884 - 05/14/06 11:36 AM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
both dont work. More so firefox as IE 7 is a beta and can't be trusted 100% yet
Top
#128885 - 05/14/06 11:51 AM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
What's the address, let me try.
Top
#128886 - 05/14/06 11:54 AM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
It only happens when trying to edit your profile. You would have to join
Top
#128887 - 05/14/06 02:02 PM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Two things.

1. If you click back on the broweser after the error and then submit again it goes through.

2. I dont know if this is relevant but it looks like your server's default Content-type is

text/html; charset=UTF-8

Mine and the one over here is

text/html

Also your pages are all configured for

text/html; charset=iso-8859-1

but if you go to the index page, your server actually overrides it with UTF-8. I wonder if this happens when you submit the form. Basically the form has 'profilehash' hidden field it gets verified against the one in the database and if they do not match you get bad form error. But there is no reason for them to not match other than if the form gets mangled on the way to the script, or the scripts were tempered with Different browsers could send the data differently, so the old IE (shit) could have ignored some standards but new IE7 may well follow them (natural evolution) hence the same problem. Well, it could all be wrong, what I just said...
Top
#128888 - 05/14/06 02:52 PM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
well, didn't do anything to me adding UTF-8. Anyway you can try removing it and see if it helps

in .htaccess file add this directive

AddDefaultCharset Off

also examine this file for some other interesting directives that may interfere
Top
#128889 - 05/15/06 02:21 AM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
Thank yo for your input, will look into what you suggesteted to see if anything is found.
Top
#128890 - 05/17/06 04:59 AM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
Thank you for the idea's. We went in and check it and apache and all is set up right. Anyone else have an idea, or remember how this was solved before. Thank you again for your help and ideas!!
Top
#128891 - 05/17/06 05:40 AM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Ok its time to get nasty

Edit changebasic.php temporary.

Add this:

echo $profilehash.'<br />';
echo $user['U_ProfileHash'].'<br />';
echo ($profilehash == $user['U_ProfileHash']);
exit;

right before

if ($profilehash != $user['U_ProfileHash']) {
$html -> not_right($ubbt_lang['PHASH'],$Cat);
}


Go and submit the form you will get blank page with the form value of the 'profilehash' above the database value. They have to be 100% identical!

something like this:

ca54e68ea0b4016b19c5ef35389a6499
ca54e68ea0b4016b19c5ef35389a6499
true

don't forget to remove the insert after you're done


Edited by fatalpapercut (05/17/06 05:45 AM)
Top
#128892 - 05/17/06 02:14 PM Re: Browser errors?
Tracy Friesen Offline
newbie
Registered: 04/27/06
Posts: 44
Pardon me for butting in on the thread, but...

What if the profilehash values match? Then what? I'm having the same issue with a user using IE 7 beta, and I don't know how to help him.

Tracy
Top
#128893 - 05/17/06 04:54 PM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Basically this bit of code in 'changebasic.php':

if ($profilehash != $user['U_ProfileHash']) {
$html -> not_right($ubbt_lang['PHASH'],$Cat);
}

sends people to the 'Bad Form Blah Blah Blah' screen. It could only happen if for some reason the value of the variable 'profilehash' passed from the form ($profilehash) is not equal (!=) to the value of profile hash in the database ($user['U_ProfileHash'])

edit changebasic.php as per above and see if you get 'true'. If you get 'false' that's where the problem is (use IE7 of course)


Edited by fatalpapercut (05/17/06 04:59 PM)
Top
#128894 - 05/17/06 05:47 PM Re: Browser errors?
gliderdad79 Offline
stranger
Registered: 05/12/06
Posts: 19
Loc: NY
Ok, what you said would happen did. In firefox the hash comes back with 2 different codes and in IE 6 it does not, What would be your thoughts on what we would need to change in order to correct it. As always thank you for your help and sticking with me on this
Top
#128895 - 05/17/06 06:31 PM Re: Browser errors?
fatalpapercut Offline
member
Registered: 04/19/06
Posts: 116
Are they very different?

Ok before submitting the form write down (or copy/paste to notepad) the value of the form's profilehash value (for this you would need to view the page source)

Then without leaving the form go and check the value of the profile hash in the database. It should be in the Users table, I think it is the last column, you'll see it anyway. Make a note of it and see if it matches the form's profilehash value. Then submit the form (and make a note of the values that script receives (you will need to add the modification again)

Post it here and we'll see what is going on. You can post it here safely I think because the hash changes everytime you load the form.
Top
Page 1 of 3 1 2 3 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Island Permissions
by ThreadsUser
Yesterday at 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Running ads
by Jeffdag
05/17/12 01:47 PM
Forum Stats
10484 Members
36 Forums
33834 Topics
181678 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image