Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11827

Adding tag_youtube or tag_flickr block to a tag page causes browser to crash and wrecks tag page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.9
    • None
    • Tags
    • None
    • Win2k3, XAMPP, behind a proxy server
    • MOODLE_19_STABLE

    Description

      Witht the latest 1.9 CVS (today), I got the atg block installed, went to a tag page and tried to add a youtube block. The whole page then froze and would not unfreeze until I shut the browser window. Subsequently, I found a freeze of a minute or more followed by a page that had not loaded anything past where the start of the block should be. It was impossible to load the page in order to remove the offending block, making it a one way error and I had to remove the line in yhe block_instance table of the database to get it going again.

      Not sure what the cause was, but here's the php error log blames line 130 of block_tag.php:

      file_get_contents($request);

      So I've a feeling that the proxy may be blocking access to flickr. I've no idea what 'found it!' means.

      [18-Oct-2007 14:59:24] loading access for context /1/5321 for moodle/block:view at 80 5321
      [18-Oct-2007 14:59:24] loaded /1/5321
      [18-Oct-2007 15:00:24] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\MoodleWindowsInstaller-latest\moodle\moodle\blocks\tag_flickr\block_tag_flickr.php on line 130
      [18-Oct-2007 15:01:48] found it!
      [18-Oct-2007 15:01:48] found it!
      [18-Oct-2007 15:01:48] found it!
      [18-Oct-2007 15:01:48] found it!
      [18-Oct-2007 15:01:48] found it!
      [18-Oct-2007 15:02:48] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\MoodleWindowsInstaller-latest\moodle\moodle\blocks\tag_flickr\block_tag_flickr.php on line 130
      [18-Oct-2007 15:09:00] loading access for context /1/2499/113 for moodle/block:view at 80 113
      [18-Oct-2007 15:09:00] loaded /1/2499
      [18-Oct-2007 15:10:43] found it!
      [18-Oct-2007 15:10:43] found it!
      [18-Oct-2007 15:10:43] found it!
      [18-Oct-2007 15:10:43] found it!
      [18-Oct-2007 15:10:43] found it!
      [18-Oct-2007 15:11:07] loading access for context /1/1969/2311/2400 for mod/assignment:grade at 70 2400
      [18-Oct-2007 15:11:07] loaded /1/1969/2311
      [18-Oct-2007 15:11:07] loading access for context /1/1969/2580/2595 for mod/assignment:grade at 70 2595
      [18-Oct-2007 15:11:07] loaded /1/1969/2580
      [18-Oct-2007 15:11:08] loading access for context /1/1969/1949/5185 for mod/assignment:grade at 70 5185
      [18-Oct-2007 15:11:08] loaded /1/1969/1949
      [18-Oct-2007 15:11:08] loading access for context /1/1574/1604/2265 for mod/assignment:grade at 70 2265
      [18-Oct-2007 15:11:08] loaded /1/1574/1604
      [18-Oct-2007 15:11:08] loading access for context /1/1574/1562/1820 for mod/assignment:grade at 70 1820
      [18-Oct-2007 15:11:08] loaded /1/1574/1562
      [18-Oct-2007 15:11:43] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\MoodleWindowsInstaller-latest\moodle\moodle\blocks\tag_flickr\block_tag_flickr.php on line 130
      [18-Oct-2007 15:11:55] found it!
      [18-Oct-2007 15:11:55] found it!
      [18-Oct-2007 15:11:55] found it!
      [18-Oct-2007 15:11:55] found it!
      [18-Oct-2007 15:11:55] found it!
      [18-Oct-2007 15:12:55] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\MoodleWindowsInstaller-latest\moodle\moodle\blocks\tag_flickr\block_tag_flickr.php on line 130
      [18-Oct-2007 15:14:28] found it!
      [18-Oct-2007 15:14:28] found it!
      [18-Oct-2007 15:14:28] found it!
      [18-Oct-2007 15:14:28] found it!
      [18-Oct-2007 15:14:28] found it!
      [18-Oct-2007 15:15:28] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\MoodleWindowsInstaller-latest\moodle\moodle\blocks\tag_flickr\block_tag_flickr.php on line 130

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              mattgibson Matt Gibson
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: