Magic Fields 2 Toolkit
[resolved] AJAX scripts fail from whitespace after ?> in magic-fields-2-alt-get-audio.php (2 posts)

  1. Magenta Cuda
    Plugin Author

    Posted 2 years ago #

    The file "magic-fields-2-alt-get-audio.php" has extra linefeeds after the last ?>. This is causing AJAX scripts to fail. (AJAX scripts are typically used to provide new partial content to a page without reloading the whole page.) To correct this delete the extra linefeeds at the end of the file "magic-fields-2-alt-get-audio.php" or just disable the "Alt Audio" feature if you are not using it. (I always thought it was ugly to leave unbalanced PHP tags and I thought I would be careful enough to avoid this mistake but now having got burned I have learned my lesson - safety should have precedence over beauty.)

    Sorry for causing this trouble,


  2. Magenta Cuda
    Plugin Author

    Posted 2 years ago #

    This problem has been fixed with release 0.4.1.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magic Fields 2 Toolkit
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.