Active
Project:
Gallery Assist
Version:
6.x-1.15
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2010 at 15:09 UTC
Updated:
10 Dec 2011 at 02:12 UTC
Images will not upload and folders will not be created if you are using "Path Auto"
I assume this has something to do with the nid
Comments
Comment #1
jcmc commentedHello KJ,
Question.
When you get the issue? By installing or by update GAllery Assist.
This has nothing to do neither with "Path Auto" nor with the "node-ID". In the presentation page "http://simple.puntolatinoclub.de" can GA upload images and create the needed folders. Other pages are using 1.15 not have this issue. An example: http://www.MalinaMusic.ru where I know the version 1.15 is the current version.
Can you give more information about, which system, web-server etc you are using?
Regards
Juan Carlos
Comment #2
almalino commentedHi EFFX,
One my user reported the same issue with 1.15 when she was not able to upload files. I cleared website cache and it fixed the situation.
Cheers,
Alexei
Comment #3
executex commentedI have the same problem ( http://drupal.org/node/826032 ). I have two drupal sites, both 6.17, both on same server, but one is newer than the other. Both have similar modules. Both are fully updated. No old modules.
However, in the older site, in admin/settings/gallery_assist --> JQuery version: ___ empty... JQuery works, because "Upload" module with file attachments works fine. It's definitely a critical bug in Gallery Assist, and perhaps involves another module (I am trying to eliminate some modules to test). I've also made sure all my files were up to date. JQuery version 1.3.2 (jquery_update module) is properly installed and status report shows this. So everything but gallery assist is not functioning.
It makes it so that on a gallery node, you can't upload images using gallery assist, you make an upload, the progress bar shows for a second, then disappears, and nothing, it doesn't add the image.
I also saw this bug, when I clicked, admin/content/node, using gallery_assist dev version.
"Fatal error: Call to undefined function: dsm() in /home/55/d1943825151/htdocs/ewmxa1/modules/gallery_assist/gallery_assist.module on line 902" --- after switching to beta 1.15 or just stable 1.15, it works fine.
Also, Gallery_assist folder inside files/gallery_assist/, gallery assist automatically creates "2" folder. There's no "1", and the "2" folder is EMPTY. Nothing is created. But the database shows 170 nodes full of gallery_assist data with specific folder names that are never made.
Comment #4
executex commentedHmm, I figured something out. I was trying to edit an article, that was posted by another user. To fix the problem, I simply changed author information to my name. Saved the article. Then I edited the article, changed the authoring information back, and I saw "gallery/54 folder created" etc being displayed by drupal. It started making the folders, and the uploading started working. That means there's a problem when an administrator tries to edit another user's posts, and folders don't get automatically created unless ownership changes. Does this solve your problems too?
Comment #5
jcmc commentedComment #6
jcmc commented@executex (#3)
Patch to remove the dsm() call.
Changes commited to the dev.
Thanks
Comment #7
roxy317 commented@executex in #4 - Your comment solved my problem. thank you!
Comment #8
suffering drupal commentedHi, I have the same fatal error but on line 2995
Fatal error: Call to undefined function dsm() in /www/htdocs/w00d50ca/production/on-map.net/sites/all/modules/contrib/gallery_assist/gallery_assist.module on line 2995 - it says
2984 - switch ($op) {
2985 - case 'load'
bla bla
2995 - } dsm($node);
I suppose it still an old reference that didn't show up yet and needs a similar patch as the other two (the one here and another issue refering line 2201).
I tried to remove just the "break" command, but still holds on the same error.
using $Id: gallery_assist.module,v 1.1.2.71 2010/12/16 23:34:07 jcmc
Should I just try to upgrade to the newest dev-version?
Comment #9
the666bbq commentedHi, I had this problem too. Lost most of the day until I noticed in firebug that ajaxSubmit() was not found as a function, so I added jquery.form.js to the page template and all was fine afterwards.
Did not know form.js was a pre-requisite for Gallery Assist, nor that I had to add it myself to the overall jquery library (fairly new to Drupal so I don't know what best practices are concerning jquery/javascript availability for the framework)
maybe not exactly your problem but maybe nice idea to check if there are no (other) javascript issues in the way...
(next stop here will be 'pluploadQueue' is not a function, with plupload core in sites/all/libraries)
Comment #10
ericpai commentedI had the same issue. The page would save nut nothing was uploaded.
I found out that the theme I purchased at RocketThemes was including jquery version 1.4.4 in the header.
I removed that and it started working. I'm now using jquery 1.3.2.
Comment #11
JThan commentedI can confirm that changing the author helped with uploading images with GA. This should not be this way.
It probably is a permissions issue, because one user (editor) can create the content but not use GA. Another user then (siteadmin) wants to uppload pictures to that node not belonging to him and not belonging to someone who is allowed to use GA. So the form for uploading is shown, but somewhere in the process there may be a check against the author insteadof actual user. That could be an explanation (withot looking in the code at this point, sry).
Comment #12
james_r_bray commentedI'm having the same issue with version 6x-1.18.
@executex in #4 - I also took your advice and this solved part of my problem. The directories are being created now when I create a new gallery or change authors, but no files are being uploaded when I try to use Gallery Assist.