Problem uploading fil Problem uploading fil
 

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

Problem uploading fil

Started by charlie5000, November 06, 2007, 11:09:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charlie5000

hi

I get this error then I tried to upload a fil. I hope you can help, and that this is the right way to show the error

                          Script blev kaldt uden de nødvendige parametre(r).
Fil: /customers/boligbilleder.dk/boligbilleder.dk/httpd.www/cpg1413/db_input.php - Linje: 58

USER:
------------------
Array
(
    [ID] => 68b60c6f1e104cdeffa65a1c43513715
    [am] => 1
    [lang] => danish
    [liv] => Array
        (
           
  • => 1
                [1] => 6
                [2] => 7
            )

    )

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

        [disk_max] => 0
        [disk_min] => 0
        [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] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0.001s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `boligbilleder_d`.cpg14x_sessions where time<1194383093 and remember=0; (0.001s)
        [3] => delete from `boligbilleder_d`.cpg14x_sessions where time<1193177093; (0s)
        [4] => select user_id from `boligbilleder_d`.cpg14x_sessions where session_id=md5("1364e385430278beddd42f0710b48271afc0a0d5eba59caf62893735063644de"); (0.001s)
        [5] => select user_id as id, user_password as password from `boligbilleder_d`.cpg14x_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 `boligbilleder_d`.cpg14x_users AS u INNER JOIN `boligbilleder_d`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `boligbilleder_d`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `boligbilleder_d`.cpg14x_sessions set time='1194386693' where session_id=md5('1364e385430278beddd42f0710b48271afc0a0d5eba59caf62893735063644de'); (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2007-11-06 22:04:54' (0.001s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='85.218.164.181' OR ip_addr='85.218.164.181' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.4 - OK
    ------------------
    mySQL version: 5.0.32-Debian_7etch1-log
    ------------------
    Coppermine version: 1.4.13(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.11
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.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.2
    Linked Version 1.2.2
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | On | On
    safe_mode_exec_dir | /surely/you/must/be/joking | /surely/you/must/be/joking
    safe_mode_gid | Off | Off
    safe_mode_include_dir | /usr/lib/php5 | /usr/lib/php5
    safe_mode_exec_dir | /surely/you/must/be/joking | /surely/you/must/be/joking
    sql.safe_mode | Off | Off
    disable_functions | disk_total_space, diskfreespace | disk_total_space, diskfreespace
    file_uploads | On | On
    include_path | .: | .:
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/sbin/b1sendmail -t -i | /usr/sbin/b1sendmail -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 | 12M | 12M
    post_max_size | 12M | 12M
    ==========================
    Page generated in 0.174 seconds - 15 queries in 0.007 seconds - Album set : ; Meta set: ;

charlie5000

I am very sorry.. you also need www.boligbilleder.dk/cpg1413

username: test
password: test

hop it is okay

Joachim Müller

I get
QuoteYour file was uploaded successfully.

It will be visible after admin approval.
Would have been helpfull if you would have done as suggested in the upload troubleshooting section of the docs
Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages. This applies to all upload methods, not only HTTP uploads.

    * Log in as admin
      Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
      (set Enable debug mode to "Yes: Everyone")
    * Leave display of notices switched off
      (notices are only meant for developers. If you have idea what they mean, leave them off.)
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only"
         1. set File upload boxes to "1" (1)
         2. set URI upload boxes to "0" (2)
         3. set No. of boxes to "fixed" (3)

# Save your new settings
(click on "Apply Modifications")

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
4.11.5 Asking for support on upload issues

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.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!

charlie5000

It still does not work. it is not poosible to upload big picture on me site.(www.boligbilleder.dk/cpg1413).
the picture I try to upload is 768kb - 2288 * 1712 pixels

It still gives me the error. it says internal error 500

Could you please try upload a big picture on me site?

Sami

‍I don't answer to PM with support question
Please post your issue to related board