Support Home Page › Forums › Joomla Software › Easy Flash Uploader Plugin › EFUP – Bug Reporting
- This topic has 7 replies, 3 voices, and was last updated 14 years ago by
Michael Gilkes.
-
AuthorPosts
-
December 1, 2010 at 12:48 am #37
Michael Gilkes
KeymasterEasy Flash Uploader Plugin
Please post any bugs or quirks you have found.
February 4, 2011 at 4:15 am #921Lewis
Participant1234567891011121314<br />Hi Michael!<br /><br />Thanks for the great plugin -- this is exactly the functionality I needed to update an aging PHP upload script from an older site!<br /><br />I was able to get the plugin installed and it seems to be configured correctly (i.e., I'm using the default settings),<br />but when I load the plugin into an article, only the 'Cancel All Uploads' button appears and the 'Browse' button doesn't display as it does on your demo site.<br /><br />I am using Joomla 1.5.22 on a linux host running PHP 5.2.12.<br /><br />Any help would be massively appreciated!<br /><br />Cheers,<br />Lewis<br />February 4, 2011 at 1:45 pm #922Michael Gilkes
KeymasterHi Lewis,
From what I can tell from viewing the html code of the page (thanks for sending the link via email), it seems that the flash is not loading at all on the page. How it is designed is that the flash replaces a span placeholder, and from inspection, the span place holder is still there. From my experience this is usually from some sort of javascript error that causes the javascript that loads the flash to not execute. However, firebox's firebug doesn't report any javascript errors.
The only thing i am wondering is whether the window.onload is being called. Ahhh… I think I know what the problem might be! It could be that window.onload is called again after my javascript code, and thus overwriting the onload function. Now, I don't have any proof that this is exactly what is happening, but it is the only logical conclusion.
I got an idea that I want you to try. I was just about to close my computer and go to bed, but try this out for me and let me know if it works.
Go to the plg_easyflashuploader.php file and replace line 161 (or comment it out by putting '//' before it) with this:
Code:$swfUploadHeadJs = $jsVariables."window.addEvent("domready",function(){".$jsSWFUploads."});";This should work perfectly. It uses mootools' window.addEvent instead of window.onload.
Please let me know if it works out.
February 4, 2011 at 5:38 pm #923Lewis
ParticipantHey Michael,
I just wanted to let you know that I made the modification you suggested (I commented out the original line but left it in place in case I ever need to backtrack) and IT WORKS! Brilliant.
Thanks again for helping me get this worked out, especially after hours. I truly appreciate the help in getting it off the ground.
Cheers,
Lewis
March 10, 2011 at 2:27 pm #924carmiaca
ParticipantMy recent download of EFUP does not have a a plg_easyflashuploader.php file. Where do I make the change? IE8 is not showing the Upload button.
Thanks
March 10, 2011 at 3:36 pm #925Michael Gilkes
KeymasterHi Carmiaca,
This previous fix for the button not showing is not relevant for your version of EFUP. It relates to versions lower than 0.7. This fix has already been included in your version. You can easily verify this by looking at the page source.
To be honest, I can't help you unless I have more information about your situation. If you prefer not to give any details on this public forum, you are free to email me, as others have done. Like I said in a previous post, the plugin is verified to work on IE8. You may have something specifically occurring on your site. However, if I am unable to understand your problem, I cannot help you. If I can see the web page with the uploader in action, I may be able to guide you to a solution. Please contact me via email with a link to your uploader page. If only registered users can access the uploader, you can create a temporary registered user login for me to test it out. I am more than happy to help you.
PS. I had posted the following in your initial topic post:
Quote:@Carmiaca, I just tested it (demos.michaelgilkes.com/joomla) on IE8, and it shows perfectly. Could you provide a link to your page so that I can see the result for myself? I may be able to help you in your particular problem.March 15, 2011 at 8:12 pm #926carmiaca
ParticipantThe problem with the browse button in IE8 showed up on my local xamp server installation, but after reading your email I tried it on the destination server and I could see it.
But now I have another problem:
It is showing everything as ERROR: Invalid Filetype when I try to upload.for example, even .jpg is rejected, when it is part of the original parameters upon installation. I will email you the link so you can see what is going on.
March 15, 2011 at 10:46 pm #927Michael Gilkes
Keymaster@carmiaca. You will get this error notice if your server's PHP version is less than 5.3. What is your PHP version? The minimum requirement for all my extensions is PHP 5.3+. To check for the version, in Joomla 1.5, go to Help -> System Info -> PHP Information; and in Joomla 1.6, go to your control panel, then go to Site -> System Information.
-
AuthorPosts
- The topic ‘EFUP – Bug Reporting’ is closed to new replies.