Files upload to userpics directory Files upload to userpics directory
 

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

Files upload to userpics directory

Started by rtenalio, October 27, 2006, 10:05:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rtenalio

I just upgraded to 1.4.9 and all went great. I ran Check Version from admin tools and there were no problems. The no_FTP-uploads_into_this_folder! file exists in both the userpics and edit directories. After running all the checks and double checking that everthing was working I uploaded about 6 new pictures to an album that already existed named Ecards and the album had files in it that were uploaded prior to the upgrade. This was NOT done through FTP software; the uploads were done directly from the Upload Files link in Coppermine. Everything went great and the files display exactly where they should. The strange thing is that I was looking through the album directory in my FTP software the next day and noticed that the last six files I uploaded went directly into the userpics directory and not into the right directory (e.g 10001). I thought that this coudn't happen.

Although there were no errors and the pictures display fine I am under the assumption that Coppermine shouldn't be putting pictures directly into the userpics or edit directory. What is the problem and will this create more problems done the road. All permissions are correct and all 1.4.9 files exist and are where they should be.

It seems strange to me that after the upgrade this happened. Did something change in the new version that may have caused this?

rtenalio

In case it helps this is the summary after I ran check versions:

Total files/folders checked:  244 
Mandatory files missing:  0 
Optional files missing:  0 
Files left over from outdated Coppermine version:  0 
Outdated file versions:  0 

Nibbler

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

mginkel

I have the same problem after the upgrade to 1.4.10 I looked in config.inc.php and see only this, what is wrong.

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your database server
$CONFIG['dbuser'] =                         '****';        // Your mysql username
$CONFIG['dbpass'] =                         '*****';                // Your mysql password
$CONFIG['dbname'] =                         'gallery';        // Your mysql database name

// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg1410_';
?>

Martin