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: Help help - Error: There was an error while processing a database query.  (Read 4934 times)

0 Members and 1 Guest are viewing this topic.

Iced Coffee

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 128

I am using CPG 1.4.25 and I just tried to install a few more plugins today, then uninstall them all as I found them not neccessary. Then now I found that my gallery not functioning any more. Could you please help?

The plugins I installed and uninstalled are:
1. cpg1.4.x_plugin_album-directory_v1.1
2. cpg1.4.x_plugin_cute-upload_v1.0.0
3. cpg1.4.x_plugin_delete-control_v1.03
4. cpg1.4.x_plugin_facebook_v1.3
5. cpg1.4.x_plugin_fullscreen-slides_v1.0
6. cpg1.4.x_plugin_group-pictures_v1.0

Now the error says:
Quote
There was an error while processing a database query.

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

mySQL error: Got error 28 from storage engine

File: /home2/fgiadinh/public_html/anhgiadinh/include/functions.inc.php - Line: 250  

For your info, I still can access the admin configuration pages and here is the debug info:
Quote
USER:
------------------
Array
(
    [ID] => 3ef6b1b62c7e3be9d0d938d7272f8c6b
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            
  • => 1492
  • [1] => 1467
                [2] => 1482
                [3] => 1475
                [4] => 1444
            )

        
[sort] => na
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Putin
    [groups] => Array
        (
            
  • => 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] => 10
    [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
(
    
  • => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.005s)
  • [1] => select * from cpg1410_plugins order by priority asc; (0.006s)
        [2] => delete from `fgiadinh_gallery`.cpg1410_sessions where time<1261734659 and remember=0; (0s)
        [3] => delete from `fgiadinh_gallery`.cpg1410_sessions where time<1260528659; (0s)
        [4] => select user_id from `fgiadinh_gallery`.cpg1410_sessions where session_id = '8a85b9f596e94dae553206e89ebeef0b' (0s)
        [5] => select user_id as id, user_password as password from `fgiadinh_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 `fgiadinh_gallery`.cpg1410_users AS u INNER JOIN `fgiadinh_gallery`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `fgiadinh_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 `fgiadinh_gallery`.cpg1410_sessions set time='1261738259' where session_id = '8a85b9f596e94dae553206e89ebeef0b' (0.001s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.001s)
        [12] => SELECT name, value FROM cpg1410_config where name REGEXP '^plugin_displayfields_' (0.002s)
        [13] => SELECT * FROM cpg1410_lang_strings WHERE lang = 'english' (0.011s)
        [14] => SELECT * FROM cpg1410_mark_users WHERE user_id = 1 (0.001s)
        [15] => SELECT * FROM cpg1410_mark_config (0.004s)
        [16] => DELETE FROM cpg1410_banned WHERE expiry < '2009-12-25 17:50:59' (0.005s)
        [17] => SELECT * FROM cpg1410_banned WHERE (ip_addr='123.16.70.67' OR ip_addr='123.16.70.67' OR user_id=1) AND brute_force=0 (0.007s)
        [18] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [19] => SELECT aid FROM cpg1410_albums as a WHERE category>=10000 (0s)
        [20] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [21] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '1'  ORDER BY pos (0s)
        [22] => SELECT aid FROM cpg1410_albums WHERE category = 21 (0s)
        [23] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 21 (0s)
        [24] => SELECT count(*) FROM cpg1410_albums as a WHERE category = '21' (0s)
        [25] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_albums as a LEFT JOIN cpg1410_pictures as p ON a.thumb=p.pid WHERE category=21 ORDER BY a.pos LIMIT 0,4 (0s)
        [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 cpg1410_albums AS a  LEFT JOIN cpg1410_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (79, 80, 81, 82)GROUP BY a.aid (0s)
        [27] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 79 AND
                            keywords LIKE '%PB2009%' AND
                            approved = 'YES' (0s)
        [28] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 81 AND
                            keywords LIKE '%giadinh2009%' AND
                            approved = 'YES' (0s)
        [29] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 82 AND
                            keywords LIKE '%banbe2009%' AND
                            approved = 'YES' (0s)
        [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1437' (0s)
        [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1428' (0.001s)
        [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1391' (0s)
        [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1508' (0s)
        [34] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '21'  ORDER BY pos (0s)
        [35] => SELECT aid FROM cpg1410_albums WHERE category = 18 (0s)
        [36] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 18 (0s)
        [37] => SELECT count(*) FROM cpg1410_albums as a WHERE category = '18' (0s)
        [38] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_albums as a LEFT JOIN cpg1410_pictures as p ON a.thumb=p.pid WHERE category=18 ORDER BY a.pos LIMIT 0,2 (0s)
        [39] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1410_albums AS a  LEFT JOIN cpg1410_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (69, 77)GROUP BY a.aid (0s)
        [40] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 69 AND
                            keywords LIKE '%Biu2%' AND
                            approved = 'YES' (0s)
        [41] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 77 AND
                            keywords LIKE '%B1%' AND
                            approved = 'YES' (0s)
        [42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1251' (0s)
        [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1245' (0s)
        [44] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '18'  ORDER BY pos (0.001s)
        [45] => SELECT aid FROM cpg1410_albums WHERE category = 2 (0s)
        [46] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.028s)
        [47] => SELECT count(*) FROM cpg1410_albums as a WHERE category = '2' (0s)
        [48] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_albums as a LEFT JOIN cpg1410_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,4 (0.001s)
        [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 cpg1410_albums AS a  LEFT JOIN cpg1410_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (44, 57, 55, 29)GROUP BY a.aid (0s)
        [50] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 29 AND
                            keywords LIKE '%P1%' AND
                            approved = 'YES' (0s)
        [51] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 44 AND
                            keywords LIKE '%P4%' AND
                            approved = 'YES' (0s)
        [52] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 55 AND
                            keywords LIKE '%P2%' AND
                            approved = 'YES' (0s)
        [53] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 57 AND
                            keywords LIKE '%P3%' AND
                            approved = 'YES' (0s)
        [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_pictures WHERE pid='1392' (0s)
        [55] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '2'  ORDER BY pos (0s)
        [56] => SELECT aid FROM cpg1410_albums WHERE category = 4 (0s)
        [57] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0.001s)
        [58] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '4'  ORDER BY pos (0.016s)
        [59] => SELECT aid FROM cpg1410_albums WHERE category = 10 (0.002s)
        [60] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 10 (0s)
        [61] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '10'  ORDER BY pos (0s)
        [62] => SELECT aid FROM cpg1410_albums WHERE category = 15 (0s)
        [63] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 15 (0s)
        [64] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '15'  ORDER BY pos (0s)
        [65] => SELECT aid FROM cpg1410_albums WHERE category = 3 (0s)
        [66] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
        [67] => SELECT count(*) FROM cpg1410_albums as a WHERE category = '3' (0s)
        [68] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1410_albums as a LEFT JOIN cpg1410_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,2 (0s)
        [69] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1410_albums AS a  LEFT JOIN cpg1410_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (35, 36)GROUP BY a.aid (0s)
        [70] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 35 AND
                            keywords LIKE '%bolam%' AND
                            approved = 'YES' (0s)
        [71] => SELECT count(pid) AS link_pic_count
                          FROM cpg1410_pictures
                            WHERE aid != 36 AND
                            keywords LIKE '%meha%' AND
                            approved = 'YES' (0s)
        [72] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '3'  ORDER BY pos (0s)
        [73] => SELECT aid FROM cpg1410_albums WHERE category = 7 (0s)
        [74] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
        [75] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '7'  ORDER BY pos (0s)
        [76] => SELECT aid FROM cpg1410_albums WHERE category = 8 (0s)
        [77] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
        [78] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '8'  ORDER BY pos (0s)
        [79] => SELECT aid FROM cpg1410_albums as a WHERE category = '0' (0s)
        [80] => SELECT count(*) FROM cpg1410_albums as a WHERE 1 (0s)
        [81] => SELECT count(*) FROM cpg1410_pictures as p LEFT JOIN cpg1410_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
        [82] => SELECT count(*) FROM cpg1410_comments as c LEFT JOIN cpg1410_pictures as p ON c.pid=p.pid LEFT JOIN cpg1410_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [83] => SELECT count(*) FROM cpg1410_categories WHERE 1 (0s)
        [84] => SELECT sum(hits) FROM cpg1410_pictures as p LEFT JOIN cpg1410_albums as a ON p.aid=a.aid WHERE 1 (0s)
        [85] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0s)
        [86] => SELECT COUNT(*) from cpg1410_pictures WHERE approved = 'YES'  (0s)
        [87] => SELECT * FROM cpg1410_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,15 (0s)
        [88] => SELECT count(*) from cpg1410_comments where pid=1508 and msg_id!=0 (0s)
        [89] => SELECT count(*) from cpg1410_comments where pid=1507 and msg_id!=0 (0s)
        [90] => SELECT count(*) from cpg1410_comments where pid=1506 and msg_id!=0 (0s)
        [91] => SELECT count(*) from cpg1410_comments where pid=1505 and msg_id!=0 (0s)
        [92] => SELECT count(*) from cpg1410_comments where pid=1504 and msg_id!=0 (0s)
        [93] => SELECT count(*) from cpg1410_comments where pid=1503 and msg_id!=0 (0s)
        [94] => SELECT count(*) from cpg1410_comments where pid=1502 and msg_id!=0 (0s)
        [95] => SELECT count(*) from cpg1410_comments where pid=1501 and msg_id!=0 (0s)
        [96] => SELECT count(*) from cpg1410_comments where pid=1500 and msg_id!=0 (0s)
        [97] => SELECT count(*) from cpg1410_comments where pid=1499 and msg_id!=0 (0s)
        [98] => SELECT count(*) from cpg1410_comments where pid=1498 and msg_id!=0 (0s)
        [99] => SELECT count(*) from cpg1410_comments where pid=1497 and msg_id!=0 (0s)
        [100] => SELECT count(*) from cpg1410_comments where pid=1496 and msg_id!=0 (0s)
        [101] => SELECT count(*) from cpg1410_comments where pid=1495 and msg_id!=0 (0s)
        [102] => SELECT count(*) from cpg1410_comments where pid=1494 and msg_id!=0 (0s)
        [103] => SELECT count(*) FROM cpg1410_albums as a WHERE category = '0' (0s)
        [104] => SELECT COUNT(*) from cpg1410_pictures WHERE approved = 'YES' AND votes >= '1'  (0s)
        [105] => SELECT * FROM cpg1410_pictures WHERE approved = 'YES' AND votes >= '1'  ORDER BY pic_rating DESC, votes DESC, pid DESC  LIMIT 0 ,5 (0s)
        [106] => SELECT count(*) from cpg1410_comments where pid=953 and msg_id!=0 (0s)
        [107] => SELECT count(*) from cpg1410_comments where pid=130 and msg_id!=0 (0s)
        [108] => SELECT count(*) from cpg1410_comments where pid=1435 and msg_id!=0 (0s)
        [109] => SELECT count(*) from cpg1410_comments where pid=1380 and msg_id!=0 (0s)
        [110] => SELECT count(*) from cpg1410_comments where pid=1278 and msg_id!=0 (0s)
        [111] => SELECT COUNT(*) from cpg1410_pictures WHERE approved = 'YES' AND hits > 0    (0s)
        [112] => SELECT * FROM cpg1410_pictures WHERE approved = 'YES'AND hits > 0   ORDER BY hits DESC, filename   LIMIT 0 ,5 (0s)
        [113] => SELECT count(*) from cpg1410_comments where pid=162 and msg_id!=0 (0s)
        [114] => SELECT count(*) from cpg1410_comments where pid=801 and msg_id!=0 (0s)
        [115] => SELECT count(*) from cpg1410_comments where pid=886 and msg_id!=0 (0s)
        [116] => SELECT count(*) from cpg1410_comments where pid=168 and msg_id!=0 (0s)
        [117] => SELECT count(*) from cpg1410_comments where pid=887 and msg_id!=0 (0s)
        [118] => SELECT COUNT(*) from cpg1410_comments, cpg1410_pictures  WHERE approved = 'YES' AND cpg1410_comments.pid = cpg1410_pictures.pid AND (1 ) (0s)
        [119] => SELECT p.*, msg_id, author_id, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body, aid FROM cpg1410_comments as c, cpg1410_pictures as p WHERE approved = 'YES' AND c.pid = p.pid AND (1 ) ORDER by msg_id DESC  LIMIT 0 ,5 (0s)
        [120] => SELECT count(*) from cpg1410_comments where pid=1435 and msg_id!=0 (0s)
        [121] => SELECT count(*) from cpg1410_comments where pid=1394 and msg_id!=0 (0s)
        [122] => SELECT count(*) from cpg1410_comments where pid=1358 and msg_id!=0 (0s)
        [123] => SELECT count(*) from cpg1410_comments where pid=1306 and msg_id!=0 (0s)
        [124] => SELECT count(*) from cpg1410_comments where pid=1251 and msg_id!=0 (0s)
        [125] => SELECT * FROM cpg1410_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 5 (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.11 - OK
    ------------------
    mySQL version: 5.0.85-community
    ------------------
    Coppermine version: 1.4.25(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 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 5.0.85
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient_r  
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    Compiled Version 1.2.3
    Linked Version 1.2.3
    ==========================
    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, pcntl_exec, proc_close,fopenstream, proc_get_status, proc_nice, proc_open, proc_terminate,popen, pclose, link, readlink, symlink, disk_free_space, disk_total_space, diskfreespace, filegroup, fileinode, fileowner, phpcredits, php_logo_guid, zend_logo_guid, getmyuid, getmygid, getmyinode, get_current_user, syslog, chroot, chown, chgrp, show_source, mysql_drop_db, mysql_list_dbs, alter_ini, set_ini, ini_restore, leak, listen, virtual, openlog, escapeshellcmd, escapeshellarg, dl, getrusage, set_time_limit, ini_alter, pfsockopen | system, exec, shell_exec, passthru, pcntl_exec, proc_close,fopenstream, proc_get_status, proc_nice, proc_open, proc_terminate,popen, pclose, link, readlink, symlink, disk_free_space, disk_total_space, diskfreespace, filegroup, fileinode, fileowner, phpcredits, php_logo_guid, zend_logo_guid, getmyuid, getmygid, getmyinode, get_current_user, syslog, chroot, chown, chgrp, show_source, mysql_drop_db, mysql_list_dbs, alter_ini, set_ini, ini_restore, leak, listen, virtual, openlog, escapeshellcmd, escapeshellarg, dl, getrusage, set_time_limit, ini_alter, pfsockopen
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/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 | 60 | 60
    upload_max_filesize | 8M | 8M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.219 seconds - 126 queries in 0.095 seconds - Album set : ; Meta set: ;
Under the debug info, there are some notice:

Quote
/plugins/jupload/include/config.inc.php

    * Notice line 372: Use of undefined constant JUPLOAD_CONFIG_onError - assumed 'JUPLOAD_CONFIG_onError'
    * Notice line 384: Use of undefined constant JUPLOAD_CONFIG_onError_doNothing - assumed 'JUPLOAD_CONFIG_onError_doNothing'
    * Notice line 385: Use of undefined constant JUPLOAD_CONFIG_onError_doNothing - assumed 'JUPLOAD_CONFIG_onError_doNothing'
    * Notice line 385: Use of undefined constant JUPLOAD_CONFIG_onError_mailAdmin - assumed 'JUPLOAD_CONFIG_onError_mailAdmin'
    * Notice line 558: Use of undefined constant JUPLOAD_CONFIG_SessionManagement - assumed 'JUPLOAD_CONFIG_SessionManagement'

/plugins/Easy_RSS/codebase.php

    * Notice line 157: Use of undefined constant SCRIPT_NAME - assumed 'SCRIPT_NAME'
    * Notice line 159: Undefined index: album
    * Notice line 160: Undefined index: cat
    * Notice line 177: Use of undefined constant gallery_name - assumed 'gallery_name'
    * Notice line 181: Use of undefined constant ecards_more_pic_target - assumed 'ecards_more_pic_target'
    * Notice line 200: Use of undefined constant SCRIPT_NAME - assumed 'SCRIPT_NAME'
    * Notice line 202: Undefined index: album
    * Notice line 203: Undefined index: cat
    * Notice line 208: Use of undefined constant ecards_more_pic_target - assumed 'ecards_more_pic_target'

/index.php

    * Notice line 723: Undefined variable: file

Please help help help!!!

Thanks a lot  ;D
Logged

Iced Coffee

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 128
Re: Help help - Error: There was an error while processing a database query.
« Reply #1 on: December 25, 2009, 12:18:48 pm »

If you want to take a look at the site, please feel free to go here http://giadinhhanhphuc.net/anhgiadinh

Thanks for your helps.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help help - Error: There was an error while processing a database query.
« Reply #2 on: December 25, 2009, 04:18:43 pm »

Please don't post debug_output unless requested in the future.

The error message "mySQL error: Got error 28 from storage engine" is quite common. Searching for it
is quite simple and always shows the same answer:
It's an error from MySQL, not Coppermine. Contact your host.

OS error code  28:  No space left on device

Logged

Iced Coffee

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 128
Re: Help help - Error: There was an error while processing a database query.
« Reply #3 on: December 26, 2009, 05:45:24 am »

Thanks Joachim. Yes, it seemed a server issue, not CPG. Everything is running fine today though I have done nothing.

Thanks anyway for your great supports.
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 19 queries.