News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

[Solved]: don't upload,help me!

Started by chg, May 11, 2004, 06:31:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chg

http://218.65.209.178/cpg/
user:  admin
passwd:  *******
phpinfo:  http://218.65.209.178/php.php
config.inc.php
<?php
// Coppermine configuration file
define('SILLY_SAFE_MODE', 1);
// MySQL configuration
$CONFIG['dbserver'] =                         "localhost";        // 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'] =                "***";
?>

chg

chmod -R 777 cpg
chown -R apache:apache cpg

chg

#rpm -ivh ImageMagick-6.0.1.i386.rpm



chg

mail:
lzcub_chg@21cn.com


thank

moorey

Can you describe in sentences what problems exactly you're facing?

chg

Error executing ImageMagick - Return value: 1


Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 207x79 'albums/userpics/vBulletin_logo.gif' 'albums/userpics/thumb_vBulletin_logo.gif'



The convert program said:
convert: Corrupt image `albums/userpics/vBulletin_logo.gif'.
convert: missing an image filename `albums/userpics/thumb_vBulletin_logo.gif'.



文件: /var/www/html/cpg/db_input.php - 行数: 289

Joachim Müller

1) no support for gif in your version maybe? ;)
2) ftp-uploads mustn't go to the userpics folder (see http://coppermine.sourceforge.net/manual.php#batch_add_pics )
3) This is a public board, don't post admin passwords on it. I removed it in your first post on this thread

GauGau

chg

ok,
i find is apache problem.

/etc/httpd/conf.d
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 1048576
</Files>

#
# Add index.php to the list of files that will be served as directory
# indexes.



LimitRequestBody 1048576  (upload file size)
                         1024k

                        524288=512k