Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: problems with upload  (Read 8942 times)

0 Members and 1 Guest are viewing this topic.

SmileS

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
problems with upload
« on: July 29, 2010, 05:58:37 pm »

I'm having problems with uploading. This problem should be simple, but I can not solve, I can not install the ImageMagick in the host, my server is Linux and I have access to cpanel, I believe that the permissions are correct, I hurry to resolve the problem. I expect a budget.



Code: [Select]
USER:
------------------
Array
(
    [ID] => 82d938292fead1b9302c298d91a3a226
    [lang] => english
    [am] => 1
    [upload_method] => swfupload
)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [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
    [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:178] (0 ms)
    [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `g107282_cop`.cpg15x_sessions WHERE session_id = '72dbff67a575008a7bfaafa7d6358686' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `g107282_cop`.cpg15x_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `g107282_cop`.cpg15x_users AS u LEFT JOIN `g107282_cop`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `g107282_cop`.cpg15x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 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:321] (0 ms)
    [7] => SELECT group_name FROM  cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
    [8] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:326] (0 ms)
    [9] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:384] (0 ms)
    [10] => DELETE FROM cpg15x_banned WHERE expiry < '2010-07-27 16:56:20' [include/init.inc.php:440] (0 ms)
    [11] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '189.100.195.244' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:456] (0 ms)
    [12] => SELECT aid, title, cid, name FROM cpg15x_albums INNER JOIN cpg15x_categories ON cid = category WHERE category < 10000 [upload.php:571] (0 ms)
    [13] => SELECT aid, title FROM cpg15x_albums WHERE category = 0 [upload.php:573] (0 ms)
    [14] => SELECT aid, title FROM cpg15x_albums WHERE category='10001' ORDER BY title [upload.php:599] (0 ms)
    [15] => SELECT user_id AS user_id, user_password AS pass_hash FROM `g107282_cop`.cpg15x_users WHERE user_id = '1' [bridge/udb_base.inc.php:730] (0 ms)
    [16] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2402] (0 ms)
    [17] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [18] => DELETE FROM cpg15x_temp_messages WHERE time < 1280256981 [include/functions.inc.php:4903] (0 ms)
    [19] => SELECT cid, parent, name FROM cpg15x_categories WHERE 1 [upload.php:247] (0 ms)
)

==========================
GET :
------------------
Array
(
    [method] => swfupload
)

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

==========================
COOKIE :
------------------
Array
(
    [2a925b8a1b0a85e28593ee28752e364d] => 53792a1d8a5c1b40017da285d963b371
    [viaponzi_data] => YTozOntzOjI6IklEIjtzOjMyOiJlMmM3MDViMmFkZGUzNGIzNjhlODk1NjMwOTY1ZWRiZCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjt9
    [fe7725bdc270179ca26d439d967cbc11] => e8dc5d63d6ee36602f77993651398760
    [coppermine_data] => YTozOntzOjI6IklEIjtzOjMyOiI2M2EwNTJmOGFmOWQ5YjBlNDc2YmExMTc4Njc3NWJjYyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjt9
    [2d7c217abfe907d23d511abf955457a8] => 8bd2c019ab2cd813d061104b11d51f68
    [cpg15x_data] => YTo0OntzOjI6IklEIjtzOjMyOiI4MmQ5MzgyOTJmZWFkMWI5MzAyYzI5OGQ5MWEzYTIyNiI7czo0OiJsYW5nIjtzOjc6ImVuZ2xpc2giO3M6MjoiYW0iO2k6MTtzOjEzOiJ1cGxvYWRfbWV0aG9kIjtzOjExOiJodG1sX3NpbmdsZSI7fQ==
    [f86e1b978a93da6ce20e02105ec4ca4d] => 07322b77a02fad650923f9a5ae1594cc
    [52deb7fcdf598dc1b4ba4e698504c2cd] => 10d917b1d316e6fe82cba8ef98841d18
    [PHPSESSID] => 46b9affaee675a927913b7722be35e16
)

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

==========================
VERSION INFO :
------------------
PHP version        5.2.10           OK  
MySQL version      5.0.89-community OK  
Coppermine version 1.5.6            stable

==========================
Module: GD
------------------
Exact version                    2.0.34                    
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                      1                        
XBM Support                      1                        
JIS-mapped Japanese Font Support                          

==========================
Key config settings
------------------
site_url             http://www.granviaponzi.com.br/produtos/  
charset              utf-8                                      
allow_private_albums 1                                          
cookie_name          cpg15x                                    
cookie_path          /                                          
impath               home/g107282/imagemagick/bin/              
lang                 english                                    
main_page_layout     breadcrumb/catlist/alblist/random,2/lastup,2
silly_safe_mode      0                                          
smtp_host                                                      
theme                rainy_day                                  
thumb_method         im                                        

==========================
Plugins
------------------

==========================
Server restrictions
------------------
safe_mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
safe_mode_exec_dir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
safe_mode_gid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
safe_mode_include_dir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
sql.safe_mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
disable_functions        shell,symlink,ini_restore,imap_body,imap_list,imap_open,mysql_list_dbs,popen,stream_select,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,socket_strerror,readlink,symlink,link,pfsockopen,ini_alter,dl,openlog,syslog,putenv,pcntl_exec,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,fpassthru,detcwd,system,passthru,exec,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,getmygid,getmyuid,getmypid,pfsockopen,openlog,syslog,filegroup,fileowner,system,exec,disk_free_space,disk_total_space,diskfreespace,chown,grp
file_uploads             1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
include_path             .:/usr/lib/php:/usr/local/lib/php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
open_basedir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
allow_url_fopen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
max_execution_time       330                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
max_input_time           160                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
upload_max_filesize      32M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
post_max_size            28M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
memory_limit             32M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
suhosin.post.max_vars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
suhosin.request.max_vars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          


==========================
Page (performance)
------------------
Parameter        Current   Peak    
Memory usage     558.23 KB 625.44 KB
Page generation  26 ms     26 ms  
Page query time  0 ms      0 ms    
Page query count 20        20      


==========================
                ---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
    upload_url:               /produtos/upload.php
    flash_url:                js/swfupload/swfupload.swf?preventswfcaching=1280260566612
    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:   Todos os arquivos
    file_size_limit:          400 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:         /produtos/images/browse_swf.png
    button_width:             130
    button_height:            20
    button_text:            
    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_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:             /produtos/upload.php
SWF DEBUG: File Types String:      *.*
SWF DEBUG: Parsed File Types:    
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: Todos os arquivos (*.*)
SWF DEBUG: File Size Limit:        409600 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       0
SWF DEBUG: Post Params:
SWF DEBUG:                         process=1
SWF DEBUG:                         user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImUzOTM2OWNjMWQ0YWYwOTZmZjYxNTU1NTI5MjAxMTQ1Ijt9
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: process=1
SWF DEBUG: Global Post Item: album=1
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImUzOTM2OWNjMWQ0YWYwOTZmZjYxNTU1NTI5MjAxMTQ1Ijt9
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /produtos/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: 0. Total: 157676
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 157676. Total: 157676
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: error|Impossível criar a miniatura ou a imagem em tamanho reduzido.|0
SWF DEBUG: Event: uploadComplete : Upload cycle complete.

Thanks in advance
« Last Edit: September 22, 2010, 06:54:56 pm by Jeff Bailey »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: problems with upload
« Reply #1 on: July 29, 2010, 06:25:46 pm »

Why won't you use GD2 instead of ImageMagick?

SmileS

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: problems with upload
« Reply #2 on: July 29, 2010, 07:16:58 pm »

I had all great recommendations on ImageMagick and anyway I do not know how to install I would need someone to make it work
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: problems with upload
« Reply #3 on: August 01, 2010, 08:17:10 pm »

GD is part of the PHP core so it should alredy be installed. Just change the setting in config and you should be fine.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

SmileS

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: problems with upload
« Reply #4 on: August 01, 2010, 08:26:24 pm »

I do not know exactly why but it is not uploading, I tried to use the GD2 but either way is not performing the upload. Could someone do this to me? must be resolved urgently

Thanks Advanced
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: problems with upload
« Reply #5 on: August 01, 2010, 08:41:26 pm »

Potential freelancers I am sure would like to know your budget for the work before offering their services.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

SmileS

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: problems with upload
« Reply #6 on: August 01, 2010, 09:17:26 pm »

I could make a deposit at the bank or can pay by paypal, but I need to resolve this as soon as possible. I look forward to close a budget negotiation. Thanks
Logged

SmileS

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: problems with upload
« Reply #7 on: August 01, 2010, 09:19:59 pm »

Phill you could not solve this for me?
Logged

SmileS

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: problems with upload
« Reply #8 on: August 01, 2010, 09:34:33 pm »

GREAT, GOTTA DO WORK, THANK YOU ALL

I translated the Gallary PHOTO FOR BRAZILIAN PORTUGUESE WHEN IT IS 100% CORRECT I POST 4 ALL USERS
Logged

crishtucker

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: problems with upload
« Reply #9 on: September 22, 2010, 03:38:39 pm »

Check your PHP error log, there are many more PHP ini options may be defined that could interfere with the download process, such as maximum message size, maximum load size, maximum memory usage and other things. Your error log should show these warnings can find what is false.
Logged
Leadership is the key ingredient to make a change.
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 19 queries.