coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Morder on December 11, 2006, 12:42:30 PM

Title: Can't upload pictures
Post by: Morder on December 11, 2006, 12:42:30 PM
Hi
I was hoping you guys could help me a little:
I get the following message when I try to upload pictures thru html (which I do because it's suggested here http://web161493.web23.talkactive.net/cpg1410/docs/index.htm#upload_trouble)

Could not move 1.jpg to albums/userpics/10001/ !
File: /usr/home/web/web161493/cpg1410/db_input.php - Line: 355

I have done as suggested in http://web161493.web23.talkactive.net/cpg1410/docs/index.htm#upload_trouble
I have searched thru the coppermine support forum, but with no luck. and changed the CHMOD settings for all the folders. I can't upload with batch nor Windows publish either 

I have made my admin account available to you, just use these settings:
Name: Morder
Pass: test
Thanks in advance  ;)

Maintenance Info:
USER:
------------------
Array
(
    [ID] => 6c963e67e8e95e517c0b158e9f88837f
    [am] => 1
    [lang] => danish
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => morder
    [groups] => Array
        (
           
Title: Re: Can't upload pictures
Post by: Morder on December 11, 2006, 12:46:41 PM
oh. by the way: there are som pictures in /albums/upload
which can be used for testing

Title: Re: Can't upload pictures
Post by: Nibbler on December 11, 2006, 01:56:06 PM
Did you try silly_safe_mode ?
Title: Re: Can't upload pictures
Post by: Morder on December 11, 2006, 03:37:15 PM
No, I was a bit unsure of was it was.. but I think I will give it a try..
Title: Re: Can't upload pictures
Post by: Morder on December 11, 2006, 06:27:31 PM
In the manual it says that I have to add define('SILLY_SAFE_MODE', 1);" to the start of my config.inc.php.
But i don't think I'm doing it right, so would one of you experienced users please post a config.inc.php file, where silly safemode is on?
my config.inc.php looks like this:

<?php

// Coppermine configuration file



// MySQL configuration

define('SILLY_SAFE_MODE', 1);
$CONFIG['dbserver'] =                         '';        // Your database server

$CONFIG['dbuser'] =                         '';        // Your mysql username

$CONFIG['dbpass'] =                         '';                // Your mysql password

$CONFIG['dbname'] =                         '';        // Your mysql database name





// MySQL TABLE NAMES PREFIX

$CONFIG['TABLE_PREFIX'] =                '';

?>
Title: Re: Can't upload pictures
Post by: Nibbler on December 11, 2006, 06:33:27 PM
That's fine, but not a good idea to post it here.