Hello All,
Ive been working with a few other products, including Fupload, which I can't seem to get to work...but then I was introduced to Node Gallery and DDblock, which in conjuction are doing exactly what I want to do. The problem is I can't use the upload portion of the Gallery content type. Whenever I create a gallery I:
1. Enter Title, description, etc.
2. Click Save,
3. Go to "Upload Images" tab
4. Try to upload images, but all it does is reload the same page or take me back to the main tab, with no new images. It won't let me upload one or many images. Just acts as if nothing ever happened.
After some investigation, I noticed the the Gallery Image, content type was never created? Upon installation it says it was created and when I go to the "Edit Content Types" it shows gallery image, but when I go to "Create Content" there is no "gallery image" content type. Is this wrong? Or do I have to submit images via the Gallery content type to create the first image gallery content type.
I'm fairly versed in drupal/views/panels, etc. and I do alot of coding, so I don't mind creating the "image gallery" type manually, but I'm wondering if there is a particular reason it is built upon install, is there directions to the things I should be sure to do, to see if I can get this thing working.
Any help would be great.
Thank you
Bryan
Comments
Comment #1
bhylenski commentedAlso, just to clarify, I performed all of tricks/changes that were recommended in the FAQ.
I verified that the upload module is enabled, permissioned and working, by adding images to other content types
I also added the "gallery/%gid" to my default gallery relationship and that didn't change anything, meaning items are still not being uploaded.
And I changed my theme back to Garland and tried the whole process again. Im currently using a Marinelli 3 column layout.
Still nothing changed, I still attempt to upload images and it does one of two things...redirects me to same page, with nothing uploaded, or back to the title tab page, with a link for "Upload images....".
There are no errors appearing in my log entries and apache seems clean, I've also had mod security disabled for some time now, because I was working with Fupload for awhile.
Any help or ideas would be appreciated greatly!
Bryan
Comment #2
dbeall commentedHello bhylenski, The upload module is not needed.. I don't know what DDblock is..?
from the node gallery handbook
HowTo: Add a Gallery Relationship
A gallery relationship consists of two related content types. One content type for the ( gallery node ) and another content type for the ( image nodes ). The Add a Gallery Relationship function ties these two content types together to form A Node Gallery.
* The Gallery content type is listed on the create content page and is visible to the end user. The gallery node handles all creation, display and editing functions for the gallery (it is the control and display panel for each gallery). The gallery node calls upon the image nodes when they are needed for display or editing.
* The Image content type is (not) listed on the create content page and is (hidden) from the end user. The image nodes are used internally by the gallery node. The image nodes are called upon by the gallery node when needed.
* When adding a gallery relationship, the "gallery_image" content type (can be re-used). The "gallery" content type (can not be re-used) as it will overwrite the existing relationship that uses it.
Comment #3
dbeall commentedoh ok, ddblock is a views slideshow. I have never used it.. looks interesting
images not uploading,, permissions?
Comment #4
dbeall commentedI just checked my test site with alpha11 and everything seems to be working ok.. images are uploading. Maybe the folder permissions are not quite right..?
Comment #5
bhylenski commentedsorry for late reply, was away this weekend. Thanks for the explanation on the image content type, issue. I'm not sure that makes much sense to intentionally hide it from the admin? But, anyway, Where will the files be uploaded to...when I supply /gallery/%gid on the settings page, I'm assuming that upon first upload it will create that directory...true? Or do I need to create it and exactly where is the upload tool looking to upload these images..
At this point, if there were a files issue, wouldn't drupal return an error, I commonly "file permission errors" when this sorta thing happens with other modules...but in my case...it just refreshes to the same page with no uploaded files and no error message.
Any further suggestions...I'll have a look at the files, can you clarify which files/directories I should take a look at?
Comment #6
dbeall commentedyes, the directory will be created on first upload.
My test site just has all default file directory settings and worked ok.. using xp with FF3.5.5
the default root for the image uploads is sites/default/files --plus any directory path you add--
I am not sure why it's looping to gallery page.. Could it be some javascript browser issue..?
Comment #7
bhylenski commentedOkay, after some research, I've found one error. It's the same error that I ran into with the Fupload module. This must be the issue, I assumed this was a browser issue, but I've updated both Firefox and IE...still occurring...so I'm not sure what to do at this point? Any ideas?
This is the overall error, which Firebug displayed:
Then when I opened the details I got the following info..(with lines of code where error was)
Comment #8
dbeall commentedare you using jquery update module in Drupal? It has caused issues in the past.
A wild shot in the dark....I am not sure, but you could try to add jstools and see if it helps... I really don't think you would need it. But it was an old requirement for ajaxsubmit.. There is no settings for it as it's a helper library for other modules, but node_gallery should not need it.. I am assuming you are running D6.1.4
Comment #9
dbeall commentedanother related module, but this one has settings, http://drupal.org/project/ajax
also, try to use a default theme if your using something else.. I learned that from Tally..
Comment #10
bhylenski commentedCouldn't get it to work...probably something to do with the install. So, I scrapped the whole drupal install and started again...now FUupload is working, ajax, everything...so I will be using views gallery with Fupload instead of node gallery, thank you for your help...looks like it was an issue with my original install.
Better to start over now, then keep pounding my head against the same wall.
Cheers
Comment #11
dbeall commentedgood to hear you have things working