This is the message I receive when I try to upload files into a content-type :


Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in uploadify_post_page() (line 35 of /Volumes/data/web/www/sites/watchonista/build/pressflow/sites/all/modules/uploadify/uploadify.module).

Anyone has the same result when using uploadify ? I don't really understand why... Thanks in advance for suggestions.

Comments

juanpehar’s picture

I have the same problem, and also I'm using it on pressflow so maybe is something about how pressflow works with sessions.

AtomicStudios’s picture

I found this patch for another module that had this exact same problem, when I applied this to uploadify the session problem went away. However there are other problems in pressflow like the $form not being rebuilt and somehow caching so the first file uploads and appears, the second does also, but all after that overwrite slot two.

http://drupal.org/files/issues/legal-fix-session-handling-D6.patch

makara’s picture

Title: Warning: session_destroy() Trying to destroy uninitialized session » Warning: session_destroy() Trying to destroy uninitialized session (Pressflow support)
Issue tags: +Pressflow

Thanks.

This looks like a Pressflow supporting problem. And the patch in #2 doesn't make sense to me.

I'll look into it.