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: [Solved]: Error - script called without the required parameter(s)  (Read 7316 times)

0 Members and 1 Guest are viewing this topic.

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan

I'm having problems uploading the media files and i turned on the debug and i get this error:

Critical error
Script called without the required parameter(s).

File: /hsphere/local/home/animefan/anime-musicvideo.com/db_input.php - Line: 58


-------------

USER:
------------------
Array
(
    [ID] => my id
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => adicrst
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 19999999
    [disk_min] => 19999999
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [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] => 0
    [group_quota] => 19999999
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg148_filetypes; (0.001s)
  • [1] => select * from cpg148_plugins order by priority asc; (0.001s)
        [2] => delete from `animefa_amv`.cpg148_sessions where time<1209509389 and remember=0; (0.001s)
        [3] => delete from `animefa_amv`.cpg148_sessions where time<1208303389; (0s)
        [4] => select user_id from `animefa_amv`.cpg148_sessions where session_id=md5("my pass"); (0s)
        [5] => select user_id as id, user_password as password from `animefa_amv`.cpg148_users where user_id=1 (0s)
        [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 `animefa_amv`.cpg148_users AS u INNER JOIN `animefa_amv`.cpg148_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `animefa_amv`.cpg148_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 cpg148_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0s)
        [10] => update `animefa_amv`.cpg148_sessions set time='1209512989' where session_id=md5('my pass'); (0s)
        [11] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg148_banned WHERE expiry < '2008-04-29 23:49:49' (0.001s)
        [13] => SELECT * FROM cpg148_banned WHERE (ip_addr='79.115.87.62' OR ip_addr='79.115.87.62' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.3 - OK
    ------------------
    mySQL version: 5.0.41-community-log
    ------------------
    Coppermine version: 1.4.8(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 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
    XPM Support:
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.0.45
    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
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    Compiled Version 1.2.3
    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 | On | On
    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 | .:/hsphere/shared/apache/libexec/php5ext/php/ | .:/hsphere/shared/apache/libexec/php5ext/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 | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.1 seconds - 15 queries in 0.005 seconds - Album set : ; Meta set: ;
« Last Edit: May 02, 2008, 08:15:30 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error - script called without the required parameter(s)
« Reply #1 on: April 30, 2008, 08:12:17 am »

Do exactly as suggested in the docs, sections "upload troubleshooting" and "asking for support on upload issues". I guess your coppermine gallery is http://anime-musicvideo.com/
Logged

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan
Re: Error - script called without the required parameter(s)
« Reply #2 on: April 30, 2008, 11:03:40 am »

done part 1)
i'm getting this messege:

Critical error
Script called without the required parameter(s).

File: /hsphere/local/home/animefan/anime-musicvideo.com/db_input.php - Line: 58


done part 2)
(When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.)

u have the user test and the same pass
Logged

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan
Re: Error - script called without the required parameter(s)
« Reply #3 on: April 30, 2008, 11:14:33 am »

via FTP then batch file works, but not uploading trough HTML, like all users will do
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error - script called without the required parameter(s)
« Reply #4 on: April 30, 2008, 11:06:01 pm »

http uploads work as expected, see http://anime-musicvideo.com/displayimage.php?pos=-5
Set the "Maximum allowed file size" to something that actually makes sense - you have currently set it to "1999999 KB", which equals 2 GB - simply a silly value that might cause issues for you.
Logged

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan
Re: Error - script called without the required parameter(s)
« Reply #5 on: April 30, 2008, 11:34:53 pm »

yes, it does for very small files like you uploaded, but here, try to upload this files i've uploaded for you and you'll it doesn't work for larger ones:

FILE 1
FILE 2
FILE 3

the settings for the extension it's at ALL and 102400 kb. Tell me if you can upload this
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error - script called without the required parameter(s)
« Reply #6 on: May 01, 2008, 08:16:36 am »

Those are video files. Use FTP upload plus batch-add to upload them.
Logged

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan
Re: Error - script called without the required parameter(s)
« Reply #7 on: May 01, 2008, 10:10:16 am »

i see, so i have to make a public FTP folder for the members also ? Thank you for your help so far, i really  apreciate it
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error - script called without the required parameter(s)
« Reply #8 on: May 01, 2008, 06:24:57 pm »

No, non-admins can't use that feature. Under no circumstances should you allow others to FTP-upload files to your server (security impact is disastrous).
You're running into server-sided limitations, so you can't http-upload large files like your videos. Subsequently, your users won't be able to upload such huge videos at all. Buy better webspace if you want to improve the situation.
Nothing else I could think of as a recommendation.
Logged

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan
Re: Error - script called without the required parameter(s)
« Reply #9 on: May 02, 2008, 12:28:16 am »

considering i have 1,9 TERRA (no jocking) of diskspace i should be allowed to upload big files
Logged

adicrst

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • animefan
Re: Error - script called without the required parameter(s)
« Reply #10 on: May 02, 2008, 01:11:14 am »

finally ....i changed the max upload size and it's working. Thank you again for your assistance Joachim Müller
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.