Advanced search  

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

Pages: [1]   Go Down

Author Topic: Cannot add new group - ASAP please  (Read 2901 times)

0 Members and 1 Guest are viewing this topic.

harmanhoog

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Cannot add new group - ASAP please
« on: April 10, 2008, 04:56:54 pm »

I previously had the problem of having had all my users not show up in the user list and it turned out the groups were missing. After several hours of trying to reconstruct the usergroup table, I had to give up and just delete the old coppermine installation and reinstall a clean installation because I was too close to a deadline. Now I have about 14 groups along with albums and users and I can no longer add a new group. I click add new group, type in the new group name and after I apply the modifications the group name is no longer there, only a blank field.
http://www.quilterskeeplearning.com/public_html/index.php
Logged

Nibbler

  • Guest
Re: Cannot add new group - ASAP please
« Reply #1 on: April 10, 2008, 05:11:31 pm »

Enable debug mode and post the debug info you get immediately after attempting to add a group.
Logged

harmanhoog

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Cannot add new group - ASAP please
« Reply #2 on: April 11, 2008, 01:20:55 am »

USER:
------------------
Array
(
    [ID] => c40acb38afd27806d920435578caf808
    [am] => 1
    [lang] => english
    [sort] => da
    [lap] => 3
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [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 `quilgcom_copp1`.cpg_sessions where time<1207865895 and remember=0; (0.001s)
        [3] => delete from `quilgcom_copp1`.cpg_sessions where time<1206659895; (0s)
        [4] => select user_id from `quilgcom_copp1`.cpg_sessions where session_id=md5("11fab8d49f7df86bf6cf83ed5730c7d272c799323419ad44431e97ecee0da5b8"); (0s)
        [5] => select user_id as id, user_password as password from `quilgcom_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 `quilgcom_copp1`.cpg_users AS u INNER JOIN `quilgcom_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 `quilgcom_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [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 (0s)
        [10] => update `quilgcom_copp1`.cpg_sessions set time='1207869495' where session_id=md5('11fab8d49f7df86bf6cf83ed5730c7d272c799323419ad44431e97ecee0da5b8'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2008-04-10 23:18:15' (0.001s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='74.61.33.93' OR ip_addr='74.61.33.93' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT group_id, group_name FROM cpg_usergroups WHERE 1 (0s)
        [15] => UPDATE cpg_usergroups SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1 (0s)
        [16] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
        [17] => SELECT * FROM cpg_usergroups WHERE 1 ORDER BY group_id (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[group_id] => Array
        (
           
  • => 1
  • [1] => 2
                [2] => 3
                [3] => 4
                [4] => 5
                [5] => 6
                [6] => 7
                [7] => 8
                [8] => 9
                [9] => 10
                [10] => 11
                [11] => 12
                [12] => 13
                [13] => 14
                [14] => 15
                [15] => 16
                [16] => 17
                [17] => 18
            )

       
[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
    [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
    [custom_user_upload_2] => 0
    [num_file_upload_2] => 5
    [num_URI_upload_2] => 3
    [group_name_3] => Guests
    [group_name_4] => Banned
    [group_name_5] => Altered_Photo_II
    [group_quota_5] => 0
    [can_rate_pictures_5] => 0
    [can_send_ecards_5] => 1
    [can_post_comments_5] => 0
    [can_upload_pictures_5] => 1
    [pub_upl_need_approval_5] => 0
    [can_create_albums_5] => 1
    [priv_upl_need_approval_5] => 0
    [custom_user_upload_5] => 0
    [num_file_upload_5] => 5
    [num_URI_upload_5] => 3
    [group_name_6] => Altered_Photo_Portrait
    [group_quota_6] => 0
    [can_rate_pictures_6] => 0
    [can_send_ecards_6] => 1
    [can_post_comments_6] => 1
    [can_upload_pictures_6] => 1
    [pub_upl_need_approval_6] => 0
    [can_create_albums_6] => 1
    [priv_upl_need_approval_6] => 0
    [custom_user_upload_6] => 0
    [num_file_upload_6] => 5
    [num_URI_upload_6] => 3
    [group_name_7] => Altered_Photo_Intro
    [group_quota_7] => 0
    [can_rate_pictures_7] => 0
    [can_send_ecards_7] => 1
    [can_post_comments_7] => 1
    [can_upload_pictures_7] => 1
    [pub_upl_need_approval_7] => 0
    [can_create_albums_7] => 1
    [priv_upl_need_approval_7] => 0
    [custom_user_upload_7] => 0
    [num_file_upload_7] => 5
    [num_URI_upload_7] => 3
    [group_name_8] => Angelina
    [group_quota_8] => 0
    [can_rate_pictures_8] => 0
    [can_send_ecards_8] => 1
    [can_post_comments_8] => 1
    [can_upload_pictures_8] => 1
    [pub_upl_need_approval_8] => 0
    [can_create_albums_8] => 1
    [priv_upl_need_approval_8] => 0
    [custom_user_upload_8] => 0
    [num_file_upload_8] => 5
    [num_URI_upload_8] => 3
    [group_name_9] => Bargello
    [group_quota_9] => 0
    [can_rate_pictures_9] => 0
    [can_send_ecards_9] => 1
    [can_post_comments_9] => 1
    [can_upload_pictures_9] => 1
    [pub_upl_need_approval_9] => 0
    [can_create_albums_9] => 1
    [priv_upl_need_approval_9] => 0
    [custom_user_upload_9] => 0
    [num_file_upload_9] => 5
    [num_URI_upload_9] => 3
    [group_name_10] => Photoshop
    [group_quota_10] => 0
    [can_rate_pictures_10] => 0
    [can_send_ecards_10] => 1
    [can_post_comments_10] => 1
    [can_upload_pictures_10] => 1
    [pub_upl_need_approval_10] => 1
    [can_create_albums_10] => 1
    [priv_upl_need_approval_10] => 0
    [custom_user_upload_10] => 0
    [num_file_upload_10] => 5
    [num_URI_upload_10] => 3
    [group_name_11] => Dreamwatcher
    [group_quota_11] => 0
    [can_rate_pictures_11] => 0
    [can_send_ecards_11] => 1
    [can_post_comments_11] => 1
    [can_upload_pictures_11] => 1
    [pub_upl_need_approval_11] => 0
    [can_create_albums_11] => 1
    [priv_upl_need_approval_11] => 0
    [custom_user_upload_11] => 0
    [num_file_upload_11] => 5
    [num_URI_upload_11] => 3
    [group_name_12] => EQ5
    [group_quota_12] => 0
    [can_rate_pictures_12] => 0
    [can_send_ecards_12] => 1
    [can_post_comments_12] => 1
    [can_upload_pictures_12] => 1
    [pub_upl_need_approval_12] => 0
    [can_create_albums_12] => 1
    [priv_upl_need_approval_12] => 0
    [custom_user_upload_12] => 0
    [num_file_upload_12] => 5
    [num_URI_upload_12] => 3
    [group_name_13] => Foliage_Fins
    [group_quota_13] => 0
    [can_rate_pictures_13] => 0
    [can_send_ecards_13] => 1
    [can_post_comments_13] => 0
    [can_upload_pictures_13] => 1
    [pub_upl_need_approval_13] => 0
    [can_create_albums_13] => 1
    [priv_upl_need_approval_13] => 0
    [custom_user_upload_13] => 0
    [num_file_upload_13] => 5
    [num_URI_upload_13] => 3
    [group_name_14] => Passport
    [group_quota_14] => 0
    [can_rate_pictures_14] => 0
    [can_send_ecards_14] => 1
    [can_post_comments_14] => 1
    [can_upload_pictures_14] => 1
    [pub_upl_need_approval_14] => 0
    [can_create_albums_14] => 1
    [priv_upl_need_approval_14] => 0
    [custom_user_upload_14] => 0
    [num_file_upload_14] => 5
    [num_URI_upload_14] => 3
    [group_name_15] => Computer
    [group_quota_15] => 0
    [can_rate_pictures_15] => 0
    [can_send_ecards_15] => 1
    [can_post_comments_15] => 1
    [can_upload_pictures_15] => 1
    [pub_upl_need_approval_15] => 0
    [can_create_albums_15] => 1
    [priv_upl_need_approval_15] => 0
    [custom_user_upload_15] => 0
    [num_file_upload_15] => 5
    [num_URI_upload_15] => 3
    [group_name_16] => Precision
    [group_quota_16] => 0
    [can_rate_pictures_16] => 0
    [can_send_ecards_16] => 1
    [can_post_comments_16] => 1
    [can_upload_pictures_16] => 1
    [pub_upl_need_approval_16] => 0
    [can_create_albums_16] => 1
    [priv_upl_need_approval_16] => 0
    [custom_user_upload_16] => 0
    [num_file_upload_16] => 5
    [num_URI_upload_16] => 3
    [group_name_17] => color_it
    [group_quota_17] => 0
    [can_rate_pictures_17] => 0
    [can_send_ecards_17] => 1
    [can_post_comments_17] => 1
    [can_upload_pictures_17] => 1
    [pub_upl_need_approval_17] => 0
    [can_create_albums_17] => 1
    [priv_upl_need_approval_17] => 0
    [custom_user_upload_17] => 0
    [num_file_upload_17] => 5
    [num_URI_upload_17] => 3
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.8 - OK
------------------
mySQL version: 4.1.22-standard
------------------
Coppermine version: 1.4.16(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.1.22
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.1.2
Linked Version 1.2.3
==========================
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/php4/lib/php:/usr/local/php4/lib/php | .:/usr/php4/lib/php:/usr/local/php4/lib/php
open_basedir | /home/quilgcom:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.112 seconds - 18 queries in 0.01 seconds - Album set : ; Meta set: ;
Logged

Nibbler

  • Guest
Re: Cannot add new group - ASAP please
« Reply #3 on: April 11, 2008, 01:54:21 am »

Go to http://www.quilterskeeplearning.com/public_html/phpinfo.php in your browser and check for suhosin. If you see it then you need to ask your host to increase the limits on post and request vars.
Logged

harmanhoog

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Cannot add new group - ASAP please
« Reply #4 on: May 16, 2008, 11:31:46 pm »

From previous post "Go to http://www.quilterskeeplearning.com/public_html/phpinfo.php in your browser and check for suhosin. If you see it then you need to ask your host to increase the limits on post and request vars."
 I still have not been able to add new groups and have been limping along. Today I got a message from my provider asking me what the limits should be raised to and that I contact you and find out. My provider is http://www.webhsp.com
Logged

Nibbler

  • Guest
Re: Cannot add new group - ASAP please
« Reply #5 on: May 17, 2008, 12:14:31 am »

I've previously recommended 1000 for both post and request var limits.
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 20 queries.