Conflict between Image and Download Counter modules?

Irene Kraus - October 28, 2008 - 03:05

After installing the Download Counter module into my site, which requires a change for the download method for the site, all of my images showing in my created galleries and so forth are invisible to those not logged in! I checked the permission settings for the Image module itself, and it is set to show original files to everyone.

Did move the location for all of my files stored on the site during this update to the location preferred for Drupal 6:
sites/default/files
After moving files, did go through and confirm all the other files were just fine. When I'm logged in, everything shows up just fine. Thinking maybe the database records had gotten messed up somehow, I deleted all of the files for the Image galleries stored on the server and re-uploaded them. Again, they show up just fine for me, but no joy when I look as not being logged in.

Going to try flushing my cache, as this is weird!

Any ideas as to issue? You can see the Galleries from here:
http://www.design-comp.com/gallery

Thanks for any help!

=-=

VM - October 28, 2008 - 03:06

go to administer -> post settings

is there a button to rebuild the access table ?

Also check the "view

cog.rusty - October 28, 2008 - 04:54

Also check the "view uploaded files" permission for "anonymous users" in admin/user/access.

There is no conflict with the download counter module. Changing the file system from "public" to "private" when you already have files always causes problems. Your image paths used now are "system/files".

Tried some of these ideas...

Irene Kraus - October 28, 2008 - 14:15

Had tried rebuilding permissions, with no improvement and the check on the permission settings themselves.

As to changing the image path itself to using "system/files," I don't see how to do that internally within the Image module itself. Should I be changing that under 'File System' itself? (Disable module and restored setting back to public while working on this.)

Thanks for the suggestions!

Irene Kraus a.k.a. The Computer Lady
Design COMP - www.design-comp.com

=-=

VM - October 28, 2008 - 14:38

you would have to manually edit each node that has an image or use an SQL query to change the paths of the images.

This is why the warning about changing this setting after content has already been created and files already attached is on that form.

I believe I saw the MySQL query in another forum thread from months ago. I didn't bookmark it though. If I bump into it in my travels I'll post the link here.

No, the

cog.rusty - October 28, 2008 - 15:05

No, the admin/settings/file-system settings should be the real ones. The same for image module's settings, and the same for the 'files' table in the database.

I was only talking about the path used in the content, for the files themselves and for their derivatives, thumbnails etc, either by modules or by yourself. But obviously this does not solve the mystery why admin can see them. Do you have any access control module acting on the image node type produced by the image module? Or any taxonomy access module acting on the categories of the image galleries?

I assume you were talking about the download_count module, and not download_counter which is ancient. There is a pdf book by Chill35, the developer of download_count, which you might find interesting. Either that or the summary page:

http://11heavens.com/files-in-Drupal

downloadcounter module question before I use it

Jim Ruby - October 7, 2009 - 20:36

Hello, I have a drupal 6.14 site already up and running and would like to add a download counter. I am using the upload module that comes with drupal core. I attach the files to nodes and just use the page type when I add a node. I am also using the views module to display the content items the way I like.
If I change my files to private and leave the path set to:
sites/default/files
What might my problems be. I do not want to mess up a site that is already up ad running. I only want the admin to see these statistics, so want to be sure I can do this with the downloadcounter module.

Reading this thread makes me think I will run in to larger problems, but I do need this feature.

Thanks for any help.
Jim Ruby

can anyone advise please

Jim Ruby - October 9, 2009 - 22:56

If I change my files to private and things go wrong would changing it back to public put things back to normal I want to use the download count module

Upgraded sites to Drupal 6 - Not using Image

Irene Kraus - October 13, 2009 - 17:28

Jim, doubt this will help you but I upgraded all of my sites to Drupal 6 and stopped using the Image module completely. Am now using CCK, Image Cache and similar items. There are some excellent video tutorials on how to set this up on http://learnbythedrop.com/

Been using Download Counter with no problems BTW. When I've had to switch back to public file use for some module, I do what is necessary and then switch the setting back to public. So far, I've not had too much trouble!

Irene Kraus a.k.a. The Computer Lady
Design Works Internet - www.designworksinternet.com

downloadcounter module

Jim Ruby - October 13, 2009 - 19:14

I tried it and all is working fine if some one clicks on the node link and downloads tha attachment it gets counted, but I created a few that just shows the title, date, little bit of the body and a download link, ifsome one clicks on the download link it does not get counted by the downloadcounter module.

Thank you for your post.

=-=

VM - October 13, 2009 - 19:45

sounds like a bug that should be reported via the issue queue of the module in question

download counter

Jim Ruby - October 14, 2009 - 15:33

thank you I will do this.

 
 

Drupal is a registered trademark of Dries Buytaert.