I am not able to create category on coppermine gallery I am not able to create category on coppermine gallery
 

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

I am not able to create category on coppermine gallery

Started by ankit001, May 09, 2006, 01:19:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ankit001

Hello Friends,

This is Ankit, I am web designer, I have install coppermine on my server by using C panel fantastico. Everything is working perfectly,  but when I create category, it shows me that "500 Internal Server Error" - The server encountered an internal error or misconfiguration and was unable to complete your request.

I can create Album yet, But I would like to create albums under different categories.

Debug Info
USER:
------------------
Array
(
    [ID] => 16b4529a2245a74058209fb4006cc491
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => khayaal
    [groups] => Array
        (
           
  • => 1
            )

        [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
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
        [1] => select * from cpg_plugins order by priority asc; (0.001s)
        [2] => delete from `khayaala_copp1`.cpg_sessions where time<1147165699 and remember=0; (0.001s)
        [3] => delete from `khayaala_copp1`.cpg_sessions where time<1145959699; (0s)
        [4] => select user_id from `khayaala_copp1`.cpg_sessions where session_id=md5("19f560cfcf666b8247fe3d4a2cd56f16e627d8905b52d721036fce2216818d28"); (0.001s)
        [5] => select user_id as id, user_password as password from `khayaala_copp1`.cpg_users where user_id=1 (0.001s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `khayaala_copp1`.cpg_users AS u INNER JOIN `khayaala_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `khayaala_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
        [8] => 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) (0.001s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0.001s)
        [10] => update `khayaala_copp1`.cpg_sessions set time='1147169299' where session_id=md5('19f560cfcf666b8247fe3d4a2cd56f16e627d8905b52d721036fce2216818d28'); (0.001s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2006-05-09 10:08:20' (0.001s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='210.211.254.223' OR ip_addr='210.211.254.223' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT cid FROM cpg_categories WHERE 1 (0.001s)
        [15] => UPDATE cpg_categories SET parent = '0' WHERE parent=cid OR parent NOT IN (1,2) (0s)
        [16] => SELECT cid, name, description FROM cpg_categories WHERE parent = '0' ORDER BY name (0.001s)
        [17] => SELECT cid, name, description FROM cpg_categories WHERE parent = '2' ORDER BY name (0.001s)
        [18] => SELECT cid, name, description FROM cpg_categories WHERE parent = '1' ORDER BY name (0.001s)
        [19] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
        [20] => 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 (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.4.2(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    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.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 | system,exec | system,exec
    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 | 230 | 230
    max_input_time | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.13 seconds - 21 queries in 0.019 seconds - Album set : ; Meta set: ;


    Notices
    /include/plugin_api.inc.php
    Notice line 651: Only variable references should be returned by reference
    /include/themes.inc.php
    Warning line 1192: Cannot modify header information - headers already sent by (output started at /home/khayaala/public_html/gallery/catmgr.php:27)
    /include/functions.inc.php
    Warning line 162: Cannot modify header information - headers already sent by (output started at /home/khayaala/public_html/gallery/catmgr.php:27)
    /catmgr.php
    Notice line 445: Undefined variable: description_help


    What should I do to solve this problem?
    Can anyone help me?

    Regards,
    Ankit

Aditya Mooley

We can't say anything about the installations done through any 3rd party installers. Try a clean installtion by downloading a copy from here.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

ankit001

Thanks for your quick reply,
I Have install coppermine as per your direction, but still getting same problem,
What should I do to solve this problem?

--- Ankit

Abbas Ali

For a start provide a link to your gallery along with test user account.

Also check your server logs for the error messages.
Chief Geek at Ranium Systems

Joachim Müller

Please don't post debug_output unless requested, it clutters the board. Do as Abbas Ali suggested instead.