forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Fitzkilt on November 06, 2006, 05:09:39 am

Title: Photos not being uploaded to user folders
Post by: Fitzkilt on November 06, 2006, 05:09:39 am
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?
Title: Re: Photos not being uploaded to user folders
Post by: Joachim Müller on November 06, 2006, 06:47:53 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Photos not being uploaded to user folders
Post by: Fitzkilt on November 06, 2006, 05:05:57 pm
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.
Title: Re: Photos not being uploaded to user folders
Post by: Joachim Müller on November 06, 2006, 05:11:19 pm
Re-read the section I refered to and do exactly as suggested there if you want help ::)!
Title: Re: Photos not being uploaded to user folders
Post by: Fitzkilt on November 06, 2006, 06:17:37 pm
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?
Title: Re: Photos not being uploaded to user folders
Post by: Joachim Müller on November 06, 2006, 06:19:33 pm
You should have read on, just below the text you quoted:
Quote
When 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!
::)
Title: Re: Photos not being uploaded to user folders
Post by: Fitzkilt on November 06, 2006, 06:20:43 pm
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.
Title: Re: Photos not being uploaded to user folders
Post by: Fitzkilt on November 06, 2006, 07:28:08 pm
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.