7 Online. Join themUsers

Search

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:

  • Symphony installed several subdirectories deeper than the root domain
  • both native File Upload and the Unique File Upload extensions

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 &ndash; 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&section=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 :)

Login to Comment

Symphony • Open Source XSLT CMS

Server Requirements
  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 4.1 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts