Trouble getting SWF Upload to work |
[eluser]Michael;[/eluser]
Good evening everyone, I'm having a spot of trouble with this and after spending the last couple hours on forum searches and google searches I'm to the point of throwing my workstation out the window ... I know, Baaaaad idea. Here's the deal, I'm trying to "mimic" the functionality of the Application Demo found on the SWFUpload site. As of yet, I have been unable to get my copy to bring up the file browse dialog box ... I'm almost certain this is a pathing problem, but have tried all manner of path and am still coming up with nothing. I'm hoping the great minds here will notice the absolutely ignorant mistake I have overlooked over and over and bail me out of a jam .. I am accessing the "site" via a VM on my workstation that has the IP Address of 10.0.0.199, just so you are aware as you look over the code. My folder structure may be a lil odd, so I'll post it here too: /framework //Codeigniter system folder /core //Core application folder /administration //Administration application folder -> /views -> -> /gallery -> -> -> upload_form.php /public_html //Web Root -> /assets -> -> /css -> -> /images -> -> -> accept.png -> -> /js -> -> -> /swfupload -> -> -> -> swfupload.js -> -> -> -> swfupload_f9.swf -> -> -> -> handlers.js I'll post the code in the next post. Thanks for any incite you might be able to provide. ![]()
[eluser]Michael;[/eluser]
On to the Code: This is found in my jshelper.php: Code: function jsUploads() { // load swfupload This code merely returns the necessary text in my view so that the js is present. I get no errors from this in Firebug in FF, that does not mean that it's correct obviously since all the paths are contained there. This is from Controller: Code: function index() { Literally all it does is load swfupload from the jshelper, abd display the theme. And this is my view: Code: <div id="content"> I believe this is *exactly* what is in the application demo found at the link above.
[eluser]TheFuzzy0ne[/eluser]
I've read you're post 5 times now, and I simply don't get it. May I suggest you post a link to your demo app. It might be easier to see what's happening. If you can't get the browse file dialogue to open, it suggests to me that the path is set incorrectly in the app itself. |
Welcome Guest, Not a member yet? Register Sign In |