Lestrade's
Lestrade's Lounge => The Fatal Problem => Topic started by: nhex on December 22nd, 2017, 11:50 PM
-
Not sure why it's not working, but I click "Send Offer" and it looks like it sends but it doesn't...
-
I'm not seeing any issues on my side, and given that there have been no other complaints about it today (forgot to check out the forum, as I was busy working on more 'dlc to episode' conversions, I HATE THE STEAM DATABASE!!! Now 7500 movies & show episodes in it!), I suspect it was a problem on your side...?
Can you try again?
-
Yeah, same problem... anything I can look at or check to help debug this?
-
Well I don't know, when I click "Send Offer" I get redirected to the final offer, with 'edit' and 'cancel' buttons on it.
What happens when you click it? Does it load a new page? What does it have? The offer creation page or the final offer page?
-
I click Send Offer, the offer "disappears" in the page for a second, then it reappears
-
Oh... So you mean it behaves like when you click 'Preview'...? @_@
PS: anyone else care to chip in..? I really, really don't want to tweak my code to remove my admin rights on that page.. Yes, I'll do it eventually, but... I still think it's a problem that would be reported by more than one person if it was the same for everyone.
-
I did just send a test offer to nhex, worked fine
-
OK, so I'm not going crazy, thanks... ;)
@nhex, you'll need to provide more details then! Maybe it's a specific browser/OS issue..?
-
Ah ok. I'm on Mac OS.
It worked in Chrome! But it still is broken in Firefox and Safari. I can live with that though. TY.
-
Tried Firefox on my Win7, and it worked just the same...
Why would Firefox be broken on Mac?
Safari, I can understand, it's a shit™ browser, but Firefox..?
-
🤷♂
-
I would still need help here. I don't know, do you get any errors in your console when offering?
-
How would I access that in Firefox? I don't see any messages normally.
-
Right click, Inspect Element, then there's a 'Console' tab to click. Make sure to keep the log (by default, IIRC, it empties the log when you move on to another page, e.g. by clicking on a button.)
-
XML Parsing Error: not well-formed
Location: https://lestrades.com/offer/?u=485
Line Number 9, Column 97:
offer:9:97
XML Parsing Error: not well-formed
Location: https://lestrades.com/offer/?u=485;g=93955,332172
Line Number 9, Column 97:
Repeats those two lines over and over again when I load or click a button
-
Thanks, can you try again..? I've added an explicit header to turn the Ajax result into plain text, while jQuery for some reason insisted that I was returning XML, even despite my override. Because Firefox has a different parser, it sent you those errors when parsing HTML5 instead of "good old" XHTML.
*Perhaps* that's the reason your request to send offer would fail, but honestly I doubt so... At least, well, at least you won't get these errors now.
-
Lol, the irony is that I can no longer send offers from my smartphone now. Dunno if it's due to the explicit header thing, I'll look into it when I'm back on my pc.
-
Same problem...
-
I'm sorry for not being there to fix that earlier... I was just busy with the New Year stuff. (Happy New Year, BTW!)
So, offer sending should now be fixed on all browsers. The issue was quite 'funny', in that setting the content to a plain text type changed the object Ajax sent back to my script-- from an actual object to a simple string. So I was trying to show 'doc.responseText', when actually the end result was just in 'doc' itself.
I've also fixed the search engine on desktop browsers, and made it 'usable' on mobile browsers-- unfortunately you'll have to select an app type FIRST, and then type your desired search string, instead of being able to switch between types as on a desktop browser. There's an alternative, but it ends up hiding the top of the search results box (only a few pixels but I hate this kind of bug), and I'm unable to figure out why there's a problem with the z-index precedence. (Seriously, it's pretty complicated..)
-
There's an alternative, but it ends up hiding the top of the search results box (only a few pixels but I hate this kind of bug),
BTW, I decided to go with that solution-- the few pixels didn't make any noticeable difference in a mobile context, and it's really more comfortable to use.
-
Still no dice on Firefox/Mac.
-
Uh really?!
But I've fixed it everywhere else... :(
Can you try this? Select games, click preview, then refresh the page and try to send offer.
-
didn't work. :( I don't know what else you can really do. Thanks for trying though
-
Please this isn't helping.. at what point in the indicated process did it not work as expected..? Refreshing the page should be loading the items requested, as the url is being updated with them...