Afres migration "0 uploads were successful" Afres migration "0 uploads were successful"
 

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

Afres migration "0 uploads were successful"

Started by smok, January 26, 2009, 02:25:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

smok

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.

Fabricio Ferrero

Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

smok

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.

smok

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
        (
           
  • => 2
                [1] => 1
                [2] => 102
                [3] => 104
                [4] => 105
                [5] => 107
            )

        [disk_max] => 0
        [disk_min] => 0
        [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
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg14x_bridge (0s)
        [3] => SET NAMES 'utf8' (0s)
        [4] => SELECT
             config_name,
             config_value
          FROM
             `ateneo1`.phpbb_config
          WHERE
             config_name IN ('cookie_name', 'session_length', 'allow_autologin', 'max_autologin_time') (0s)
        [5] => SELECT
                   u.*, s.*
                FROM
                   `ateneo1`.phpbb_users u,
                   `ateneo1`.phpbb_sessions s
                WHERE
                   u.user_id = s.session_user_id AND
                   u.user_type != 2 AND
                   u.user_type != 1 AND
                   s.session_id = '573556bed67ecff865bfa3723560caad' (0s)
        [6] => SELECT
                *
             FROM
                `ateneo1`.phpbb_user_group ug,
                `ateneo1`.phpbb_acl_groups ag,
                `ateneo1`.phpbb_acl_roles_data ard,
                `ateneo1`.phpbb_acl_options ao
             WHERE
                ug.user_id = 2 AND
                ug.group_id = ag.group_id AND
                ag.auth_role_id = ard.role_id AND
                ard.auth_setting = 1 AND
                ard.auth_option_id = ao.auth_option_id AND
                (ao.auth_option = 'a_cpgadmin' OR ao.auth_option = 'm_cpgadmin') (0s)
        [7] => SELECT
                   *
                FROM
                   `ateneo1`.phpbb_user_group ug,
                   `ateneo1`.phpbb_acl_groups ag,
                   `ateneo1`.phpbb_acl_options ao
                WHERE
                   ug.user_id = 2 AND
                   ug.group_id = ag.group_id AND
                   ag.auth_option_id = ao.auth_option_id AND
                   ag.auth_setting = 1 AND
                   (ao.auth_option = 'a_cpgadmin' OR ao.auth_option = 'm_cpgadmin') (0s)
        [8] => SELECT
               group_name
            FROM
               `ateneo1`.phpbb_groups
            WHERE
               group_id = 5 (0s)
        [9] => SELECT
                ug.group_id AS group_id,
                u.group_id AS maingroup
             FROM
                `ateneo1`.phpbb_user_group ug,
                `ateneo1`.phpbb_users u
             WHERE
                u.user_id = ug.user_id AND
                u.user_id = 2 (0.001s)
        [10] => 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 cpg14x_usergroups WHERE group_id in (2,1,102,104,105,107) (0s)
        [11] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [12] => UPDATE
                   `ateneo1`.phpbb_sessions
                SET
                    session_time = 1232978902
                WHERE
                   session_id = '573556bed67ecff865bfa3723560caad' (0s)
        [13] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2 (0s)
        [14] => DELETE FROM cpg14x_banned WHERE expiry < '2009-01-26 14:08:22' (0s)
        [15] => SELECT * FROM cpg14x_banned WHERE (ip_addr='79.190.134.98' OR ip_addr='79.190.134.98' OR user_id=2) AND brute_force=0 (0s)
        [16] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
        [17] => SELECT aid, title FROM cpg14x_albums WHERE category='10002' ORDER BY title (0s)
        [18] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    )

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

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

        [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: ;

Fabricio Ferrero

You didn't read docs.  >:(  Would you mind doing it please?

QuoteEnable debug mode for everyone
Failed.
QuoteSet the upload form configuration for all groups to "Single file uploads only"
Failed.
QuoteDo 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"

Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

smok

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.

Joachim Müller

The error message I got was
QuoteNo 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. Did you apply 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)?

smok

Server allow uploads, tmp is ok (as my hosting support guy says), I've made chmod to "albums" and subdirs.
Smok.

smok

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.