CityCyclingEdinburgh Forum » Questions/Support/Help

Lovely ride thread problem

(23 posts)
  • Started 9 years ago by HankChief
  • Latest reply from chrisfl
  • This topic is not resolved

  1. HankChief
    Member

    Is it just me or does anyone else have difficulties opening the 'I've had a lovely ride' thread?

    Other threads are fine just that one that doesn't open.

    Posted 9 years ago #
  2. Darkerside
    Member

    Me too.

    Posted 9 years ago #
  3. Greenroofer
    Member

    But not me...

    Posted 9 years ago #
  4. HankChief
    Member

    @greenroofer Good for you but it does leave me and Darkerside in the dark as to what you got up to today and why it was so lovely.

    The suspense is killing me...

    Posted 9 years ago #
  5. gembo
    Member

    I know what he was up to as it opens for me, but feel you should hear it first hand.

    Posted 9 years ago #
  6. paddyirish
    Member

    I found by searching for it "lovely ride today" and clicking on different comments, some of which did nothing and one of which parachuted me into the middle of the thread

    Posted 9 years ago #
  7. skotl
    Member

    I cannae open it either.

    Posted 9 years ago #
  8. amir
    Member

    Me neither, and I was going to post about chimney farm dog action

    Posted 9 years ago #
  9. Darkerside
    Member

    I have changed to Internet Explorer over the past week—is there a "don't show me Greenroofer's deviances" checkbox I need to untick?

    Posted 9 years ago #
  10. fimm
    Member

    I've had problems recently opening that thread on a PC, but have just opened it on my phone without a problem.

    Posted 9 years ago #
  11. Arellcat
    Moderator

    If I try to open the thread from its title page hyperlink, it won't open and gives me a 503 Service Unavailable error.

    If I try to open the thread from its latest post hyperlink, it opens straight away.

    Posted 9 years ago #
  12. Darkerside
    Member

    Ditto above.

    Posted 9 years ago #
  13. paddyirish
    Member

    And me

    Posted 9 years ago #
  14. HankChief
    Member

    How long have I been on here?

    I have found out that once you have selected the thread you want to read on the front page, if you click the right hand column underneath 'latest post' it takes you right there. <facepalm>

    For years I've been reading about black recumbant in bruntsfield tonight 'bout half fiveish......

    Posted 9 years ago #
  15. sallyhinch
    Member

    I never do anything else *but* go to the last post. It's so habitual, I do it even if there's only one post...

    Posted 9 years ago #
  16. gembo
    Member

    Quite interesting, I have always gone with the latest post as find the search a bit random, like the key words of the title appear way down the list. Occasionally need to trawl my previous posts to resurrect something.

    I made the librarian in the village laugh the other day, she said I had to physically return a book as it had been renewed three times and someone else might want to read it. I said, what? Other people take books out of the library?

    Was it bishop Berkeley who said the entire world only existed when he opened his eyes?

    Will add the name of the actor who played the Major in Fawlty towers now, was it Berkeley Ballard? OOOh, I was so close.

    Posted 9 years ago #
  17. I were right about that saddle
    Member

    I have never been able to open that thread, and imagined it to be some exquisite punishment, Moses and the promised land type of thing.

    Posted 9 years ago #
  18. chrisfl
    Member

    I have to admit that I have seen certain threads returning 503's in the log files. So far my investigations haven't got very far. But it seems that some of the bigger threads just seem to take phppp a VERY long time, and they then bomb out.

    My best guess at the moment is that this seem to be a problem with long threads with lots of pictures. There is some code which seems to search all the text and set the image width on image tags that throws out constant errors and warnings, so I *think* the problem may somehow be related.

    Posted 9 years ago #
  19. chdot
    Admin

    Thanks for looking.

    "My best guess at the moment is that this seem to be a problem with long threads with lots of pictures."

    W/could that vary with some OS/browsers combinations?

    Posted 9 years ago #
  20. chrisfl
    Member

    I don't think this is related to OS/browser combinations.

    Curiosity has gotten the better of me, and what seems to be happening is actually worse than I had anticipated. It actually downloads all the images referenced in the thread. In this case some of these images no longer exist, which means that the script has to wait for them to timeout. I'll have a look in more detail at this tomorrow, and in case anyone is wondering this is one of the errors thrown out.

    @chdot - if I'm right, setting the image_resizer_enable setting to off may resolve this.

    and for those here of a technical bent this is the errror and the code

    PHP Warning: getimagesize(http://img1.UploadScreenshot.com/images/thumb/10/29903461146.png): failed to open stream: Connection timed out in /var/www/citycyclingedinburgh/website/bbpress/my-plugins/image-resizer/imageresizer.php on line 105

    93 function image_resizer_text($post) {
    94
    95 >. if (!bb_get_option('image_resizer_enable')) {return $post;}
    96 >.
    97 >.$maxwidth = bb_get_option('max_image_width');
    98 >.$imagearray = get_all_strings_between($post, '');
    99 >.if ($imagearray[0]=='') return $post;
    100 >.
    101 >.for ($i = 0; $i < count($imagearray); $i++)
    102 >.{
    103 >.>.if($imagearray[$i] != '')
    104 >.>.{
    105 >.>.list($width, $height, $type, $attr) = getimagesize($imagearray[$i]);
    106 >.>.if($width > $maxwidth)
    107 >.>.{
    108 >.>.>.$post = str_replace('<img src="' .$imagearray[$i] , '<img style="width: ' . $maxwidth . 'px;" src="' . $imagearray[$i] , $post);
    109 >.>.}
    110 >.>.}
    111 >.}
    112 >.return $post;.

    Posted 9 years ago #
  21. sallyhinch
    Member

    This might explain why the Bollards (random) thread has similar problems...

    Posted 9 years ago #
  22. chdot
    Admin

    "if I'm right, setting the image_resizer_enable setting to off may resolve this."

    Done

    May cause other consequences!

    Posted 9 years ago #
  23. chrisfl
    Member

    That's totally sorted out the 503 errors (nearly 200 on Sunday and none since 9am this morning) and page loads seem to be quicker as well.

    I'll have a look at adding some css to set a maximum width for images uploaded.

    Posted 9 years ago #

RSS feed for this topic

Reply

You must log in to post.


Video embedded using Easy Video Embed plugin