Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Cant set group permissions  (Read 6458 times)

0 Members and 1 Guest are viewing this topic.

soos

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Cant set group permissions
« on: June 17, 2004, 09:37:45 am »

Hi

Can't set group permissions/access in group manager because none of the input boxes are displayed apart from Names of Groups and disk quota. Coppermine 1.3 integrated with SMF (upgrade from Yabbse SE).

Here is the debug info:

     USER:
------------------
Array
(
    [ID] => alotofalphanumericcharacters
    [am] => 1
    [liv] => Array
        (
           
  • => 1
  • [1] => 2
            )

       
[sort] => da
)

==========================
USER DATA:
------------------
Array
(
    [disk_max] => 1024
    [disk_min] => 800
    [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] => Administrator
    [upload_form_config] => 3
    [group_quota] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
           
  • => 1
  • [1] => 6
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg130_filetypes;
  • [1] =>
          SELECT variable, value
          FROM yabbse_settings
        [2] =>
             SELECT
                mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH
             FROM yabbse_members AS mem
                LEFT JOIN yabbse_attachments AS a ON (a.ID_MEMBER = mem.ID_MEMBER)
             WHERE mem.ID_MEMBER = 1
             LIMIT 1
        [3] => 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 cpg130_usergroups WHERE group_id in (1,6)
        [4] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 1
        [5] => DELETE FROM cpg130_banned WHERE expiry < 1087455745
        [6] => SELECT * FROM cpg130_banned WHERE ip_addr='xxx.xxx.xxx.xx' OR ip_addr='xxx.xxx.xxx.xx' OR user_id=1
        [7] => SELECT ID_GROUP as usergroupid, groupName as title FROM `databasename`.yabbse_membergroups
        [8] => SELECT group_id, group_name FROM cpg130_usergroups WHERE 1
        [9] => SELECT * FROM cpg130_usergroups WHERE 1 ORDER BY group_id
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.4 - OK
    ------------------
    mySQL version: 3.23.58
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.15 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read 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 3.23.58
    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 | /usr/local/php/bin | /usr/local/php/bin
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    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 | 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 | 8M | 8M
    ==========================
    Page generated in 0.208 seconds - 10 queries in 0.02 seconds - Album set :
« Last Edit: June 17, 2004, 10:02:12 am by soos »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cant set group permissions
« Reply #1 on: June 17, 2004, 01:02:10 pm »

please post a screenshot.

GauGau
Logged

soos

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cant set group permissions
« Reply #2 on: June 17, 2004, 05:16:22 pm »

Thanx for your help.

These aren't very good screenshots:

(http://img20.photobucket.com/albums/v61/Brens_pics4Pineapple/f76b5e4f.gif)

(http://img20.photobucket.com/albums/v61/Brens_pics4Pineapple/6b100702.gif)

Below have
(1) Uploads in a public album need admin approval  
(2) Uploads in an album that belong to the user need admin approval  

and only have the Apply Modifications button.

When click Apply Modifications, then scroll, get all the boxes appearing all over the place.

I think maybe my SMF board groups and permissions are wrong since upgrade, so I took off the bridge but didn't help so put back on. Shall investigate further database with db tool and look for help smf aswell. It was a new Coppermine install.

Hope I've given enough info here. Thanx again.




 
Logged

soos

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cant set group permissions
« Reply #3 on: June 18, 2004, 09:40:55 am »

BTW this was the display in IE6 (Windows ME) however having since tried in Netscape 7 then the page in question displays OK.

Logged

soos

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
IE problem?
« Reply #4 on: June 19, 2004, 10:53:25 am »

I posted a message here and I wonder if any of you guys could help me.

I really want to use Coppermine as it is cool, thanx all, but I am worried about what is happening with display (can't see form in groups from admin screen) when using IE6. Whilst I now appreciate it's OK in Netscape, Mozilla clients I'm not always using a computer with those browsers installed.

Is anyone else having these problems with IE 5x or 6?

Also as my installation is SMF integration, which buttons, if any, should I be seeing besides "apply modifications"?  I assume I only need one because integrated. Could someone confirm for me?

All the themes behave the same way for me and at the mo I don't have another machine to test on.

Would really appreciate your help.

Thanx all
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Cant set group permissions
« Reply #5 on: June 19, 2004, 06:30:38 pm »

@ soos,

Do not create new threads on new, unrelated boards, just to bumb.  If you need to bumb, just do it to the existing thread.

You do need these settings to be available, as this is where you set who can do what in the gallery, even in a bridged install.

I am using IE6, and have no such problems.  Try uploading new copies of your theme files and the groupmgr.php
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

soos

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cant set group permissions
« Reply #6 on: June 19, 2004, 08:16:27 pm »

Thanx for your reply. I am sorry about posting my last message in the wrong forum. I wasn't sure which section to post in seeing as I don't know quite what my problem is lol. I did try a number of alternatives before starting the thread and that included getting new files from CVS for the theme I wanted to use, plus a couple of others. Anyhow, I think I shall get a fresh copy of 1.3 stable and copy over all the files. Thanx again.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Cant set group permissions
« Reply #7 on: June 19, 2004, 08:20:32 pm »

Yes.if you get files from the cvs,you must use files from the stable.  The devel branch already has other features under test that means many of the files will not work on a stable install
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

soos

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Cant set group permissions
« Reply #8 on: June 21, 2004, 12:39:03 pm »

I copied over fresh copy of Coppermine 1.3 stable, ended up doing fresh install. As I am now certain that Coppermine worked properly as standalone, the problem is with the bridge. I think it is because my SMF board is an upgrade from Yabbse and not a fresh install. Therefore the table prefix isn't SMF. I tried replacing all the incidences of SMF in the bridge file but not a solution as I don't know PHP. After that I found a thread on simple machines board, so that may be a lot of help. I'll have another shot at it, but if anyone has a Yabbse upgrade to SMF bridge file    ???  ...or of course it could be version of MySql on server that's not high enough for integrated BB  ???
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.