forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: adicrst on April 30, 2008, 02:00:16 am

Title: [Solved]: Error - script called without the required parameter(s)
Post by: adicrst on April 30, 2008, 02:00:16 am
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
        (
           
        )

    [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
(
   
Title: Re: Error - script called without the required parameter(s)
Post by: Joachim Müller 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/
Title: Re: Error - script called without the required parameter(s)
Post by: adicrst 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
Title: Re: Error - script called without the required parameter(s)
Post by: adicrst on April 30, 2008, 11:14:33 am
via FTP then batch file works, but not uploading trough HTML, like all users will do
Title: Re: Error - script called without the required parameter(s)
Post by: Joachim Müller 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.
Title: Re: Error - script called without the required parameter(s)
Post by: adicrst 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 (http://www.animefan.ro/test/DOt_Hack_Roots_Crawling.wmv)
FILE 2 (http://www.animefan.ro/test/Dragon Ball Z - Bulma Flash.mpg)
FILE 3 (http://www.animefan.ro/test/Dragon Ball Z - Wazzup - Music Video.avi)

the settings for the extension it's at ALL and 102400 kb. Tell me if you can upload this
Title: Re: Error - script called without the required parameter(s)
Post by: Joachim Müller on May 01, 2008, 08:16:36 am
Those are video files. Use FTP upload plus batch-add to upload them.
Title: Re: Error - script called without the required parameter(s)
Post by: adicrst 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
Title: Re: Error - script called without the required parameter(s)
Post by: Joachim Müller 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.
Title: Re: Error - script called without the required parameter(s)
Post by: adicrst 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
Title: Re: Error - script called without the required parameter(s)
Post by: adicrst 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