coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: St. Anger on December 08, 2005, 02:55:46 AM

Title: Error Message: Impossible to move.
Post by: St. Anger on December 08, 2005, 02:55:46 AM
Today my 1.3x gallery developed an uploading problem. There's no reason it should have, no files were messed with or anything. This is the error message I get if I try to upload a file:

Error Message
Impossible to move.


I planned on upgrading my gallery to 1.4 before the end of the month anyway, so if I go ahead and upgrade will that fix the error, or does the problem need to be fixed before I upgrade to 1.4?
Title: Re: Error Message: Impossible to move.
Post by: kegobeer on December 08, 2005, 02:56:53 AM
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 08, 2005, 03:11:00 AM
Sorry, here's the info:

http://www.metcoverart.com/gallery/index.php

Username: test
Password: test

The gallery is bridged with IPB 2.1.0, so after you login you'll be redirected to the forum. Just click on the "Artwork Gallery" link in the top left corner of the forum to go back to the gallery.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 08, 2005, 05:08:40 AM
Hmm...with those settings it seems files can be uploaded just fine. However, I need to be able to upload multiple files. If I upgrade to CPG 1.4.2, will the error be resolved?
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 09, 2005, 07:29:08 PM
Any help? :(
Title: Re: Error Message: Impossible to move.
Post by: kegobeer on December 09, 2005, 07:39:19 PM
With debug mode enabled, what is the actual error message you get when you upload multiple files via the web interface?

On a side note, as the admin you should be uploading images via FTP and batch adding them to your gallery.  You shouldn't use the web interface - that's for your guests.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 09, 2005, 11:59:41 PM
Here's the debug error message stuff, but I have no clue about any of it:

USER:
------------------
Array
(
    [ID] => 058e7e008629d831dca8edd8ed68839d
    [am] => 1
    [liv] => Array
        (
            [0] => 7689
            [1] => 7690
            [2] => 7692
            [3] => 7691
            [4] => 4981
        )

    [search] => ###Metvault inlay
)

==========================
USER DATA:
------------------
Array
(
    [0] => 1
    [user_id] => 1
    [1] => Spawn of Cthulhu
    [user_name] => Spawn of Cthulhu
    [2] => 4
    [mgroup] => 4
    [3] => 4
    [group_id] => 4
    [4] => Admin
    [group_name] => Admin
    [5] => 0
    [group_quota] => 0
    [6] => 0
    [has_admin_access] => 1
    [7] => 0
    [can_rate_pictures] => 0
    [8] => 0
    [can_send_ecards] => 0
    [9] => 1
    [can_post_comments] => 1
    [10] => 1
    [can_upload_pictures] => 1
    [11] => 0
    [can_create_albums] => 0
    [12] => 0
    [pub_upl_need_approval] => 0
    [13] => 0
    [priv_upl_need_approval] => 0
    [14] => 1
    [upload_form_config] => 1
    [15] => 0
    [custom_user_upload] => 0
    [16] => 10
    [num_file_upload] => 10
    [17] => 3
    [num_URI_upload] => 3
    [groups] => Array
        (
            [0] => 4
        )

    [can_see_all_albums] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM gallery_filetypes;
    [1] => SELECT id as user_id, name as user_name, mgroup FROM `metcover_forum`.ibf_members WHERE id='1' AND  member_login_key='41ef86ef8b71e2d281847ec1c016f734'
    [2] => SELECT * FROM gallery_usergroups WHERE group_id = '4'
    [3] => DELETE FROM gallery_banned WHERE expiry < 1134168663
    [4] => SELECT * FROM gallery_banned WHERE ip_addr='12.34.62.219' OR ip_addr='12.34.62.219' OR user_id=1
)

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

==========================
POST :
------------------
Array
(
    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.1.13-standard-log
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
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 4.1.13
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.1.4
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 | 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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | /home/metcover:/usr/lib/php:/usr/local/lib/php:/tmp | 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 | -1 | -1
upload_max_filesize | 50M | 50M
post_max_size | 50M | 50M
==========================
Page generated in 0.045 seconds - 5 queries in 0.001 seconds - Album set :


QuoteOn a side note, as the admin you should be uploading images via FTP and batch adding them to your gallery.  You shouldn't use the web interface - that's for your guests.
I have no need to batch add files to my gallery. At most, I upload three or so images a day, but being able to upload them all at once rather than one at a time is certainly a plus, which is why I need this fixed.
Title: Re: Error Message: Impossible to move.
Post by: kegobeer on December 10, 2005, 04:34:22 AM
I didn't ask for the debug output, I asked for the error message that is displayed when you attempt to upload multiple images.  Switch back to allowing multiple uploads and then post the error message.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 10, 2005, 04:38:07 PM
It's the same error message as I posted above:

QuoteError Report
The following uploads encountered errors:

File Uploads: 
File Name/URL Error Message
1. filename.jpg Impossible to move.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 11, 2005, 11:07:57 AM
If I go ahead and upgrade to CPG 1.4.2 will that fix the error?
Title: Re: Error Message: Impossible to move.
Post by: Joachim Müller on December 11, 2005, 11:13:45 PM
http://forum.coppermine-gallery.net/index.php?topic=23342.0
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 12, 2005, 08:31:06 PM
Quote from: GauGau on December 11, 2005, 11:13:45 PM
http://forum.coppermine-gallery.net/index.php?topic=23342.0

I tried it but I still got the same error. ??? I'm using GD 2.x, so it's not that I need to do the extra edit for GD 1. I don't think my server is running in safe mode anyway, but it is running MySQL 4.1.1.
Title: Re: Error Message: Impossible to move.
Post by: Joachim Müller on December 13, 2005, 08:30:42 AM
Quote from: St. Anger on December 12, 2005, 08:31:06 PM
I don't think my server is running in safe mode anyway
What do you mean by saying that you "think" that your server isn't running in safe mode. You should know it - try to find out by taking a look at the phpinfo page

Quote from: St. Anger on December 12, 2005, 08:31:06 PM, but it is running MySQL 4.1.1.
the mysql version is not related, but the PHP version. Find out about it in phpinfo as well.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 14, 2005, 12:32:31 AM
I "think" it's not running in safe mode because I'm not that knowledgable about hosting, coding, and all that stuff. I get free hosting on a dedicated server from a friend. ;D

Thanks for telling me where to look, here's the information:

The PHP version is 4.4.1.
Safe mode is off.

Thank you for your help, I really really appreciate it.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 15, 2005, 01:52:51 AM
If I go ahead and upgrade to CPG 1.4.2 will the error be resolved? If not, I'll pay someone via PaylPal or donate to Coppermine if a fix can be found for this, I really have to get it fixed before Dec. 24th, preferably as soon as possible. :-\
Title: Re: Error Message: Impossible to move.
Post by: kegobeer on December 15, 2005, 02:09:10 AM
Upgrading may or may not solve the problem.  It won't hurt to upgrade, just make sure to follow the instructions in the documentation.

Also, check your /tmp directory and empty it out if possible.  Also, put this at the top of your init.inc.php file, just before the first function declaration:

error_reporting(E_ALL);

That should enable all error reporting in PHP; attempt another multiple upload and see what error messages are displayed.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 15, 2005, 04:48:16 PM
Thanks for the help, I'll try upgrading.

I checked my /tmp folder but there was nothing in it except some statistics for my bandwidth. I tried adding the code you posted but I still got the same error, nothing new. I put the code just under the Coppermine credits at the top of the init.inc.php file, was that the right place?
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 22, 2005, 10:53:19 PM
I tried upgrading to 1.4.2 but the same error still occurs. :-\

Error Message
Impossible to move.


Any ideas? I'll pay someone via PayPal or donate to Coppermine if the error can be fixed. I really have to get my gallery up and running again as soon as possible...
Title: Re: Error Message: Impossible to move.
Post by: Nibbler on December 23, 2005, 12:07:11 AM
Fixed it for you by recreating the 'edit' directory and chmodding to 777.
Title: Re: Error Message: Impossible to move.
Post by: St. Anger on December 23, 2005, 01:42:22 AM
Thank you again!! ;D I'll donate to Coppermine right now.