Fucked Silly Set [Set idea]

A place to create new awesome set ideas along with the community!
Quarz
I made some cards!
I made some cards!
Keys: 0,03 
Posts: 28
Joined: 22 Aug 2015, 00:28
Gender: Male
Contact:

0131 wrote: That the login doesn't work saddens me, JavaScript enabled? Which browser do you use? Any chance to see if some error are thrown (-> via firebug for example).
Since I have the same problem:
Javascript is enabled, Firefox, and as far as I am doing that correctly the error you are searching for might be:
"TypeError: xmlDoc.getElementsByTagName(...)[0] is undefined
question.htm (Zeile 547, Spalte 5)"
0131
Site Admin
Keys: 1 061,84 
Posts: 1021
Joined: 06 Jun 2015, 18:12
Gender: Female
Type: Switch
Orientation: Bi
Contact:

Card Creator

Thats the first line where JavaScript tries to work with the xml file which should contain all the data.
Maybe its empty, can you confirm that? Is a xml file requested and can you view it via firebug?
If your login data is incorrect you will also get an error at that line.
༼ つ ◕_◕ ༽つ Can i has CTI pls
Simon
Created software for the community!
Created software for the community!
Keys: 0,02 
Posts: 117
Joined: 23 Nov 2015, 13:34
Location: Netherlands
Gender: Male
Type: Switch
Orientation: Bi
Contact:

Hello there,

Running into the same problem with the login, I took a quick read of your code and ended on the following:

Code: Select all

if ( xmlDoc.getElementsByTagName("User")[0].childNodes[0].nodeValue === "super" ) {
	super_user = true;
} else {
	super_user = false;
}
Here xmlDoc.getElementsByTagName("User") returns an empty array. Therefor calling .childNodes[0] on it's first items errors out, for it cannot read an undefined value.
Now I'm not at all experienced with XML, but to me it's pretty unclear where xmlDoc (and xmldata for that matter) are defined.
Also I could't find any elements tagged as 'User' in the document (by running document.getElementsByTagName("User"); in the console).

Hope this helps you in any way, shape or form.

~ Simon
Always watching.
Quarz
I made some cards!
I made some cards!
Keys: 0,03 
Posts: 28
Joined: 22 Aug 2015, 00:28
Gender: Male
Contact:

Someone more competent than me answered already it seems, but since I was at writing stuff either way might as well post that pile of info:
To not stretch the thread | +
So first I double checked and, except I am fucked silly at this point, the login info I input should be exactly the same as for the forum.
From here a few screenshots. IIRC you can speak german? In that case the german parts of the text are hopefully not a problem.
So first I thought to mention that this tab in the console exists and gives following warning:
-ATTACHMENT DELETED
Next at the point the program stops when just running it without breakpoints and gives the warnings, that one tab I hope to be related to the xml file looks like following:
3.png
3.png (121.13 KiB) Viewed 4848 times
4.png
4.png (143.52 KiB) Viewed 4848 times
Lastly setting a breakpoint here some infos about the state shortly before and right after the error occurs:
5.png
5.png (150.86 KiB) Viewed 4848 times
6.png
6.png (186.96 KiB) Viewed 4848 times
0131
Site Admin
Keys: 1 061,84 
Posts: 1021
Joined: 06 Jun 2015, 18:12
Gender: Female
Type: Switch
Orientation: Bi
Contact:

Card Creator

Quarz wrote:Someone more competent than me answered already it seems, but since I was at writing stuff either way might as well post that pile of info:
To not stretch the thread | +
So first I double checked and, except I am fucked silly at this point, the login info I input should be exactly the same as for the forum.
From here a few screenshots. IIRC you can speak german? In that case the german parts of the text are hopefully not a problem.
So first I thought to mention that this tab in the console exists and gives following warning:
-ATTACHMENT DELETED
Next at the point the program stops when just running it without breakpoints and gives the warnings, that one tab I hope to be related to the xml file looks like following:
3.png
4.png
Lastly setting a breakpoint here some infos about the state shortly before and right after the error occurs:
5.png
6.png
Thx that helped alot!
Your password was visible in one of the screenshots! I deleted that screen for you.
The image had no views, but maybe change your password if you wanna be sure.

I tested the login with your logindata and had the same issue, weird... i extra created a test account and it worked.

The PHP warning was the error which fucked up the entire xml file.
Its fixed and i was able to log into your account now @Quarz
༼ つ ◕_◕ ༽つ Can i has CTI pls
Quarz
I made some cards!
I made some cards!
Keys: 0,03 
Posts: 28
Joined: 22 Aug 2015, 00:28
Gender: Male
Contact:

Damn it, the one place I didn't check to make sure that link doesn't appear.
Either way, pw changed and it works from my side as well, so that seems to be taken care of.
0131
Site Admin
Keys: 1 061,84 
Posts: 1021
Joined: 06 Jun 2015, 18:12
Gender: Female
Type: Switch
Orientation: Bi
Contact:

Card Creator

Ok good :)

The "correct" value is missing for some of your first cards (my mistake sorry) could you check / edit your questions?
༼ つ ◕_◕ ༽つ Can i has CTI pls
0131
Site Admin
Keys: 1 061,84 
Posts: 1021
Joined: 06 Jun 2015, 18:12
Gender: Female
Type: Switch
Orientation: Bi
Contact:

Card Creator

Don't wonder if you get window with some weird text when submitting a question. I changed the entire system to ajax so you dont have to reload the page everytime.
I will change the text tomorrow... ;)
༼ つ ◕_◕ ༽つ Can i has CTI pls
Simon
Created software for the community!
Created software for the community!
Keys: 0,02 
Posts: 117
Joined: 23 Nov 2015, 13:34
Location: Netherlands
Gender: Male
Type: Switch
Orientation: Bi
Contact:

0131 wrote:Don't wonder if you get window with some weird text when submitting a question. I changed the entire system to ajax so you dont have to reload the page everytime.
I will change the text tomorrow... ;)
Ajax is always a blessing.
Always watching.
Rothaon
Created software for the community!
Created software for the community!
Keys: 130,25 
Posts: 422
Joined: 13 Mar 2016, 16:25
Location: Spain
Gender: Male
Type: Dominant
Orientation: Gay
Contact:

I'll try to add some questions :)

It doesn't let me use value input's though
Post Reply

Return to “Set Development”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests