Someone’s having trouble registering.

Started by Stupot, Tue 31/07/2018 14:54:17

Previous topic - Next topic

Stupot

Someone on the Facebook group is trying to register on the forums but is having an issue:

“Hi! I have problems On Signing Up On the Forums, It seems I have the Right Answer on Registration Quiz but It always give me an Error Message saying I have one wrong Answer even though my answer is correct. Can you please help me? I wanna join the AGS Community Forum because I have lots of questions when It comes to Scripting and Such.”

Any idea what could be the problem? Other than maybe he is getting one of the Qs wrong

Cassiebsg

That would be my guess too.
Otherwise there's something broken with the registration.

Guess you could go thru the answers with said person and verify that he indeed has the right answers to all questions? ;)
There are those who believe that life here began out there...

AGA

I had this same problem a few months ago, and the guy was insistent he had all the questions correct.  He didn't...  All I can suggest is someone guides him through the process if he's really that stuck.

Chicky

Hey, recently we've had a few people come to the discord saying they're having issues with registration on the forums, most mentioning an error when singing up.

QuoteHi, I'm having trouble registering for the AGS forum.
I answer the questions  ok, but when try and register I just get a message saying "An error has occurred"

Is this a known issue? We've had 4 or 5 reports and that's just the folk who thought to follow it up on Discord.

Stupot

#4
More people are having trouble.

I tried the quiz and it was fine, so anyone getting errors at that point is clearly entering the wrong answers. However, some people do get past the quiz but the registration form fails. I tried this myself and it's true. I could[n't] make a new account. My guess is that it's a bug in either the captcha or human checker below it.

Snarky

Assuming Stupot means he couldn't make a new account, I second that: I get past the quiz (which, BTW, is slightly outdated on a couple of points) and to the point where I can register, but once you actually try to sign up it gives an error. I also see from the membership records that we haven't had anyone sign up for the last week (there's usually one every other day), so it definitely appears to be broken.

AGA

I'm working on it.  Unfortunately the forums have been going for so long, and been upgraded so many times, things are a bit of a mess.  I'm trying to clean things up, but it might take a few days!

AGA

Okay, so I've made quite a lot of changes to the forums in the background, to fix the registration, plus various issues people probably never even noticed.  Please do let me know of anything that's missing, or weird looking, though.

Crimson Wizard

test?


Oh, okay, I can finally post something.


The "Bug and suggestion tracker" link is missing by the way, is that intentional?

Khris

When I post code, I have to include =ags again, and the linebreaks are discarded.

morganw

People have asked me to post this, since they are having trouble posting anything (the message body was NOT empty):

Crimson Wizard

#11
I had this ^ at first, but now I can post. There are some glitches still which are not easy to describe.
Like recently I posted a link directly in the message, then decided to replace it with another. When I edited my post the text was correct, but hovering over the link in the post displayed previous address... It refused to link correctly until I manually did [ url = xxx ] text [ / url ]

Cassiebsg

Just testing to see if I can post

Edit: Seems to work just fine for me... trying edit to make sure that works too.
There are those who believe that life here began out there...

morganw

One of people who cannot post, also cannot login without getting this:



They can refresh the page and get logged in (after seeing this message), but the message appears on every login.

Khris

The very first thing people should do is clear the entire cache for adventuregamestudio.co.uk
This should solve some of the issues.

Snarky

Quote from: morganw on Tue 11/12/2018 14:46:36
One of people who cannot post, also cannot login without getting this:



They can refresh the page and get logged in (after seeing this message), but the message appears on every login.

I've been getting this page every time I log in for months, if not years.
Ooh, quoting a post with an image, the picture now appears in the editor (along with some HTML linebreak tags)! Wonder if it will post correctly?

morganw

I manually added the line breaks, just to clarify where those came from.

Sinitrena

I also get the "The message body has been left empty" message (on Firefox (63.0.3), posting with Internet Explorer now) and the bold, italic, URL and so on stuff is missing for me on both Firefox and Internet Explorer. I only have the smilies.

Snarky

There also seems to be a serious influx of spammers, so presumably registration has eased up...

AGA

Unfortunately the WYSYWIG editor built in to SMF is quite unreliable.  I reenabled it because of a bug that was stopping smileys from working in the alternative we used to use.  However, at this rate it looks like having no clickable smileys is preferable to so many other things not working.
Sinitrena at least, the level of WYSYWIGness you get is a setting in your user profile.  There you can choose whether to display smileys, text options, etc etc.  Try changing that setting, see if it helps?
Also the spam is caused by my removing a plugin that was previously used explicitly to prevent spam.  I thought it might have been causing the registration issue, so was going to try running without it for a while.  Will have to renable it!

Click'd

How does this even work? Spammers found this site who knows how long ago, and kept trying despite it not working? So that once it DID work they got through?  :shocked:

Crimson Wizard

Very often when I try to quote a post, a big orange "Loading..." message appears on top of the page, and it remains like that indefinitely. This happened before on some occasions, but now it happens almost all the time.

Khris

Quote from: Too much clicking on Tue 11/12/2018 23:53:26
How does this even work? Spammers found this site who knows how long ago, and kept trying despite it not working? So that once it DID work they got through?  :shocked:
It's not a person, it's bots.

CW: you should be getting error messages in the browser console. Troubleshooting issues like that is usually straightforward, if you know the error message.

cat

Test

Edit: Wow, I tried Firefox from home, from the phone and from work, Chrome from work and now IE from work. The only browser where I was able to post was IE11 8-0 ??? :-X

Crimson Wizard

Right, so the error I am getting when trying to quote someone:


Code: ags


editor.js?fin20:625 Uncaught TypeError: Cannot read property 'pasteHTML' of null
    at smc_Editor.insertText (editor.js?fin20:625)
    at QuickReply.onQuoteReceived (topic.js:170)
    at XMLHttpRequest.oMyDoc.onreadystatechange (script.js?fin20:88)

Gilbert

Quote from: cat on Wed 12/12/2018 10:03:56
IE11
I never tried other browsers, but the forums still work with the latest version of Opera that is still using the Presto engine (the move to using Chrome's engine made me stop updating it), maybe for some reasons the current forum software favours more towards outdated old classic browsers?

AGA

SMF has built in hacks for Opera, among other browsers. It's very old software, from the days before web compatibility was as (relatively) standardised as it is today. And unfortunately it's the best solution for our requirements, so not easily replaced.


I'll try changing the input method used tonight.

Sinitrena

Quote from: AGA on Tue 11/12/2018 21:17:25
Sinitrena at least, the level of WYSYWIGness you get is a setting in your user profile.  There you can choose whether to display smileys, text options, etc etc.  Try changing that setting, see if it helps?

Thanks for the tip, but unfortunately, it doesn't. I tried several settings but at most I managed to turn off smilys as well. That's my current Setting:



Those are the relevant options, aren't they? And that should show all buttons? (Just to make sure I didn't miss an option.)

That's what the Quick Reply at the bottom of the page Looks like:


And that's the one when I use the Reply button:


AGA

What about now?  I switched you to use the other display theme (AGS Compact).  I'm wondering if that could be related somehow, since I use AGS Compact and have no problems with the post editor...

Sinitrena

They are back! They look different then what I'm used to but who cares about that?  :-* Thank you.

Edit: And I was able to post this with Firefox. No idea if this is due to the same change or something else you did, but I can use my prefered Browser again!

cat

#30
It worked! I set my theme to AGS Compact as well and I can post with Firefox.

AGA

Okay, I give up.  I've compared every file in the AGS and AGSCompact themes, and they're identical except for a few lines of CSS.  I've tried replacing the whole AGS theme folder with a copy of the AGSCompact folder (so zero differences), but the editor issue still appears.  As a workaround I've reset everyone's theme to AGSCompact, so at least no one will experience this anymore...
If someone wants to try to debug the issue, I'm happy to give them access to the AGS theme again.  If you have the AGS theme set, there is a JS error in the console, which then disappears if you change theme to AGSCompact (even when the files are identical...).

Stupot

#32
test


Okay. I'm in. I couldn't post yesterday.


I'm liking the new style buttons. They're pretty buggy at the moment but once it's all ironed out it'll make it must quicker to do from my phone rather than keep farting about with square brackets.


Cheers AGA

tzachs

I'm getting the same "Cannot read property 'pasteHTML' of null" when clicking on the "quote" button from chrome.
I debugged it a little bit. getRange in forums/themes/default/scripts/editor.js (line 916) returns null.
getRange calls getSelect, and the oSelection object is returned empty (i.e rangeCount == 0) which is why it returns null.
In getSelect itself both bWantText and bWantHTMLText are undefined, so it goes to line 898 ("this.oFrameWindow.getSelection") which returns the empty selection.

At this point, I thought, I didn't select any text, I just clicked the quote button, why should it call getSelection at all?
Unless maybe there's another piece of code that is supposed to select the text before calling this and the problem is that it didn't?

So I tried again, only this time I selected some text before clicking the quote button, but it didn't seem to help, getSelection still returns an empty selection.
I also tried this.oFrameDocument.getSelection (instead of oFrameWindow) but it also returns an empty selection even when text is selected, so not sure what to think.

Crimson Wizard

AGA, could you please tell what happened to the issue tracker? will it be back, and if not is there any way to access its data?

Khris

#35
Quote from: Khris on Tue 11/12/2018 16:32:34
The very first thing people should do is clear the entire cache for adventuregamestudio.co.uk
This should solve some of the issues.
Quoting works fine for me.

Edit: sorry, no, it doesn't on Chrome.

Edit2: Here's a tampermonkey script that will fix the quote button.(not the "insert quote" button on the reply page though)

AGA

I'm happy to apply it on the server, if you can give me a patched version of the relevant js file.

SMF spam blocked by CleanTalk