can't upload pictures can't figure it out can't upload pictures can't figure it out
 

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]

Main Menu

can't upload pictures can't figure it out

Started by proud*marine*mom, April 12, 2005, 12:19:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

proud*marine*mom

Hi,  I have a website that I want to use for ebay pictures, family pictures, etc.  I coppermine installed and I have read some of the threads and figured I needed to reset some of the access codes so did that and now can upload files, but not pictures.  I don't know what I am doing and am trying to learn.  I feel dumb cause you all know all this stuff and I don't know what I am doing.  When helping please use simple language or I will be lost  :-\\,   I think this would be a fab program if I can get to do what I need it to!
Here is one of the messages I received:  Don't have a clue what it all means though.



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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => carol
    [user_password] => ********
    [user_lastvisit] => 2005-04-10 18:27:00
    [user_regdate] => 2005-04-09 20:14:00
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 4000
    [disk_min] => 4000
    [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] => 4000
    [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) = '3ff48be21c69e253653d87a686474c77'
        [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 < 1113257505
        [5] => SELECT * FROM cpg_banned WHERE ip_addr='66.189.229.227' OR ip_addr='66.189.229.227' OR user_id=1
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.24-standard
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /var/tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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 | /home/just4you/:/usr/lib/php:/usr/local/lib/php:/tmp | 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.051 seconds - 6 queries in 0.001 seconds - Album set :

kegobeer

If you haven't already done so, read the docs that come with Coppermine.  You can either click the documentation link at the top of this very page, or you can navigate to /docs on your site.

What you posted is just debug output.  On your config page, turn debug mode off.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

proud*marine*mom

 I have read the tutorials and still can't figure it -- I did that before I asked for help!!!!!!!!  If I knew more what was wrong would me figure out why and thought that maybe I could have someone steer me in the right direction.  Right now I am in the dark as I can't make head nor tails out of part of the stuff.  Everything looks okay when I read the tutorials and FAQ --and thought I had it when it uploaded files, but it won't let me do jpgs, gifs,  >:(

Nibbler

What does it say when you try ? can you post a link to your site and set up a test user that we can try and upload using.

proud*marine*mom

#4
http://www.album.just4youwebsites.com/index.php  I have made a test user [admin login removed]  THANKS!!  I appreciate any help you can give me!!!!!

I go to upload file, get the browse set up, click it, find the file I want -- a jpg (example), hit upload, 1 uploads were successful.

Please click 'Continue' to add the files to albums.,   File - 3dmail.gif

Please place the files in albums at this time. You may also enter relevant information about each file now.


Album   eBay album 
File title   
File description
--------------------------------------------------------------------------------
Following codes might be useful:
Bold
Italic
Url Text
user@domain.com
   
Keywords (separate with spaces)   
     
The previous file could not be placed.

You have successfully placed all the files.
Then when you check it-- it doesn't appear to be uploaded at all so I don't know if I am missing something / overlooking something, or what.

Nibbler

You have coppermine set to use Imagemagick to resize the pictures, but you have not provided a path to ImageMagick in config. You need to find out what the path is from your host, and then enter it in the ' Path to ImageMagick 'convert' utility' box in config.

proud*marine*mom

I know this sound really stupid -- since I have a few websites I maintain it was cheaper for me to do my own web hosting as a reseller.  Where do I look for that to see if I have it or can I use one of the other options?  I looked and there is a gd1 and gd2 -- how do I find out if I have those?  Sorry about the dumb questions -- but I think once I get it figured out it -- it will be a fantastic program.  Thanks.

Nibbler

You don't have GD1 or GD2 - I already checked. It's not possible for me to see anything to do with ImageMagick though unfortunately. It might be one of these paths,

/bin/
/usr/bin/
/sbin/
/usr/sbin/
/usr/local/bin/
/usr/local/sbin/

or it might not be installed atall. You need to ask whoever looks after the server. If you can get them to enable GD2, that would be a good solution.

proud*marine*mom

I want to say I am really glad you were able to help since I was becoming very frustrated with it.  I have the ImageMagik thing downloading now.  Do I then need to upload it-- it appears from the directions that you install it on your computer though.  I am going to write and see if I can get them to do the gd thing as that would be far easier for me since I am still learning -- but thanks to people like you it gives us a chance to learn as well -- and to think a few years ago I went to my first computer class and didn't know it had an on switch and boy did all the young kids laugh!!!  Even the instructor was amused -- I was not!!  Thanks.