Picture Upload ->Error Picture Upload ->Error
 

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

Picture Upload ->Error

Started by halfmoon, January 10, 2005, 03:57:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

halfmoon

Hi all,

I have got Problems with the Upload.
The problems is the CHMOD of the edit folder. I have to change it sometimes because it is sometimes 666... I don't know how it happens. So I have to make new CHMOD to folder... But it changes everytime....


Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /www/htdocs/guergens/bilder/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /www/htdocs/guergens/bilder/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /www/htdocs/guergens/bilder/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /www/htdocs/guergens/bilder/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /www/htdocs/guergens/bilder/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /www/htdocs/guergens/bilder/upload.php on line 453



VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 3.23.52-Max-log
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.52
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | On | On
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | exec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice | exec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice
file_uploads | On | On
include_path | .:.. | .:..
open_basedir | /www/htdocs/guergens/:/tmp:/usr/bin:/www/htdocs/guergens:/bin:/usr/local/bin:/usr/share/php | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost | me@localhost
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================

Thx 4 help


halfmoon

Good answer by the way.

I reduced the upload files in the group menue to just one file??
Or is there another answer for my Problem?

Joachim Müller

There are several, which your search should have come up with: check permissions, check if the folder is actually there, enable debug mode, post a link and test user account (non-admin), in exactly the order I posted.

Joachim

halfmoon

The folder edit exists CHMOD is 0777. But in some case the CHMOD is changed from wwwrun to 0666. I have no right to delete the folder in a ftp program. i have to run a phpscript, which changes the CHMOD and now I can delete and make a the folder new with CHMOD 0777.

I hope it is a better discription now.

Joachim Müller

so this thread is solved for you?