Using this Album photos I try to create some photo albums. A few weeks ago, I managed to do so. But now I'm having serious trouble: I can still upload images, but when I use the Album photos module to upload photos to an album and after clicking the upload-button, I get a blank screen (URL: http://www.mudraplatform.eu/photos/upload) No special events are logged.

URL photos: http://www.mudraplatform.eu/photos/album

Is there a way to reinstall the Album Photos module, cleaning the database included? Not so many photos were added, so re-adding them is feasible.

Any suggestions, ideas? (I'm only working with Drupal for a few weeks)

Many thanks,

Lander

Comments

berdir’s picture

- Did you upgrade the album photos module since it was working?
- Are you using the swf upload module?
- Also look at the reports if you see any "access denied" to a url related to swf upload (/photos/swfupload or something like it).

Try to disable/empty the drupal cache and the cache of your browser and try it again, especially if you are using the swfupload.

You can uninstall the module by disabling it first at admin/build/modules, then click on uninstall (admin/build/modules/uninstall), select the album photos module from the list and click the uninstall button (of course all data of this module will be lost after this step)

If this does not work, You could enable my account (Berdir) on your site and I can have a look at it by myself.

ldmuer’s picture

- I had upgraded all modules, so I almost sure I upgraded this module too.
- No, I'm not using the swf upload module. Should I? My Drupal version is 6, so the SWFupload module isn't available yet.
- My no. 1 in the top "Access denied" is (indeed) photos/album. Using an FTP client, I could set the correct permissions. But I don't know where this folder is situated. Or is it in the database?

I cleared cache in my browser, tried several browsers (IE, Firefox, GChrome) and even tried on an differtent PC. Always the blank screen.

I tried, considering the little amount of photos, to uninstall the module and then try again after reinstalling the module. I can disable the module, but after saving this, it never comes in the Uninstall section.

How can I get the module uninstalled?

Many thanks.

Lander

berdir’s picture

album photos has its own swfupload module, called "photos swfu". It should be in the same group in the modules list.

I have never used the normal upload myself, so I can't really help you with that. If re-install doesn't work, you could try out the swfupload module.

photos/album is not a physical folder, the permissions are defined inside the code of the modul. And it is the link you posted in here, which is probably the reason why it is our top "access denied".

ldmuer’s picture

Berdir,

I managed to upload an image file using the swfu upload. But seems it only succesfully uploads files smaller than 100kb. When I upload bigger files (300kb, 1800kb), I don't get any errors (everything green) but the file isn't uploaded. Because when I take look at "latest images", it isn't there.

I have set the maximum upload size (Images) to 2000KB, I have set the maximum file size per upload (file uploads) to 2MB for Administrator.

Which settings prevent me from uploading bigger image files? I can attach larger image files as attachments to a page, even when the size is over 1MB.

Any ideas?
I'm getting desperate...

Many thanks for your help.

Lander

berdir’s picture

Assigned: Unassigned » berdir

Good Question, I have uploaded images over 1MB on my site so it should work theoretically. And if normal upload works, it should not be an apache or php restriction.

- Are there any errors/warnings at admin/reports/dblog?
- Are the photos settings at admin/settings/photos correctly set?

I'll try to create a debug patch to find out how far the upload script gets but it will probably take some time.

berdir’s picture

Status: Active » Fixed

I'm setting this to fixed, the problem was the memory_limit setting....

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.