Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Photos not being uploaded to user folders  (Read 3317 times)

0 Members and 1 Guest are viewing this topic.

Fitzkilt

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Photos not being uploaded to user folders
« 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?
« Last Edit: November 06, 2006, 08:03:01 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Fitzkilt

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Photos not being uploaded to user folders
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Photos not being uploaded to user folders
« Reply #3 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 ::)!
Logged

Fitzkilt

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Photos not being uploaded to user folders
« Reply #4 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Photos not being uploaded to user folders
« Reply #5 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!
::)
Logged

Fitzkilt

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Photos not being uploaded to user folders
« Reply #6 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.
Logged

Fitzkilt

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Photos not being uploaded to user folders
« Reply #7 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.