Advanced search  

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

Pages: [1]   Go Down

Author Topic: Upgrade problem from 1.4.14 to 1.4.16: error message  (Read 5681 times)

0 Members and 1 Guest are viewing this topic.

Xil

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Upgrade problem from 1.4.14 to 1.4.16: error message
« on: February 08, 2008, 08:37:53 pm »

I've upgraded my gallery some days ago, from 1.4.14 to 1.4.16. Since this moment, I get an error message... What's going on ?



Code: [Select]
USER:
------------------
Array
(
    [ID] => 397bbd6be90713de56f9abf9153d0148
    [am] => 1
    [lang] => french
    [liv] => Array
        (
            [0] => 1575
        )

)

==========================
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 cpg14x_filetypes; (0.003s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `DATABASE_NAME`.cpg14x_sessions where time<1202495311 and remember=0; (0.024s)
    [3] => delete from `DATABASE_NAME`.cpg14x_sessions where time<1201289311; (0.009s)
    [4] => select user_id from `DATABASE_NAME`.cpg14x_sessions where session_id=md5("01b0c972b9b4d95ed459693719945fe42ea74fd171fb02d68b9e78a8c4fb4018"); (0s)
    [5] => select user_id as id, user_password as password from `DATABASE_NAME`.cpg14x_users where user_id=1 (0.014s)
    [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 `DATABASE_NAME`.cpg14x_users AS u INNER JOIN `DATABASE_NAME`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.032s)
    [7] => SELECT user_group_list FROM `DATABASE_NAME`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.004s)
    [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) (0.001s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `DATABASE_NAME`.cpg14x_sessions set time='1202498911' where session_id=md5('01b0c972b9b4d95ed459693719945fe42ea74fd171fb02d68b9e78a8c4fb4018'); (0s)
    [11] => SELECT description from cpg14x_albums WHERE aid='' (0.026s)
    [12] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.005s)
    [13] => DELETE FROM cpg14x_banned WHERE expiry < '2008-02-08 20:28:34' (0.174s)
    [14] => SELECT * FROM cpg14x_banned WHERE (ip_addr='82.146.204.217' OR ip_addr='82.146.204.217' OR user_id=1) AND brute_force=0 (0s)
    [15] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY name (0.023s)
    [16] => SELECT aid FROM cpg14x_albums WHERE category = 5 (0.011s)
    [17] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0.034s)
    [18] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='240' (0.099s)
    [19] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '5' (0s)
    [20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,3 (0s)
    [21] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (2, 3, 4)GROUP BY a.aid (0.004s)
    [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='126' (0.002s)
    [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='248' (0.013s)
    [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='137' (0.003s)
    [25] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '5'  ORDER BY name (0s)
    [26] => SELECT aid FROM cpg14x_albums WHERE category = 4 (0.011s)
    [27] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='449' (0.007s)
    [29] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '4' (0.001s)
    [30] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,11 (0.001s)
    [31] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)GROUP BY a.aid (0.003s)
    [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='322' (0.004s)
    [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='335' (0.004s)
    [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='349' (0s)
    [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='392' (0s)
    [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='410' (0s)
    [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='452' (0s)
    [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='486' (0s)
    [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='523' (0s)
    [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='550' (0s)
    [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='589' (0s)
    [42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='610' (0s)
    [43] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '4'  ORDER BY name (0.021s)
    [44] => SELECT aid FROM cpg14x_albums WHERE category = 3 (0s)
    [45] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='254' (0.002s)
    [47] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '3' (0.002s)
    [48] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,1 (0s)
    [49] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (5)GROUP BY a.aid (0s)
    [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='259' (0s)
    [51] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '3'  ORDER BY name (0.002s)
    [52] => SELECT aid FROM cpg14x_albums WHERE category = 2 (0s)
    [53] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.001s)
    [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='764' (0.001s)
    [55] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '2' (0.041s)
    [56] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,21 (0.009s)
    [57] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)GROUP BY a.aid (0.016s)
    [58] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='618' (0s)
    [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='624' (0.007s)
    [60] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='690' (0s)
    [61] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='751' (0.001s)
    [62] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='792' (0.002s)
    [63] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='804' (0s)
    [64] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='819' (0s)
    [65] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='886' (0s)
    [66] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='910' (0s)
    [67] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='946' (0s)
    [68] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='992' (0s)
    [69] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1008' (0s)
    [70] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1039' (0.009s)
    [71] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1059' (0s)
    [72] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1149' (0.005s)
    [73] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1188' (0.003s)
    [74] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1237' (0.073s)
    [75] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1355' (0.001s)
    [76] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1395' (0s)
    [77] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1576' (0s)
    [78] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='1581' (0s)
    [79] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '2'  ORDER BY name (0s)
    [80] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0s)
    [81] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [82] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '1'  ORDER BY name (0.003s)
    [83] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0s)
    [84] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0s)
    [85] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.001s)
    [86] => SELECT count(*) FROM cpg14x_comments as c LEFT JOIN cpg14x_pictures as p ON c.pid=p.pid LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 (0.002s)
    [87] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0.004s)
    [88] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0.003s)
    [89] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.005s)
    [90] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0.002s)
    [91] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0.001s)
    [92] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.002s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.1.6 - OK
------------------
mySQL version: 5.0.27-Debian_0.dotdeb.1
------------------
Coppermine version: 1.4.16(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support:
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.27
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 | 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 | system,exec,shell_exec,passthru,set_time_limit,error_log,ini_alter,dl,mb_send_mail,proc_open,pfsockopen,openlog,syslog,readlink,symlink,link,leak,fsockopen,popen,escapeshellcmd,apache_child_terminate apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual | system,exec,shell_exec,passthru,set_time_limit,error_log,ini_alter,dl,mb_send_mail,proc_open,pfsockopen,openlog,syslog,readlink,symlink,link,leak,fsockopen,popen,escapeshellcmd,apache_child_terminate apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/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 | 20 | 20
max_input_time | 30 | 30
upload_max_filesize | 2M | 2M
post_max_size | 2M | 2M
==========================
Page generated in 4.32 seconds - 93 queries in 0.733 seconds - Album set : ; Meta set: ;
« Last Edit: February 19, 2008, 07:34:34 pm by Hein Traag »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade problem from 1.4.14 to 1.4.16: error message
« Reply #1 on: February 08, 2008, 08:39:58 pm »

That's not an error message, but debug_output. Shows when you enable that option (debug mode) in coppermine's config. Disable that option if you don't have actual issues. If you really have issues, post a link to your gallery.
Logged

Xil

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upgrade problem from 1.4.14 to 1.4.16: error message
« Reply #2 on: February 08, 2008, 11:31:41 pm »

I thought it was better to post this debug outpout

I have this error message:

While executing query "SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8" on 0

mySQL error: Got error 28 from storage engine


Link: http://nicki.12gbfree.com/gallery2/
Logged

Nibbler

  • Guest
Re: Upgrade problem from 1.4.14 to 1.4.16: error message
« Reply #3 on: February 08, 2008, 11:39:42 pm »

You need to get your host to fix that. Until they do, you can disable the random images block in config.
Logged

Xil

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upgrade problem from 1.4.14 to 1.4.16: error message
« Reply #4 on: February 09, 2008, 12:50:44 pm »

Thanks for the help. with your help, it's works fine  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.