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: problems in version 1.3.3  (Read 5700 times)

0 Members and 1 Guest are viewing this topic.

bishop

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
problems in version 1.3.3
« on: March 07, 2006, 03:16:21 am »

I installed the coopermine version 1.3.3, with permition for the upload of images only with authorization of the administrator. the problem is that the images are going straight for the system without need approval. How repair?  version used in the runcms


USER:
------------------
Array
(
    [ID] => 567fe60f303c1b7507d4f2cf6d08163d
    [am] => 1
    [liv] => Array
        (
           
  • => 371
  • [1] => 1332
                [2] => 2380
                [3] => 2381
                [4] => 2382
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[groups] => Array
        (
           
  • => 1
  • [1] => 2
                [2] => 1
                [3] => 2
                [4] => 2
            )

       
[group_quota] => 2147483647
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [upload_form_config] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [custom_user_upload] => 0
    [disk_max] => 2147483647
    [disk_min] => 2147483647
    [ufc_max] => 0
    [ufc_min] => 0
    [has_admin_access] => 1
    [group_name] => Administrador
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM runcms_cpg_filetypes;
  • [1] => SELECT (ug.groupid) as group_id FROM runcms_groups_users_link as ug LEFT JOIN runcms_groups as g ON ug.groupid = g.groupid WHERE uid = 1
        [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 runcms_cpg_usergroups WHERE group_id in (1,2,1,2,2)
        [3] => SELECT group_name FROM  runcms_cpg_usergroups WHERE group_id= 1
        [4] => DELETE FROM runcms_cpg_banned WHERE expiry < '2006-03-06 23:15:09'
        [5] => SELECT * FROM runcms_cpg_banned WHERE ip_addr='200.141.244.157' OR ip_addr='200.141.244.157' OR user_id=1
        [6] => SELECT cid, name, description, thumb FROM runcms_cpg_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM runcms_cpg_albums as a WHERE category>=10000
        [8] => SELECT count(*) FROM runcms_cpg_pictures as p, runcms_cpg_albums as a WHERE p.aid = a.aid AND category >= 10000
        [9] => SELECT cid, name, description, thumb FROM runcms_cpg_categories WHERE parent = '1'  ORDER BY pos
        [10] => SELECT aid FROM runcms_cpg_albums as a WHERE category = '0'
        [11] => SELECT count(*) FROM runcms_cpg_albums as a WHERE 1
        [12] => SELECT count(*) FROM runcms_cpg_pictures as p LEFT JOIN runcms_cpg_albums as a ON a.aid=p.aid WHERE 1
        [13] => SELECT count(*) FROM runcms_cpg_comments as c LEFT JOIN runcms_cpg_pictures as p ON c.pid=p.pid LEFT JOIN runcms_cpg_albums as a ON a.aid=p.aid WHERE 1
        [14] => SELECT count(*) FROM runcms_cpg_categories WHERE 1
        [15] => SELECT sum(hits) FROM runcms_cpg_pictures as p LEFT JOIN runcms_cpg_albums as a ON p.aid=a.aid WHERE 1
        [16] => SELECT count(*) FROM runcms_cpg_albums as a WHERE category = '0'
        [17] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_albums as a LEFT JOIN runcms_cpg_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,6
        [18] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM runcms_cpg_pictures WHERE aid IN (37, 36, 31, 32, 33, 34) AND approved = 'YES' GROUP BY aid
        [19] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_pictures WHERE pid='2374'
        [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_pictures WHERE pid='2347'
        [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_pictures WHERE pid='1395'
        [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_pictures WHERE pid='2341'
        [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_pictures WHERE pid='674'
        [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM runcms_cpg_pictures WHERE pid='1301'
        [25] => SELECT COUNT(*) from runcms_cpg_pictures WHERE approved = 'YES'
        [26] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM runcms_cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
        [27] => SELECT COUNT(*) from runcms_cpg_pictures WHERE approved = 'YES'
        [28] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM runcms_cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.0.5 - OK
    ------------------
    mySQL version: 4.0.25-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
    FreeType Version 2.1.9
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XPM Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 2
    Active Links 3
    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.2.1.2
    Linked Version 1.2.1.2
    ==========================
    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/cover/:/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 | 60 | 60
    upload_max_filesize | 5M | 5M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.338 seconds - 29 queries in 0.081 seconds - Album set :
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: problems in version 1.3.3
« Reply #1 on: March 07, 2006, 06:07:23 am »

version used in the runcms
Is this a CMS? Is it running a modified version of Coppermine?
Logged

bishop

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: problems in version 1.3.3
« Reply #2 on: March 07, 2006, 10:57:58 am »

yes,

Runcms is a variation of the system xoops.  www.runcms.org
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.