Upload probs of a sort... Upload probs of a sort...
 

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

Upload probs of a sort...

Started by ejmuffin, March 02, 2006, 08:10:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ejmuffin

Hi folks

I'm not too sure if this is exactly the correct forum.  I'm having trouble with upload approval really rather than uploads.  I'm getting the following critical error

Script called without the required parameter(s). (aid1304)

File: /home/u/a/uadsa/public_html/gallery/editpics.php - Line: 84


My PHP version is 4.3.11

The OS on the server is STABLE FreeBSD 4.10-STABLE #4

I didn't bother with upload file sizes as I have no problems with normal uploads

The debug info is below

USER:
------------------
Array
(
    [ID] => e412a2e2f886481b181de37254399dfc
    [am] => 1
    [liv] => Array
        (
           
  • => 1281
                [1] => 1305
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
  • => 310
        [user_id] => 310
        [1] => Miss Vice
        [user_name] => Miss Vice
        [2] => 1
        [user_level] => 1
        [groups] => Array
            (
               
  • => 1
                [1] => 2
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM gallery_filetypes;
        [1] => SELECT user_id, username as user_name, user_level FROM `uadsa`.forum_sessions INNER JOIN `uadsa`.forum_users ON session_user_id = user_id WHERE session_id='e355c3e07bb7310aa62d7b9009521422' AND session_user_id ='310' AND user_active='1'
        [2] => SELECT (ug.group_id + 5) as group_id FROM `uadsa`.forum_user_group as ug LEFT JOIN `uadsa`.forum_groups as g ON ug.group_id = g.group_id WHERE user_id = 310 AND user_pending = 0 AND group_single_user = 0
        [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 gallery_usergroups WHERE group_id in (1,2)
        [4] => SELECT group_name FROM  gallery_usergroups WHERE group_id= 1
        [5] => DELETE FROM gallery_banned WHERE expiry < 1141326417
        [6] => SELECT * FROM gallery_banned WHERE ip_addr='86.131.141.199' OR ip_addr='86.131.141.199' OR user_id=310
        [7] => SELECT DISTINCT aid, title, IF(category = 0, CONCAT('> ', title), CONCAT(name,' < ',title)) AS cat_title FROM gallery_albums, gallery_categories WHERE category < '10000' AND (category = 0 OR category = cid) ORDER BY cat_title
        [8] => SELECT aid, title FROM gallery_albums WHERE category='10310' ORDER BY title
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [mode] => upload_approval
        [start] => 0
        [count] => 25
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [count] => 25
        [pid] => Array
            (
               
  • => 1304
            )

        [title1304] => Abertay Christmas Card 2004
        [caption1304] => This was my entry into last years Christmas card competition... Lovely isn't it? (Didn't win, though did get some money!)
        [keywords1304] => Christmas Abertay
        [user11304] =>
        [user21304] =>
        [user31304] =>
        [user41304] =>
        [approved1304] => NO
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.1.9
    ------------------
    Coppermine version: 1.3.2
    ==========================
    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.1.9
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/mysql/include/mysql
    MYSQL_LIBS -L/mysql/lib/mysql -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 | .:/lib/php | .:/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /sbin/sendmail -t -i  | /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 | 20M | 20M
    post_max_size | 20M | 20M
    ==========================
    Page generated in 0.096 seconds - 9 queries in 0.007 seconds - Album set : [/b]

Joachim Müller


ejmuffin

sorry - many apologies!!

the address is www.abertayunion.com/gallery

you can use my normal user account

user: ejmuffin
pass: voyager

Joachim Müller

You rendered the "Powered by Coppermine" tag invisible -> no support for you.

ejmuffin

Look - really sorry about that.  We inherited this from another IT company and they must have taken it off.  I have restored the link.  Please can you try and give us a hand with this.  We're really pretty stuck.

Apologies again,

EJ

Joachim Müller

you have not, not just added the the manually, edit your stylesheet, unedit the class footer.
You haven't done as suggested in the section I refered to (debug_mode for everyone).Also temporarily disable admin approval for the test user account group.
You should upgrade asap.