coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: The_anTr0 on November 10, 2005, 04:57:59 AM

Title: HELP ME, I CANT UPLOAD IMAGES
Post by: The_anTr0 on November 10, 2005, 04:57:59 AM
when i upload an image, shows "Please click CONTINUE to add the files to albums" when i prees continue, shows a error like this :

Warning: exec() has been disabled for security reasons in /home/exeding/public_html/album/include/picmgmt.inc.php on line 162

Warning: chmod(): No such file or directory in /home/exeding/public_html/album/include/picmgmt.inc.php on line 224

Warning: getimagesize(./albums/edit/preview_307b377f.JPG): failed to open stream: No such file or directory in /home/exeding/public_html/album/include/picmgmt.inc.php on line 226

and i can't put the files on the albums, somebody help me please!!!! Thanks and sorry for my english
Title: Re: HELP ME, I CANT UPLOAD IMAGES
Post by: Joachim Müller on November 10, 2005, 07:51:51 AM
You can't use ImageMagick on a host that runs in safe_mode. Search the board for the passthru workaround, or use GD instead of ImageMagick (recommended), or make your host disable safe_mode for you (although they probably won't). Read the sticky threads on this sub-board.
Title: Re: HELP ME, I CANT UPLOAD IMAGES
Post by: The_anTr0 on November 15, 2005, 07:54:03 AM
there is my debug code:

USER:
------------------
Array
(
    [ID] => d420f141a9c936c93eff1481552eadb8
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => exeding
    [user_password] => ********
    [user_lastvisit] => 2005-11-14 22:46:05
    [user_regdate] => 2005-10-26 15:36:31
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://www.exeding.com
    [user_location] => Cd. JuareZ
    [user_interests] => EXEDING TEAM
    [user_occupation] => Beers, Cars and GirL
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [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
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: HELP ME, I CANT UPLOAD IMAGES
Post by: Joachim Müller on November 15, 2005, 08:07:18 AM
I didn't ask for it. How is it suppossed to help? You don't appear to have GD, so you'll have to concentrate on ImageMagick. Search the board for the passthru workaround. If you can't use it, you won't be able to use coppermine on your server setup. Another option would be to ask your webhost for support or switch webhosts - imo, you shouldn't be on "crippled" webhosting like yours if you actually pay for it.