Fatal Error!!! (Urgent) Fatal Error!!! (Urgent)
 

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

Fatal Error!!! (Urgent)

Started by nicky, March 28, 2007, 01:43:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nicky

Hi there!! When I try to upload files it gives me error

QuoteFatal error: Allowed memory size of 35651584 bytes exhausted (tried to allocate 8876 bytes) in /home/carters/public_html/gallery/include/picmgmt.inc.php on line 262

I made all the Upload troubleshooting and this appears:

QuoteUSER:
------------------
Array
(
    [ID] => 6ccd715ab5b555cb89beafdca65c1790
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => nicky
    [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 cpg1410_filetypes; (0s)
        [1] => select * from cpg1410_plugins order by priority asc; (0s)
        [2] => delete from `carters_gallery`.cpg1410_sessions where time<1175078388 and remember=0; (0s)
        [3] => delete from `carters_gallery`.cpg1410_sessions where time<1173872388; (0s)
        [4] => select user_id from `carters_gallery`.cpg1410_sessions where session_id=md5("0b7e778c6fc661da9c940f463519bf19dcd4a9efe4dfd68ad3c3a87ad8704575"); (0s)
        [5] => select user_id as id, user_password as password from `carters_gallery`.cpg1410_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 `carters_gallery`.cpg1410_users AS u INNER JOIN `carters_gallery`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `carters_gallery`.cpg1410_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 cpg1410_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
        [10] => update `carters_gallery`.cpg1410_sessions set time='1175081988' where session_id=md5('0b7e778c6fc661da9c940f463519bf19dcd4a9efe4dfd68ad3c3a87ad8704575'); (0s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
        [13] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'nicky', '85.60.26.197', NOW()) (0s)
        [14] => DELETE FROM cpg1410_banned WHERE expiry < '2007-03-28 03:39:48' (0s)
        [15] => SELECT * FROM cpg1410_banned WHERE (ip_addr='85.60.26.197' OR ip_addr='85.60.26.197' OR user_id=1) AND brute_force=0 (0s)
        [16] => SELECT aid, title FROM cpg1410_albums WHERE category < 10000 ORDER BY title (0.003s)
        [17] => SELECT aid, title FROM cpg1410_albums WHERE category='10001' ORDER BY title (0s)
        [18] => DELETE FROM cpg1410_temp_data WHERE timestamp < 1175078388 (0.014s)
        [19] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0s)
        [20] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='15' AND cat.cid=alb.category (0s)
        [21] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='18' AND cat.cid=alb.category (0s)
        [22] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='42' AND cat.cid=alb.category (0s)
        [23] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='23' AND cat.cid=alb.category (0s)
        [24] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='5' AND cat.cid=alb.category (0s)
        [25] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0s)
        [26] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
        [27] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0s)
        [28] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='32' AND cat.cid=alb.category (0s)
        [29] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
        [30] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='7' AND cat.cid=alb.category (0s)
        [31] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
        [32] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
        [33] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='31' AND cat.cid=alb.category (0s)
        [34] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='29' AND cat.cid=alb.category (0s)
        [35] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='28' AND cat.cid=alb.category (0s)
        [36] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='45' AND cat.cid=alb.category (0s)
        [37] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0s)
        [38] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='37' AND cat.cid=alb.category (0s)
        [39] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='39' AND cat.cid=alb.category (0s)
        [40] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='35' AND cat.cid=alb.category (0s)
        [41] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='41' AND cat.cid=alb.category (0s)
        [42] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='38' AND cat.cid=alb.category (0s)
        [43] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='40' AND cat.cid=alb.category (0s)
        [44] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='43' AND cat.cid=alb.category (0s)
        [45] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='34' AND cat.cid=alb.category (0s)
        [46] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='8' AND cat.cid=alb.category (0s)
        [47] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='26' AND cat.cid=alb.category (0s)
        [48] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='30' AND cat.cid=alb.category (0s)
        [49] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='4' AND cat.cid=alb.category (0s)
        [50] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='14' AND cat.cid=alb.category (0s)
        [51] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='24' AND cat.cid=alb.category (0s)
        [52] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='33' AND cat.cid=alb.category (0s)
        [53] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='22' AND cat.cid=alb.category (0s)
        [54] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='21' AND cat.cid=alb.category (0s)
        [55] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='19' AND cat.cid=alb.category (0s)
        [56] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='27' AND cat.cid=alb.category (0s)
        [57] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='44' AND cat.cid=alb.category (0s)
        [58] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='47' AND cat.cid=alb.category (0s)
        [59] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0s)
        [60] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='36' AND cat.cid=alb.category (0s)
        [61] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='25' AND cat.cid=alb.category (0s)
        [62] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='20' AND cat.cid=alb.category (0s)
        [63] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0s)
        [64] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
        [65] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.1.4 - OK
    ------------------
    mySQL version: 4.1.21-standard-log
    ------------------
    Coppermine version: 1.4.10(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 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: 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.21
    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.1.2
    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 | 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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | /home/carters:/usr/lib/php:/usr/local/lib/php:/tmp | 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.087 seconds - 66 queries in 0.017 seconds - Album set : ; Meta set: ;
Does anybody can help me???

Joachim Müller

1) There is no "urgent" support - this is not a hotline! >:(
2) The upload troubleshooting section of the documentation that you no doubt have read  ::) (because board rules say that it's mandatory to have read the documentation before asking questions, and you have agreed to respect board rules when signing up) clearly say that you mustn't post debug_output unless a supporter explicitely asks for it. You can read up there what you actually need to do when asking for support on upload issues.
3) There is a sticky thread on this very sub-board that you no doubt have read as well, as you are aware that reading the stickies first is mandatory as well before starting a new thread. It is (confusingly enough) named "Trouble-shooting the upload process" and the posting that deals with your issue is labelled "Fatal error: Allowed memory size of X bytes exhausted"