Notice: unserialize(): Error at offset 0 of 92 bytes - can't upload Notice: unserialize(): Error at offset 0 of 92 bytes - can't upload
 

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]

Main Menu

Notice: unserialize(): Error at offset 0 of 92 bytes - can't upload

Started by jv, January 10, 2005, 03:49:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jv

when i try to upload it tells me i have no permission
QuoteYou don't have permission to perform this operation.

File: /home/ohfishin/.panel/web/bulletin/phpBB3/cpg132/upload.php - Line: 38



Notice: unserialize(): Error at offset 0 of 92 bytes in /home/ohfishin/.panel/web/bulletin/phpBB3/cpg132/bridge/phpbb.inc.php on line 90
QuoteUSER:
------------------
Array
(
   [ID] => b4da29e6fec01b9e50139533d990df0b
   [am] => 1
)

==========================
USER DATA:
------------------
Array
(
   
  • => 2
       [user_id] => 2
       [1] => JV
       [user_name] => JV
       [2] => 1
       [user_level] => 1
       [groups] => Array
           (
               
  • => 1
               [1] => 2
               [2] => 12
           )

       [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] => 3
       [has_admin_access] => 1
       [group_name] => Administrators
       [can_see_all_albums] => 1
       [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
       [1] => SELECT user_id, username as user_name, user_level FROM `ohfishin_p_bb3`.phpbb_users WHERE user_id='2' AND user_password='97ad6961b6c2d9118a8842c6b0e438dd' AND user_active='1'
       [2] => SELECT (ug.group_id + 5) as group_id FROM `ohfishin_p_bb3`.phpbb_user_group as ug LEFT JOIN `ohfishin_p_bb3`.phpbb_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 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 cpg132_usergroups WHERE group_id in (1,2,12)
       [4] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
       [5] => DELETE FROM cpg132_banned WHERE expiry < 1105324441
       [6] => SELECT * FROM cpg132_banned WHERE ip_addr='205.188.116.11' OR ip_addr='205.188.116.11' OR user_id=2
       [7] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = ''  ORDER BY pos
       [8] => SELECT aid FROM cpg132_albums as a WHERE category>=10000
       [9] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000
       [10] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '1'  ORDER BY pos
       [11] => SELECT aid FROM cpg132_albums WHERE category = 2
       [12] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 2
       [13] => SELECT count(*) FROM cpg132_albums as a WHERE category = '2'
       [14] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1
       [15] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (8) AND approved = 'YES' GROUP BY aid
       [16] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '2'  ORDER BY pos
       [17] => SELECT aid FROM cpg132_albums WHERE category = 3
       [18] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 3
       [19] => SELECT count(*) FROM cpg132_albums as a WHERE category = '3'
       [20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,1
       [21] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (7) AND approved = 'YES' GROUP BY aid
       [22] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '3'  ORDER BY pos
       [23] => SELECT aid FROM cpg132_albums WHERE category = 4
       [24] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 4
       [25] => SELECT count(*) FROM cpg132_albums as a WHERE category = '4'
       [26] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,1
       [27] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (6) AND approved = 'YES' GROUP BY aid
       [28] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '4'  ORDER BY pos
       [29] => SELECT aid FROM cpg132_albums WHERE category = 5
       [30] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 5
       [31] => SELECT count(*) FROM cpg132_albums as a WHERE category = '5'
       [32] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,1
       [33] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (5) AND approved = 'YES' GROUP BY aid
       [34] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '5'  ORDER BY pos
       [35] => SELECT aid FROM cpg132_albums WHERE category = 6
       [36] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 6
       [37] => SELECT count(*) FROM cpg132_albums as a WHERE category = '6'
       [38] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=6 ORDER BY a.pos LIMIT 0,1
       [39] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (4) AND approved = 'YES' GROUP BY aid
       [40] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '6'  ORDER BY pos
       [41] => SELECT aid FROM cpg132_albums WHERE category = 7
       [42] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 7
       [43] => SELECT count(*) FROM cpg132_albums as a WHERE category = '7'
       [44] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,1
       [45] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (3) AND approved = 'YES' GROUP BY aid
       [46] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '7'  ORDER BY pos
       [47] => SELECT aid FROM cpg132_albums WHERE category = 8
       [48] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 8
       [49] => SELECT count(*) FROM cpg132_albums as a WHERE category = '8'
       [50] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=8 ORDER BY a.pos LIMIT 0,1
       [51] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (2) AND approved = 'YES' GROUP BY aid
       [52] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '8'  ORDER BY pos
       [53] => SELECT aid FROM cpg132_albums WHERE category = 9
       [54] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 9
       [55] => SELECT count(*) FROM cpg132_albums as a WHERE category = '9'
       [56] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=9 ORDER BY a.pos LIMIT 0,1
       [57] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (1) AND approved = 'YES' GROUP BY aid
       [58] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '9'  ORDER BY pos
       [59] => SELECT aid FROM cpg132_albums as a WHERE category = '0'
       [60] => SELECT count(*) FROM cpg132_albums as a WHERE 1
       [61] => SELECT count(*) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
       [62] => SELECT count(*) FROM cpg132_comments as c LEFT JOIN cpg132_pictures as p ON c.pid=p.pid LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
       [63] => SELECT count(*) FROM cpg132_categories WHERE 1
       [64] => SELECT sum(hits) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON p.aid=a.aid WHERE 1
       [65] => SELECT count(*) FROM cpg132_albums as a WHERE category = '0'
       [66] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES'
       [67] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
       [68] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES'
       [69] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg132_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.16
    ------------------
    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 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1
    Linked Version 1.2.1
    ==========================
    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/local/lib/php | .:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    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 | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.315 seconds - 70 queries in

donnoman

http://forum.coppermine-gallery.net/index.php?topic=10509.0

Has a few things in it that you should check.

In the future please use a more descriptive title. It helps when trying to find related articles.

I changed the title to: Notice: unserialize(): Error at offset 0 of 92 bytes - can't upload.