forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: smok on January 26, 2009, 02:25:22 pm

Title: Afres migration "0 uploads were successful"
Post by: smok on January 26, 2009, 02:25:22 pm
Hi. After server migration I've stuck on problem. Gallery says "0 uploads were successful". I've tried to change imagemagic path, GD1, GD2, and - naturally - permissions. Nothing helps. I can logon, but cant post pics. Whats wrong? My Coppermine is v1.4.19. It's bridged with phpBB 3.0.1 (it has been working like a charm due to server change). Forum works right.
Please help :)
Smok.
Title: Re: Afres migration "0 uploads were successful"
Post by: Fabricio Ferrero on January 26, 2009, 02:32:23 pm
Please, read docs and do as suggested.

Go to: Upload troubleshooting (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble) and read Asking for support on upload issues (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support) too.
Title: Re: Afres migration "0 uploads were successful"
Post by: smok on January 26, 2009, 03:04:01 pm
Okay - first fix for my message.
My gallery is here: www.oms.vrt.pl/galeria test user is named "test" and password is "testtest". I'm reading rest of "howto" now :D.
Title: Re: Afres migration "0 uploads were successful"
Post by: smok on January 26, 2009, 03:12:13 pm
And error info...

USER:
------------------
Array
(
    [ID] => 790f2a0c1a5b7c9805817271fc4b704b
    [am] => 1
    [lang] => polish
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => smok
    [group_name] => Administrators
    [groups] => Array
        (
            [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 0
    [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
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [URI_array] => Array
        (
            [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.66a-log
------------------
Coppermine version: 1.4.19(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 5.0.33
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /usr/run/mysql
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/:/usr/php/pear | .:/:/usr/php/pear
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 | -1 | -1
upload_max_filesize | 64M | 64M
post_max_size | 64M | 64M
==========================
Page generated in 0.027 seconds - 19 queries in 0.001 seconds - Album set : ; Meta set: ;
Title: Re: Afres migration "0 uploads were successful"
Post by: Fabricio Ferrero on January 26, 2009, 03:31:28 pm
You didn't read docs.  >:(  Would you mind doing it please?

Quote
Enable debug mode for everyone
Failed.
Quote
Set the upload form configuration for all groups to "Single file uploads only"
Failed.
Quote
Do not post debug_output unless requested.
Failed.

Did you read the last line? "Failing to do exactly as suggested will result in your request for help being ignored"

Title: Re: Afres migration "0 uploads were successful"
Post by: smok on January 26, 2009, 03:55:55 pm
I do apologize. I'ts everything about hurry. I was in job and trying to resolve private problem to quick. Sorry. Don't be mad. I think I've done everything now.
Smok.
Title: Re: Afres migration "0 uploads were successful"
Post by: Joachim Müller on January 28, 2009, 09:44:06 am
The error message I got was
Quote
No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...
Well: does the server allow uploads? Try to find out using the output of phpinfo (http://www.oms.vrt.pl/galeria/phpinfo.php). Did you apply permissions (http://www.oms.vrt.pl/galeria/docs/#permissions) on file system level (CHMOD) after migrating? Is PHP's temporary folder there and is it writtable for the user your account runs under (ask your webhost if you're not sure)?
Title: Re: Afres migration "0 uploads were successful"
Post by: smok on January 28, 2009, 06:40:17 pm
Server allow uploads, tmp is ok (as my hosting support guy says), I've made chmod to "albums" and subdirs.
Smok.
Title: Re: Afres migration "0 uploads were successful"
Post by: smok on January 28, 2009, 08:16:08 pm
Yeah.... it's solved. Yes - as admin told me, there was a tmp folder, but.... privileges wasn't set to allow write :D Now everything works fine. Thank You Joachim very, very much. Dziękuję.
Smok.