Help me please? Help me please?
 

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

Help me please?

Started by urban lover, July 22, 2005, 04:36:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

urban lover

I am having a lot of trouble with my Coppermine Gallery. I uploaded a file and it doesn't show up. When I went to create a new album it won't allow me to. I don't know what is going on.
Help me please?USER:
------------------
Array
(
    [ID] => 1800aa2a5427b1ccad5d2969bc7a0c80
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => admin
    [user_password] => ********
    [user_lastvisit] => 2005-07-18 15:22:38
    [user_regdate] => 2005-07-18 15:22:07
    [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] => 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
(
   
  • => 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) = '8173373335fc37434d43560885cfd97c'
        [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-07-21 21:33:05'
        [5] => SELECT * FROM CPG_banned WHERE ip_addr='71.2.207.169' OR ip_addr='71.2.207.169' OR user_id=1
        [6] => SELECT cid FROM CPG_categories WHERE 1
        [7] => UPDATE CPG_categories SET parent = '0' WHERE parent=cid OR parent NOT IN (1,2)
        [8] => SELECT cid, name, description FROM CPG_categories WHERE parent = '0' ORDER BY pos
        [9] => SELECT cid, name, description FROM CPG_categories WHERE parent = '1' ORDER BY pos
        [10] => SELECT cid, name, description FROM CPG_categories WHERE parent = '2' ORDER BY pos
        [11] => UPDATE CPG_categories SET pos='0' WHERE cid = '1' LIMIT 1
        [12] => UPDATE CPG_categories SET pos='1' WHERE cid = '2' LIMIT 1
        [13] => SELECT pid, filepath, filename, url_prefix FROM CPG_pictures,CPG_albums WHERE CPG_pictures.aid = CPG_albums.aid AND CPG_albums.category = '' AND approved='YES' ORDER BY filename
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.0 - OK
    ------------------
    mySQL version: 4.0.24-standard
    ------------------
    Coppermine version: 1.3.3
    ==========================
    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 0
    Active Links 1
    Client API version 4.0.16
    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.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/local/lib/php | .:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/local/bin/sendmail -t -i  | /usr/local/bin/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 | 8M | 8M
    ==========================
    Page generated in 0.097 seconds - 14 queries in 0.01 seconds - Album set :

kegobeer

You need to be more specific about your problems.

QuoteWhen I went to create a new album it won't allow me to.

What error message do you get?  Exactly how are you trying to create an album?  As the admin in the album manager or as a regular user?  If a regular user, have you allowed personal galleries?

QuoteI uploaded a file and it doesn't show up.

How did you upload this file?  Using your FTP client, uploading to a directory in the /albums directory but not in the userpics directory, then attempting to batch add the file?  Or are you trying to upload a file as a regular user thru the web interface?

Have you read the documentation yet?

How to ask your question.
What should I do first?
General upload troubleshooting.
Troubleshooting the upload process.
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

urban lover

I uploaded the file as admin and used cuteftp to place it in albums. That is where I was told to place it.
This is the message I get when I try to upload a file:File: /hsphere/local/home/urbanlov/karl-images.com/coppermine/editpics.php - Line: 463

kegobeer

You have to create an album first before you can place any pictures in your gallery.  Use the album manager to create an album.  Then, use your FTP program to make a directory in /albums, but not in /userpics or /edit.  Make sure the permissions are set at 777.  Then batch add the picture to your album.

Please review the documentation - the entire process is fully explained.
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

urban lover

Thank you,
I have read it twice all ready but wasn't sure what that meant