Photos not being uploaded to user folders Photos not being uploaded to user folders
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Photos not being uploaded to user folders

Started by Fitzkilt, November 06, 2006, 05:09:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fitzkilt

I just installed a backup of CPG 1.4.6 and then updated to 1.4.9 (plus manually adding the security fix, i.e. 1.4.10) and none of my users photos are being uploaded properly. I tried this myself by uploading a few photos and what happens is everything is being uploaded here:

www/albums/userpics/xxxxxxx.jpg (photos are going into the userpics directory)

...rather than here (for example):

www/albums/userpics/10001/xxxxxxx.jpg

What did I do wrong?


Fitzkilt

Okay, I followed the troubleshooting steps and I'm still not sure what's going on here. The photos upload fine and appear in the correct album on the site but they're not uploaded into the right directory/folder (which can be see when viewing files via FTP). I don't see an error message on the pages anywhere.

Joachim Müller

Re-read the section I refered to and do exactly as suggested there if you want help ::)!

Fitzkilt

I did follow the steps, verbatim:

Go to your coppermine page and log in as admin - I did this.
Go to the config screen - I did this.
Scroll to the bottom of the page - I did this.
Expand the "Maintenance settings" section by clicking on it - I did this.
Enable debug mode for everyone - I did this.
Leave display of notices switched off - I did this.
Save the new settings by clicking on "Save new configuration" - I did this.
Go to the "groups" panel - I did this.
Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed") - I did this.
Save your new settings - I did this.
Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get. - I didn't see any error message, just the debug information.

So, what did I miss?

Joachim Müller

You should have read on, just below the text you quoted:
QuoteWhen asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!
::)

Fitzkilt

http://www.kiltphotos.com/index.php

test - user name
test - password

I don't see how this will even help since you can't see what I'm talking about from the front end.

Fitzkilt

RE Nibbler's advice in another thread:

"This will happen if you have 'silly safe mode' enabled. If you wish to disable it then remove the SILLY_SAFE_MODE line from include/config.inc.php."

Consider it solved. Thanks for your help, Gaugau, I appreciate it.