Impossible to move Impossible to move
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Impossible to move

Started by riklomas, March 03, 2005, 05:55:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

riklomas

Hi, I know theres been topics on this, and I have read them all, to no avail. The error code I get is:

Warning: move_uploaded_file(): Unable to move '/tmp/phpWTPQtO' to './albums/edit/mHTTP_temp_38c7f337.jpg' in /home/hudson/misc/dvm8vm/public_html/gallery/upload.php on line 1197

File Name/URL Error Message
1. xxxxx.jpg Impossible to move.


Now I have checked all the folders, albums/edit is still there, and chmodded to 0777 as is albums/userpics, albums/ and includes/ and it still doesnt work.

USER:
------------------
Array
(
    [ID] => 1299fd92ebb2e14e869b6feadfd30bc8
    [am] => 1
    [liv] => Array
        (
            [0] => 402
            [1] => 401
            [2] => 416
            [3] => 423
            [4] => 424
        )

)

==========================
USER DATA:
------------------
Array
(
    [0] => 2
    [user_id] => 2
    [1] => rik
    [user_name] => rik
    [2] => 1
    [user_level] => 1
    [groups] => Array
        (
            [0] => 1
            [1] => 2
            [2] => 142
        )

    [group_quota] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [upload_form_config] => 3
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [custom_user_upload] => 0
    [disk_max] => 2048
    [disk_min] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [has_admin_access] => 1
    [group_name] => Admin
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM gallery_filetypes;
    [1] => SELECT user_id, username as user_name, user_level FROM `Xdvm8jcr_mb`.vm_board_users WHERE user_id='2' AND user_password='5e0d5ce8268802f9c957388bb46f5508' AND user_active='1'
    [2] => SELECT (ug.group_id + 5) as group_id FROM `Xdvm8jcr_mb`.vm_board_user_group as ug LEFT JOIN `Xdvm8jcr_mb`.vm_board_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 AND user_pending = 0 AND group_single_user = 0
    [3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM gallery_usergroups WHERE group_id in (1,2,142)
    [4] => SELECT group_name FROM  gallery_usergroups WHERE group_id= 1
    [5] => DELETE FROM gallery_banned WHERE expiry < 1109868708
    [6] => SELECT * FROM gallery_banned WHERE ip_addr='129.234.4.1' OR ip_addr='129.234.38.156' OR user_id=2
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.12-standard-log
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
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 4.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/MySQL/mysql-standard-4.0.15-pc-linux-i686/include
MYSQL_LIBS -L/usr/local/MySQL/mysql-standard-4.0.15-pc-linux-i686/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /usr/local/httpcommon/php-common/bin | /usr/local/httpcommon/php-common/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | /usr/local/httpcommon/jpgraph-1.12.1/src:/users/dit0www/common_scripts:/usr/local/http/php-1.3.27w/lib/php | /usr/local/httpcommon/jpgraph-1.12.1/src:/users/dit0www/common_scripts:/usr/local/http/php-1.3.27w/lib/php
safe_mode_exec_dir | /usr/local/httpcommon/php-common/bin | /usr/local/httpcommon/php-common/bin
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/http/php-current/lib/php:/usr/local/http:/usr/local/httpcommon | .:/usr/local/http/php-current/lib/php:/usr/local/http:/usr/local/httpcommon
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/local/httpcommon/php-common/bin/sendmail -t -odq | /usr/local/httpcommon/php-common/bin/sendmail -t -odq
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
==========================
Page generated in 1.479 seconds - 7 queries in 0.006 seconds - Album set :


it has been working on and off for quite a few days now.

ill let you have a look too:
http://www.dur.ac.uk/vm.jcr/gallery/
user/pass: robot | robotto

advanced thanks for helping me! ;D

Joachim Müller

Although the edit dir might exist on your server and it might be CHMODed (or appear to you as CHMODed correctly), this may be an ownership issue: rename "edit" to "edit_old" and create a new edit folder, CHMOD it as suggested and try again. You are meant to search and not only read one result thread, but several of them - this has been explained as well.

Joachim