Thumbnails error on upload.php Thumbnails error on upload.php
 

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

Thumbnails error on upload.php

Started by allvip, June 09, 2014, 09:55:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

allvip

I had this problem before but I upgraded coppermine and everything was solved.
I just upgraded an hour ago to 1.5.28 but nothing.
I followed all instructions on http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm and talked with the host.
Gallery at http://allvip.us/gallery
Error message: view attachment.Images uploaded,thumbnails are created but on upload.php it looks like it failed.
Here's the test user account data:
    Username: tester 
    Password: tester
    Album: tester

Debug info for the adimn:


==========================
Server restrictions
------------------
safe_mode                0                         
safe_mode_exec_dir       /usr/local/php/bin       
safe_mode_gid            0                         
safe_mode_include_dir                             
sql.safe_mode            0                         
disable_functions                                 
file_uploads             1                         
include_path             .:/usr/local/php53/lib/php
open_basedir                                       
allow_url_fopen          1                         
max_execution_time       120                       
max_input_time           60                       
upload_max_filesize      20M                       
post_max_size            20M                       
memory_limit             200M                     
suhosin.post.max_vars                             
suhosin.request.max_vars             


all:


USER:
------------------
Array
(
    [ID] => ec0977e7cc5cbbfbc5447fd409f32159
    [liv] => Array
        (
            [0] => 32593
        )

    [upload_method] => swfupload
    [search] => Array
        (
            [params] => Array
                (
                    [title] => on
                    [type] => AND
                    [newer_than] =>
                    [older_than] =>
                )

            [search] => car
        )

    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => allvip
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [access_level] => 3
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [can_create_public_albums] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:179] (0.2 ms)
    [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:52] (0.06 ms)
    [2] => SELECT user_id, time FROM `allvip_cp`.cpg15x_sessions WHERE session_id = '52b8ccb17e20bdcba2c1a19bc3cc19f7' [bridge/coppermine.inc.php:267] (0.08 ms)
    [3] => SELECT user_id, user_password FROM `allvip_cp`.cpg15x_users WHERE user_id = 1 [bridge/coppermine.inc.php:279] (0.05 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `allvip_cp`.cpg15x_users AS u LEFT JOIN `allvip_cp`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0.05 ms)
    [5] => SELECT user_group_list FROM `allvip_cp`.cpg15x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:205] (0.05 ms)
    [6] => 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(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, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg15x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:323] (0.06 ms)
    [7] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:327] (2.4 ms)
    [8] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:340] (0.1 ms)
    [9] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:333] (0.14 ms)
    [10] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:391] (1.32 ms)
    [11] => DELETE FROM cpg15x_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE [plugins/onlinestats/codebase.php:122] (0.29 ms)
    [12] => REPLACE INTO cpg15x_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'allvip', '92.82.249.107', NOW()) [plugins/onlinestats/codebase.php:125] (0.21 ms)
    [13] => DELETE FROM cpg15x_banned WHERE expiry < '2014-06-09 03:47:59' [include/init.inc.php:447] (0.11 ms)
    [14] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '92.82.249.107' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:463] (0.05 ms)
    [15] => SELECT aid, title, cid, name FROM cpg15x_albums INNER JOIN cpg15x_categories ON cid = category WHERE category < 10000 [upload.php:495] (3.92 ms)
    [16] => SELECT aid, title FROM cpg15x_albums WHERE category = 0 [upload.php:497] (0.62 ms)
    [17] => SELECT aid, title FROM cpg15x_albums WHERE category='10001' ORDER BY title [upload.php:523] (0.46 ms)
    [18] => SELECT user_id AS user_id, user_password AS pass_hash FROM `allvip_cp`.cpg15x_users WHERE user_id = '1' [bridge/udb_base.inc.php:729] (0.18 ms)
    [19] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2421] (0.06 ms)
    [20] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2246] (0.06 ms)
    [21] => SELECT aid, title, category FROM cpg15x_albums ORDER BY pos [include/functions.inc.php:5917] (1.32 ms)
    [22] => SELECT cid, rgt, name FROM cpg15x_categories ORDER BY lft [include/functions.inc.php:5937] (0.15 ms)
    [23] => SELECT user_id AS user_id, user_name AS user_name FROM `allvip_cp`.cpg15x_users ORDER BY user_name [include/functions.inc.php:5961] (0.97 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiJlYzA5NzdlN2NjNWNiYmZiYzU0NDdmZDQwOWYzMjE1OSI7czozOiJsaXYiO2E6MTp7aTowO3M6NToiMzI1OTMiO31zOjEzOiJ1cGxvYWRfbWV0aG9kIjtzOjk6InN3ZnVwbG9hZCI7czo2OiJzZWFyY2giO2E6Mjp7czo2OiJwYXJhbXMiO2E6NDp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo0OiJ0eXBlIjtzOjM6IkFORCI7czoxMDoibmV3ZXJfdGhhbiI7czowOiIiO3M6MTA6Im9sZGVyX3RoYW4iO3M6MDoiIjt9czo2OiJzZWFyY2giO3M6MzoiY2FyIjt9czoyOiJhbSI7aToxO30=
    [92ded2ae0fb8b9141aac78705d975e77] => 1804dabbd2992060f5d8b59c44479aab
    [rtbPagerPage11340] => 1
    [rtb_history11340] => 25:5|25:6|25:7|25:8|25:9|25:6|25:7|25:8|25:9|25:10
    [rtb11340p] => 10
    [rtb11340p21] => 2
    [PHPSESSID] => 6df28e6a77f2b446aee875037d6df6ef
    [rtb11340p25] => 10
)

==========================
SESSION :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version        5.3.28                   OK   
MySQL version      5.5.32-percona-sure1-log OK   
Coppermine version 1.5.28                   stable

==========================
Module: GD
------------------
Exact version                    2.1.0                     
GD Version                       bundled (2.1.0 compatible)
FreeType Support                 1                         
FreeType Linkage                 with freetype             
T1Lib Support                    1                         
GIF Read Support                 1                         
GIF Create Support               1                         
JPEG Support                     1                         
PNG Support                      1                         
WBMP Support                     1                         
XPM Support                                               
XBM Support                      1                         
JIS-mapped Japanese Font Support                           

==========================
Key config settings
------------------
site_url             http://allvip.us/gallery/ 
charset              utf-8                     
allow_private_albums 0                         
cookie_name          cpg15x                     
cookie_path          /                         
impath               /usr/bin/                 
lang                 english                   
main_page_layout     breadcrumb/alblist/lastup,3
silly_safe_mode      0                         
smtp_host                                       
theme                curve2                     
thumb_method         gd2                       

==========================
Plugins
------------------
Name           Category List Change Layout                                                   
Actions        plugin_install, plugin_uninstall                                             
Filters        main_page_layout                                                             
--------------
Name           Hot pictures                                                                 
Actions        page_start, plugin_install, plugin_uninstall                                 
Filters        file_data, meta_album_get_pic_pos, meta_album                                 
--------------
Name           BBCode Control                                                               
Actions        plugin_install, plugin_uninstall, plugin_cleanup                             
Filters        admin_menu, bbcode, theme_add_comment, theme_edit_comment                     
--------------
Name           Link target                                                                   
Actions        page_start                                                                   
Filters                                                                                     
--------------
Name           jQuery update                                                                 
Actions                                                                                     
Filters        page_html                                                                     
--------------
Name           Who is online?                                                               
Actions        plugin_install, page_start, plugin_uninstall, plugin_cleanup, plugin_configure
Filters        plugin_block                                                                 
--------------

==========================
Server restrictions
------------------
safe_mode                0                         
safe_mode_exec_dir       /usr/local/php/bin       
safe_mode_gid            0                         
safe_mode_include_dir                             
sql.safe_mode            0                         
disable_functions                                 
file_uploads             1                         
include_path             .:/usr/local/php53/lib/php
open_basedir                                       
allow_url_fopen          1                         
max_execution_time       120                       
max_input_time           60                       
upload_max_filesize      20M                       
post_max_size            20M                       
memory_limit             200M                     
suhosin.post.max_vars                             
suhosin.request.max_vars                           


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     3.93 MiB 4.58 MiB
Page generation  66.16 ms 66.16 ms
Page query time  12.91 ms 12.91 ms
Page query count 24       24     


==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url:               /gallery/upload.php
flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1402300081892
use_query_string:         false
requeue_on_error:         false
http_success:             
assume_success_timeout:   0
file_post_name:           Filedata
post_params:              [object Object]
file_types:               *.*
file_types_description:   All Files
file_size_limit:          5400 KB
file_upload_limit:        0
file_queue_limit:         0
debug:                    true
prevent_swf_caching:      true
button_placeholder_id:    browse_button_place_holder
button_placeholder:       Not Set
button_image_url:         /gallery/images/browse_swf.png
button_width:             130
button_height:            20
button_text:              Browse...
button_text_style:        .browse { font-family: Arial,Helvetica,sans-serif; color: #D0CFD0;}
button_text_top_padding:  0
button_text_left_padding: 30
button_action:            -110
button_disabled:          true
custom_settings:          [object Object]
Event Handlers:
swfupload_loaded_handler assigned:  true
file_dialog_start_handler assigned: false
file_queued_handler assigned:       true
file_queue_error_handler assigned:  true
upload_start_handler assigned:      true
upload_progress_handler assigned:   true
upload_error_handler assigned:      true
upload_success_handler assigned:    true
upload_complete_handler assigned:   true
debug_handler assigned:             true

SWFUpload.SWFObject Plugin settings:
minimum_flash_version:                      9.0.28
swfupload_pre_load_handler assigned:     true
swfupload_load_failed_handler assigned:     true

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number:           SWFUPLOAD 2.2.0
SWF DEBUG: movieName:              SWFUpload_0
SWF DEBUG: Upload URL:             /gallery/upload.php
SWF DEBUG: File Types String:      *.*
SWF DEBUG: Parsed File Types:     
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit:        5529600 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6IjU3ODg4OWUwMmU4ZjgxMjAxMGQzYWIxYjc4YjA5OGU2Ijt9
SWF DEBUG:                         timestamp=1402300079
SWF DEBUG:                         process=1
SWF DEBUG:                         form_token=936c00ff80e8bd3e6c9f18c39f7e7406
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6IjU3ODg4OWUwMmU4ZjgxMjAxMGQzYWIxYjc4YjA5OGU2Ijt9
SWF DEBUG: Global Post Item: timestamp=1402300079
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: Global Post Item: form_token=936c00ff80e8bd3e6c9f18c39f7e7406
SWF DEBUG: Global Post Item: album=728
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /gallery/upload.php for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 5141. Total: 5141
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: success0|albums/userpics/10001/thumb_shelter.jpg
SWF DEBUG: Event: uploadComplete : Upload cycle complete.

allvip

I had so many times uplod errors in the past (the gallery was at a diffrent host) but by now is driving me crazy.
Just like that with no reason is doesnot won't to work.

php.ini :


zend_extension = /usr/local/ioncube/ioncube.so
register_globals = Off
magic_quotes_gpc = Off
post_max_size = 20M
memory_limit = 200M
upload_max_filesize = 20M
max_execution_time = 120
expose_php = Off
session.save_path = /tmp

mysql.default_socket = /tmp/mysql5.sock
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

max_input_time = 60

allvip

I downloaded all the gallery folder (without the albums directory) and exported the database in my computer.

I have Apache,PHP,MySql and phpMyAdmin installed in my computer.

http://localhost/gallery/upload.php - same error.

I edited include/config.inc.php to take another database I have on my computer from another coppermine installation.

Is working fine.

I do not understand what the database has to do with upload.php.

allvip

Now I use HTML5 multi-file upload plugin that is better then flash upload.
http://forum.coppermine-gallery.net/index.php/topic,75927.0.html

found no way to fix flash upload but is not important anymore.

allvip

Is not important for me anymore but I just notice why is working with another database.The other database has no jQuery update installed.

Uninstalled jQuery update plugin and now is working.
Maybe upload.js needs jquery.1.3.2.js.

allvip

I removed the message about the yahoo database.
I made a mistake.Is working fine with the database exported from my ex host yahoo.