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: Upload probs of a sort...  (Read 7266 times)

0 Members and 1 Guest are viewing this topic.

ejmuffin

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Upload probs of a sort...
« on: March 02, 2006, 08:10:57 pm »

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 :
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

ejmuffin

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload probs of a sort...
« Reply #2 on: March 03, 2006, 12:27:38 pm »

sorry - many apologies!!

the address is www.abertayunion.com/gallery

you can use my normal user account

user: ejmuffin
pass: voyager
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload probs of a sort...
« Reply #3 on: March 04, 2006, 06:43:02 am »

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

ejmuffin

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload probs of a sort...
« Reply #4 on: March 06, 2006, 11:14:09 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload probs of a sort...
« Reply #5 on: March 07, 2006, 07:50:23 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.