Skip Navigation

It's probably a Mac/Safari thing, but...

Travel Forums System Talk It's probably a Mac/Safari thing, but...

Page
  • 1
  • 2

Last Post

1. Posted by Isadora (Travel Guru 13926 posts) 8y

Hey S&P!

I've had an interesting thing occur while adding some exceptionally informative pieces to the wiki today. (Okay, so they're not be stellar...) Anyway, I wrote one piece in the Illinois section, previewed it, made some corrections and clicked submit. All went well. Shortly thereafter, I added information to the Chicago section, previewed, corrected, previewed, corrected and finally submitted. After submitting, I got an error page. I hit my browser back button, hit submit again and oops - error page. I repeated the action one more time and error again. Looking at the history, I now have 2 (0) edits listed seconds apart. I did not hit the submit button accidentally as I got the "Preview This is only a preview. Your changes haven't been saved yet!" message at the top of the page after each correction I made. (I kept checking things over via preview.) I've just added more to the Chicago section and the same problem presented itself. I previewed, made corrections, previewed again and then hit submit. I got the error message page. Learning my lesson the first time (and copying my text just to be safe), I just clicked on "Chicago" at the top and my text had been added.

I know the way I wrote this makes no sense at all but it's the best I can do to explain it. I will go away now............

2. Posted by Isadora (Travel Guru 13926 posts) 8y

Okay - I just added a bit more to Chicago and when I hit submit, I got the following message:

Data submitted to this page is invalid.

If you followed a link to get to this page, you could report the error in our System Talk Forum and we'll try to fix it as soon as possible.

If you typed in the url yourself then check your browser's address bar to be sure it is correct

Return to home page

Report this error in the System Talk Forum

What I added was accepted and appears on the Chicago page.

3. Posted by Sander (Moderator 4835 posts) 8y

It's not just you, or just Mac/Safari - I get the same error message. Probably a minor change was made the the code, which should be fixed as soon as Sam or Peter sees all the error report emails and/or this thread.

4. Posted by Peter (Admin 5811 posts) 8y

Found it. Apparently, my code to check whether or not something was a URL didn't think that apostrophes could be in URLs. There was a link in the Chicago article to http://en.wikipedia.org/wiki/St._Valentine's_Day_Massacre , which clearly proves that apostrophes are possible in URLs. Fixed now, so one problem solved.

I also have uploaded some code that should handle these errors a *little* better - instead it will now try to tell you that the link is too long, which isn't really accurate in this situation but at least it won't throw an error! That fix was more to solve situations where people create links to articles with titles longer than 50 characters, which is somewhat related to the problem you encountered. Basically what happened was that because it didn't think the url was legitimate, it decided that it must have been a link to another wiki article - but that didn't work either, because the title would then have been longer than 50 characters.

Heh, hope that makes sense.. long story short: problem more or less fixed.

5. Posted by Isadora (Travel Guru 13926 posts) 8y

Thank you!!!!!!!

And, it made sense to me! I think Michael (lavafalls) may have had the same problem because the history shows a (0) edits for him shortly after it happened to me too.

I would have thought, if anything, the URL for the Chicago Blues Fest and/or Taste of Chicago would have created more trouble since both are quite long. (Chicago gov't. website had to make complicated addresses...) But, I'm happy th problem is relatively fixed!!!! Yay!!!!!!!

Thanks again Peter and Sander!!!!

6. Posted by Peter (Admin 5811 posts) 8y

Quoting Isadora

I would have thought, if anything, the URL for the Chicago Blues Fest and/or Taste of Chicago would have created more trouble since both are quite long. (Chicago gov't. website had to make complicated addresses...)

Yeah, that led me down the wrong path for a while as well actually. In the end an easy fix though thankfully, although I might consider being even more lenient and consider everything starting with "http://" an external link - valid or not.

7. Posted by Isadora (Travel Guru 13926 posts) 8y

Sorry about that, Peter... I tried to find sites with shorter URLs that contained as much information. Alas, the city's site was the most comprehensive and the "official" one as well.

8. Posted by Peter (Admin 5811 posts) 8y

Quoting Isadora

Sorry about that, Peter... I tried to find sites with shorter URLs that contained as much information. Alas, the city's site was the most comprehensive and the "official" one as well.

Oh, no problem at all - it *should* be able to handle such things of course. I did manage to shorten the really long URL quite a bit though, just by removing a few redundant url variables. Hope it still points to the right place ;)

9. Posted by Isadora (Travel Guru 13926 posts) 8y

Quoting Peter

[quote=Isadora]Hope it still points to the right place ;)

Ah.... It keeps taking me to "Boom-Boom's Lizard Lounge and Men's Club" site. I don't think that's what I linked...

Nah, it's fine and working correctly. (But then you knew that.)

10. Posted by Purdy (Travel Guru 3546 posts) 8y

Quoting Isadora

Ah.... It keeps taking me to "Boom-Boom's Lizard Lounge and Men's Club" site.

Sounds interesting - will we be visiting here in Chicago???? Or should l just go to the Wiki and read about it!