This only applies to versions 8.08.xx and earlier. 9.02 and higher have the patch included.
Flash uploader in MindTouch 8.08.xx doesn't support Flash 10. Here are instructions how to MindTouch Deki 8.08.xx to support Flash 10 by flash uploader.
ATTENTION: now only beta release of SWFUpload is available.
We will be applying a permanent fix once swfupload is out of beta but until then you have a couple of options. You can apply the patch below or downgrade flash to Flash Player 9 which can be downloaded here. Make sure you uninstall Flash Player 10 before installing Flash Player 9.
Linux
- Download archives with core and samples of the latest version of SWFUpload (currently it is version 2.2.0 Beta 3) from http://code.google.com/p/swfupload/
Run the following commands on the server that Deki is hosted on to download the packages:
wget http://swfupload.googlecode.com/files/SWFUpload%20v2.2.0%20Beta%203%20Core.zip
wget http://swfupload.googlecode.com/files/SWFUpload%20v2.2.0%20Beta%203%20Samples.zip
- Unpack both packages by running the following commands:
unzip SWFUpload\ v2.2.0\ Beta\ 3\ Core.zip
unzip SWFUpload\ v2.2.0\ Beta\ 3\ Samples.zip
- Copy "plugins" folder, "swfupload.js" and "swfupload.swf" files from "SWFUpload v2.2.0 Core" folder to /var/www/dekiwiki/skins/common/swfupload (overwriting all existing files) by running the following commands (Make sure you are in the SWFUpload v2.2.0 Core folder when running the commands below)
cp -rf plugins/ /var/www/dekiwiki/skins/common/swfupload/
cp swfupload.js /var/www/dekiwiki/skins/common/swfupload/swfupload.js
cp swfupload.swf /var/www/dekiwiki/skins/common/swfupload/swfupload.swf
- Change into the SWFUpload v2.2.0 Samples director and Copy "XPButtonNoText_61x22.png" file to the following "/SWFUpload v2.2.0 Samples/samples/buttons/" folder /var/www/dekiwiki/skins/common/swfupload/ by running the following command:
cp samples/buttons/XPButtonNoText_61x22.png /var/www/dekiwiki/skins/common/swfupload/
- Apply patch by running the following command:
cd /var/www/dekiwiki
wget http://wiki.developer.mindtouch.com/@api/deki/files/3760/=deki_80802_flash10.patch
patch -p0 < \=deki_*.patch
Windows
- Download archives with core and samples of the latest version of SWFUpload
http://swfupload.googlecode.com/file...203%20Core.zip
http://swfupload.googlecode.com/file...%20Samples.zip
- Unpack both packages by right clicking on them and clicking Extract All
- Copy "plugins" folder, "swfupload.js" and "swfupload.swf" files from "SWFUpload v2.2.0 Core" folder to C:\Program Files\MindTouch\MindTouch Deki\web\skins\common\swfupload (overwriting all existing files)
- Change into the SWFUpload v2.2.0 Samples director and Copy "XPButtonNoText_61x22.png" file to the following "/SWFUpload v2.2.0 Samples/samples/buttons/" folder C:\Program Files\MindTouch\MindTouch Deki\web\skins\common\swfupload
- Download the patched files, extract them, and apply them as follows (overwriting current file):
copy dialog.js and copy it here: C:\Program Files\MindTouch\MindTouch Deki\web\skins\common\
copy attach_dialog.php and copy it here: C:\Program Files\MindTouch\MindTouch Deki\web\skins\common\popups
copy uploader.js and copy it here: C:\Program Files\MindTouch\MindTouch Deki\web\skins\common\yui\mindtouch\
copy resources.txt and copy it here: C:\Program Files\MindTouch\MindTouch Deki\web\resources\
root@server1 [/var/www/dekiwiki]# patch -p0 < \=deki_80802_flash10.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: skins/common/dialogs.js
|===================================================================
|--- skins/common/dialogs.js (revision 11441)
|+++ skins/common/dialogs.js (working copy)
--------------------------
File to patch: