Impossible to move error ( methods to solve not applicable to me ) Impossible to move error ( methods to solve not applicable to me )
 

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 error ( methods to solve not applicable to me )

Started by Kenshino, October 04, 2004, 10:19:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kenshino

Error Report
The following uploads encountered errors:
File Uploads:
File Name/URL   Error Message
1. FMA.jpg   Impossible to move.

This is the error I got.

Also, when i tried to chmod the edit folder ( which i already did so but just wanted to make sure ) I did not have permission to do it.

In SFTP, somehow the permissions belongs to apache instead of well my account. I can't delete nor edit it.

Just 5 mins before this error cropped up, I succeeded in uploading a picture but I could not place it in a Album, says I do not have permission to do so.

Just a little more info, the Photo Gallery was working well but the server ran into problems so installed Red Hat Fedora Core 2 and recompiled PHP and everything needed.

I've checked and searched but non of the methods to solve could solve my problem.

The debug mode is as follow:

USER:
------------------
Array
(
    [ID] => cf72e5b1ca1b6f22eab4f9800fadd9da
    [am] => 1
    [liv] => Array
        (
            [0] => 5
            [1] => 41
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Kenshino
    [user_password] => ********
    [user_lastvisit] => 2004-09-27 23:45:16
    [user_regdate] => 2004-09-21 14:01:35
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg132_filetypes;
    [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'eb8593e02ea54e5ec1a3a11529b20f07'
    [2] => 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 cpg132_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg132_banned WHERE expiry < 1096878431
    [5] => SELECT * FROM cpg132_banned WHERE ip_addr='202.156.2.82' OR ip_addr='218.186.113.131' OR user_id=1
)

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

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
            [1] =>
            [2] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.9 - OK
------------------
mySQL version: 4.0.21-standard
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create 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.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
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 | 60 | 60
upload_max_filesize | 1024M | 1024M
post_max_size | 8M | 8M
==========================
Page generated in 0.096 seconds - 6 queries in 0.004 seconds - Album set :

Casper

As you can't delete or chmod the folder, try re-naming it, then create a new one with the correct chmod.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Kenshino

Oh my, how damn stupid am I.

While rechecking, I found out I was using the command rm edit instead of rmdir edit.

I removed it successfully however, before that, I could not chmod it.

After removing it and creating a new one, I can chmod the new one.

It is now solved.

Thank you Casper.

However, I would like to know why my edit folder got messed up, I did upload several identical photos (same file size, same filename ).

Was that the cause?

dshade69

I have recently had the same problem, getting similiar errors and when I check the edit directory the permissions have changed and I am not able to chmod them back.  Deleting and creating a new edit folder works but since this is happened twice so far i'm kind of curious to find out what might be causing it.

Joachim Müller

Quote from: Kenshino on October 04, 2004, 11:30:35 AM
However, I would like to know why my edit folder got messed up, I did upload several identical photos (same file size, same filename ).
We would like to know the reason as well. Never happened to me, on many coppermine installs. Must be something that coppermine users do that coppermine developers never do - we simply can't replicate, although it seems to happen quite often. Anyone who finds out what the reason is is welcome to post.

Joachim

Sokan

same problem!
rename and create new directory helps, but how can i delete the old one??
with ftp client it is not possible. how about with coppermine or something???

greets

Joachim Müller

has been asked and answered many times over, search the board.

Joachim

dshade69

Quote from: GauGau on December 03, 2004, 01:34:17 PM
Quote from: Kenshino on October 04, 2004, 11:30:35 AM
However, I would like to know why my edit folder got messed up, I did upload several identical photos (same file size, same filename ).
We would like to know the reason as well. Never happened to me, on many coppermine installs. Must be something that coppermine users do that coppermine developers never do - we simply can't replicate, although it seems to happen quite often. Anyone who finds out what the reason is is welcome to post.

Joachim

Well I have noticed that this has even happened when I haven't touched coppermine or the server in weeks.  I've checked with my hosting provider, they have no idea why this is happening either.