Uploadify (upload progress bar)
This is an open discussion with 28 replies, filed under Extensions.
Search
Doesn’t work for me at all. Symphony 2.0.6 + Unique upload field. Progress bar visible after selecting file but no uploading. After saving shows ‘undefined’ error around upload field.
Does it work with a normal File Upload field?
Nope. Tried on Safari, FF, Opera (OS-X 10.6)
Some debugging: i’ve added console.log(response) to onComplete function in apply.js and the result is:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Symphony – Login</title>
<link rel="stylesheet" type="text/css" media="screen" href="http://foto/symphony/assets/login.css">
</head>
<body onload="document.forms[0].elements.username.focus()">
<form action="" method="post">
<h1>Symphony</h1>
<fieldset>
<legend>Login</legend>
<label>Username <input name="username" type="text"> </label>
<label>Password <input name="password" type="password"> </label>
</fieldset>
<div class="actions">
<input name="action[login]" type="submit" value="Login">
<input name="redirect" type="hidden" value="/symphony/extension/uploadify/upload/?folder=/workspace/images/galeria&PHPSESSID=u3gps89j9emgaqo2esoeh9eii5§ion=galeria&field=47">
</div>
</form>
</body>
</html>
Looks like login form…
I’m seeing an “undefined” message after each upload. Any ideas what I’m doing wrong? I wonder if it’s chmod permissions somehow, but we run suPHP as the user so the user it’s running as should be able to create dirs and files regardless of the chmod perms.
I’ve confirmed that it’s not the directory permissions as this extension disabled the regular file uploader is working to upload correctly. Not sure what I did wrong with the plugin.
Hm,, Uploadify is still quite buggy so it’s not something you’re doing wrong. Just a bug that I need to figure out ;-)
Hehe. Thanks. No worries. It;s pretty sweet once we get the bugs worked out. I’m loving these extensions so far :)
Hrmm yes, it has had problems with other upload field types before. I have made a tweak and I think it’s now working:
http://github.com/nickdunn/uploadify
My test scenario is using: