Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Debug Info! Error! Help Please  (Read 2350 times)

0 Members and 1 Guest are viewing this topic.

Jezzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Debug Info! Error! Help Please
« on: July 13, 2007, 12:05:28 pm »

Hello!
  Everyone
        This is Jez and old user of Coppermine Gallery! luved it so much but first time i got an error! while uploading pics it says something! like that

Code: [Select]
DEBUG INFO


USER:
------------------
Array
(
    [ID] => b0a2bc55b639c299c1d332556f2708c0
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `iipcoin1_copp4`.cpg_sessions where time<1184317361 and remember=0; (0s)
    [3] => delete from `iipcoin1_copp4`.cpg_sessions where time<1183111361; (0s)
    [4] => select user_id from `iipcoin1_copp4`.cpg_sessions where session_id=md5("4400cedaf598db4090d5f2f7e64eb45a05aca203d8570e7843141fafc4ceb974"); (0s)
    [5] => select user_id as id, user_password as password from `iipcoin1_copp4`.cpg_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 `iipcoin1_copp4`.cpg_users AS u INNER JOIN `iipcoin1_copp4`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `iipcoin1_copp4`.cpg_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 cpg_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [10] => update `iipcoin1_copp4`.cpg_sessions set time='1184320961' where session_id=md5('4400cedaf598db4090d5f2f7e64eb45a05aca203d8570e7843141fafc4ceb974'); (0.001s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2007-07-13 10:02:41' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='221.132.113.210' OR ip_addr='172.16.60.27' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY name (0.001s)
    [15] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
    [16] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0.001s)
    [17] => SELECT count(*) FROM cpg_albums as a WHERE category = '3' (0s)
    [18] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,2 (0.001s)
    [19] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (3, 4)GROUP BY a.aid (0.001s)
    [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='50' (0s)
    [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='54' (0.001s)
    [22] => SELECT aid FROM cpg_albums WHERE category = 5 (0s)
    [23] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0.001s)
    [24] => SELECT count(*) FROM cpg_albums as a WHERE category = '5' (0s)
    [25] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,2 (0.001s)
    [26] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (9, 10)GROUP BY a.aid (0.001s)
    [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='170' (0s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='190' (0.001s)
    [29] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
    [30] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.001s)
    [31] => SELECT count(*) FROM cpg_albums as a WHERE category = '2' (0s)
    [32] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,2 (0.001s)
    [33] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1, 2)GROUP BY a.aid (0.001s)
    [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='39' (0s)
    [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='10' (0.001s)
    [36] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
    [37] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.001s)
    [38] => SELECT aid FROM cpg_albums WHERE category = 4 (0s)
    [39] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0.001s)
    [40] => SELECT count(*) FROM cpg_albums as a WHERE category = '4' (0s)
    [41] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,4 (0.001s)
    [42] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (5, 6, 7, 8)GROUP BY a.aid (0.002s)
    [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='93' (0.001s)
    [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='101' (0.001s)
    [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='163' (0s)
    [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='112' (0s)
    [47] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
    [48] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
    [49] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.001s)
    [50] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [51] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
    [52] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
    [53] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    [54] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
    [55] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0.001s)
    [56] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.005s)
    [57] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0s)
    [58] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 4.1.21-standard
------------------
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
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
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
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 | 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 | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.145 seconds - 59 queries in 0.03 seconds - Album set : ; Meta set: ;


For live preview www.riyasen.info/gallery

Please Send me any possible solutions! to resolve this issue
« Last Edit: July 13, 2007, 01:18:57 pm by Hein »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Debug Info! Error! Help Please
« Reply #1 on: July 13, 2007, 01:22:06 pm »

Go here first when having upload troubles
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

Follow the steps described there and post debug info when asked for..  ;) oops you already did.  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 21 queries.