Broken images when uploading Broken images when uploading
 

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

Broken images when uploading

Started by midding, September 03, 2005, 07:12:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

midding

Hi, sorry if this has been posted to hell before.  I couldn't find my problem when I did a search.

I'm trying to get everything to work.  And everything works except uploading images.  Whenever I upload or batch files, they are always broken.  I installed Coppermine through Fantastico (cheating, I know ;D), so I expected everything to work.  I have all the permissions set right and everything.

I was originally trying to use the shop mod.  But, seeing that the images didn't work, I uninstalled and reinstalled Coppermine.  It's a fresh installation, and no images will work.

Is there something I looked over or missed?   ???


midding

http://thephotogallery.ca/sever

I've tried it on two different hosts and it works on one but not the other.  I'm sure it's a problem with the host this is on.  It would really help me if you could tell me what to notify my provider about.

Nibbler

Please configure your gallery and post a test account as requested in the link I posted.

anesthezea

Quote from: Nibbler on September 03, 2005, 08:32:35 PM
Please post a link to your site.

http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php

i'm also having this problem and saw your help here. i'm using imagemagik and am currently waiting to hear back from my webhost as to the path of it (as suggested in another thread similar to this one), but while searching for more info on this problem, i came across this post and hope that something here can help me as well. i've checked my permissions and they are correct, i believe. in case this can help me too, i've created the test account and done the debug mentioned above. thank you for your time!

http://bruisepristine.net/gallery

user: testuser
pw: testuserpw

this is my debug:

USER:
------------------
Array
(
    [ID] => bd9194bbb96378b228bfe268a98a28ef
    [am] => 1
    [liv] => Array
        (
           
  • => 1
                [1] => 4
                [2] => 5
                [3] => 2
                [4] => 3
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => *******
        [user_password] => ********
        [user_lastvisit] => 2005-10-06 17:36:28
        [user_regdate] => 2005-10-06 17:35:52
        [user_group_list] =>
        [user_email] => *******
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [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] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg_filetypes;
        [1] => SELECT * FROM cpg_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '85497d5fd295c2d242e25b1aad9f1b3f'
        [2] => 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 cpg_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg_banned WHERE expiry < '2005-10-06 23:58:59'
        [5] => SELECT * FROM cpg_banned WHERE ip_addr='12.215.156.58' OR ip_addr='12.215.156.58' OR user_id=1
        [6] => UPDATE cpg_usergroups SET group_name='Administrators',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='3',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '1' LIMIT 1
        [7] => UPDATE cpg_usergroups SET group_name='Registered',group_quota='1024',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='1',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '2' LIMIT 1
        [8] => UPDATE cpg_usergroups SET group_name='Anonymous',group_quota='0',can_rate_pictures='1',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='1',can_create_albums='0',priv_upl_need_approval='1',upload_form_config='0',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '3' LIMIT 1
        [9] => UPDATE cpg_usergroups SET group_name='Banned',group_quota='0',can_rate_pictures='0',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='1',can_create_albums='0',priv_upl_need_approval='1',upload_form_config='0',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '4' LIMIT 1
        [10] => SELECT * FROM cpg_usergroups WHERE 1 ORDER BY group_id
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [group_id] => Array
            (
               
  • => 1
                [1] => 2
                [2] => 3
                [3] => 4
            )

        [group_name_1] => Administrators
        [group_quota_1] => 0
        [can_rate_pictures_1] => 1
        [can_send_ecards_1] => 1
        [can_post_comments_1] => 1
        [can_upload_pictures_1] => 1
        [pub_upl_need_approval_1] => 0
        [can_create_albums_1] => 1
        [priv_upl_need_approval_1] => 0
        [upload_form_config_1] => 3
        [custom_user_upload_1] => 0
        [num_file_upload_1] => 5
        [num_URI_upload_1] => 3
        [group_name_2] => Registered
        [group_quota_2] => 1024
        [can_rate_pictures_2] => 1
        [can_send_ecards_2] => 1
        [can_post_comments_2] => 1
        [can_upload_pictures_2] => 1
        [pub_upl_need_approval_2] => 1
        [can_create_albums_2] => 1
        [priv_upl_need_approval_2] => 0
        [upload_form_config_2] => 0
        [custom_user_upload_2] => 0
        [num_file_upload_2] => 5
        [num_URI_upload_2] => 3
        [group_name_3] => Anonymous
        [group_quota_3] => 0
        [can_rate_pictures_3] => 1
        [can_send_ecards_3] => 0
        [can_post_comments_3] => 0
        [can_upload_pictures_3] => 0
        [pub_upl_need_approval_3] => 1
        [can_create_albums_3] => 0
        [priv_upl_need_approval_3] => 1
        [upload_form_config_3] => 0
        [custom_user_upload_3] => 0
        [num_file_upload_3] => 5
        [num_URI_upload_3] => 3
        [group_name_4] => Banned
        [group_quota_4] => 0
        [can_rate_pictures_4] => 0
        [can_send_ecards_4] => 0
        [can_post_comments_4] => 0
        [can_upload_pictures_4] => 0
        [pub_upl_need_approval_4] => 1
        [can_create_albums_4] => 0
        [priv_upl_need_approval_4] => 1
        [upload_form_config_4] => 0
        [custom_user_upload_4] => 0
        [num_file_upload_4] => 5
        [num_URI_upload_4] => 3
        [apply_modifs] => Apply modifications
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.3.4
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 1
    Active Links 2
    Client API version 4.0.25
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.0.7
    Linked Version 1.2.0.7
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    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 | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.056 seconds - 11 queries in 0.002 seconds - Album set :

Joachim Müller

Don't cross-post. You need to find out the path to ImageMagick - only your webhost can help, as suggested on the other thread. However, the tutorial you refer to says to post the actual error message (not the debug_ouput) and to post a link and non-admin test user account. You have done none of the above. After all, you won't have to though, as we already know what the problem is: wrong ImageMagick path. Please keep posting in the other thread if your webhost can not give you the ImageMagick path and stay out of this one.