Note that there are some explanatory texts on larger screens.

plurals
  1. POImplementation of Uploadify with Zend Framework
    primarykey
    data
    text
    <p>Okay,</p> <p>I have read, and tried a lot of things on how to implement uploadify with Zend Framework, and I'm probably overlooking something, but I'm completely stuck. It seems my action isn't called.</p> <p>All the uploadify are placed in one directory inside the public folder.</p> <p>The upload button is called in a fancybox instance and is loaded from a hidden div on the same page (admin/images/index) through the inline concept of Fancybox.</p> <p>All the jquery stuff works great, the uploading works fine, and every file is completed. But the files aren't removed to the folder. When testing with the uploadify.php script everything works fine.</p> <p>There are no errors in the console.</p> <p>Tested on localhost Tested with Chrome 6.0.4 &amp; Firefox 6.3.6 Tested with uploadify 2.1</p> <p>This is my jquery init code: (I use loader for the use of jquery scripts)</p> <pre><code>Removed to keep post readable </code></pre> <p>I used different things to call the file, but none of them worked:</p> <pre><code> Removed to keep post readable </code></pre> <p>This is the code in my admin/images/upload</p> <pre><code> Removed to keep post readable </code></pre> <p>This is the code used in my bootstrap for the cookie problem:</p> <pre><code> Removed to keep post readable </code></pre> <p>Anybody any clue? I'm completely lost....</p> <p><strong>==================================== EDIT ========================================</strong></p> <p>The problem is still that I can't reach the controller action. I have changed some things for easier testing. The current code is as follows: case 'jpg': $validExtension = true; break; case 'jpeg': $validExtension = true; break; case 'gif': $validExtension = true; break; case 'png': $validExtension = true; break; I don't understand why the action isn't called..</p> <p><strong>Another edit:</strong></p> <p>Current scripts:</p> <p>case 'jpg': $validExtension = true; break; case 'jpeg': $validExtension = true; break; case 'gif': $validExtension = true; break; case 'png': $validExtension = true; break;</p> <p>Creating the upload resources returns in a HTTP error by uploadify.js</p> <p>I tried several session solutions found on the uploadify forum and more, but that didn't make any difference...</p> <p><strong>Another edit</strong></p> <p>I worked further, and adding the resource for upload</p> <p>$this->acl->add(new Zend_Acl_Resource('upload'));</p> <p>gave me the html output form the not logged in/ no role script, pointing to the known session issue. I'm going to try several solutions and will get back if the scripts works.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload