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: Si è verificato un errore eseguendo una query al database  (Read 7465 times)

0 Members and 1 Guest are viewing this topic.

Rura

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

Buongiorno a tutti.

da qualche giorno ho scoperto di avere il seguente problema cliccando le foto nella galleria www.jeeptuning-foto.com :

Errore critico - Si è verificato un errore eseguendo una query al database 

Sapete dirmi cosa potrebbe essere ?

L'errore si presenta solo agli utenti anonimi o normali....io leggandomi come admin funziona tutto regolarmente.

Ho anche un secondo problema :

Nel aprire la home la cpu schizza al 100% di utilizzo e noterete un rallentamento nel apertura, una volta aperto per navigare nei vari albums etc la velocita' e perfetta. Cosa potrebbe essere ?

Grazie per il vostro aiuto.
Logged

Davide Renda

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Si è verificato un errore eseguendo una query al database
« Reply #1 on: June 24, 2008, 09:24:34 pm »

Hai spostato le immagini dal tuo disco remoto?

Ludo

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Si è verificato un errore eseguendo una query al database
« Reply #2 on: June 25, 2008, 01:02:45 am »

In ogni caso, abilita la modalità debug e gli avvisi PHP, poi copia e incolla questi ultimi
Logged

Rura

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Si è verificato un errore eseguendo una query al database
« Reply #3 on: June 25, 2008, 08:03:26 am »

Code: [Select]
USER:
------------------
Array
(
    [ID] => 9a93c8e700a2e3954e3096a6cfeed689
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => RURA
    [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 cpg133_filetypes; (0s)
    [1] => select * from cpg133_plugins order by priority asc; (0s)
    [2] => delete from `cpmime`.cpg133_sessions where time<1214370130 and remember=0; (0.001s)
    [3] => delete from `cpmime`.cpg133_sessions where time<1213164130; (0.001s)
    [4] => select user_id from `cpmime`.cpg133_sessions where session_id = 'bde2b5a05a76b3f7b0a92c20eafe7a73' (0s)
    [5] => select user_id as id, user_password as password from `cpmime`.cpg133_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 `cpmime`.cpg133_users AS u INNER JOIN `cpmime`.cpg133_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `cpmime`.cpg133_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 cpg133_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1 (0s)
    [10] => update `cpmime`.cpg133_sessions set time='1214373730' where session_id = 'bde2b5a05a76b3f7b0a92c20eafe7a73' (0s)
    [11] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg133_banned WHERE expiry < '2008-06-25 06:02:10' (0s)
    [13] => SELECT * FROM cpg133_banned WHERE (ip_addr='192.168.20.254' OR ip_addr='192.168.20.254' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = ''  ORDER BY pos (0s)
    [15] => SELECT aid FROM cpg133_albums as a WHERE category>=10000 (0.001s)
    [16] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.042s)
    [17] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '1'  ORDER BY pos (0s)
    [18] => SELECT aid FROM cpg133_albums WHERE category = 7 (0.001s)
    [19] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0.041s)
    [20] => SELECT count(*) FROM cpg133_albums as a WHERE category = '7' (0.001s)
    [21] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg133_albums as a LEFT JOIN cpg133_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,35 (0.001s)
    [22] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg133_albums AS a  LEFT JOIN cpg133_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (280, 163, 9, 44, 56, 59, 61, 63, 64, 65, 66, 67, 68, 71, 72, 73, 78, 81, 94, 133, 153, 155, 157, 167, 181, 197, 199, 213, 219, 223, 286, 303, 398, 424, 425)GROUP BY a.aid (2.441s)
    [23] => SELECT count(pid) AS link_pic_count
                      FROM cpg133_pictures
                        WHERE aid != 167 AND
                        keywords LIKE '%Jamboree 2006 Ciocco%' AND
                        approved = 'YES' (0.036s)
    [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='10013' (0s)
    [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='5896' (0s)
    [26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='232' (0s)
    [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='602' (0s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1214' (0s)
    [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1245' (0s)
    [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1604' (0s)
    [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1797' (0s)
    [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1836' (0s)
    [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1974' (0s)
    [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1872' (0s)
    [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1929' (0s)
    [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='2061' (0s)
    [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='2146' (0s)
    [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='2532' (0s)
    [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='2857' (0s)
    [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3070' (0s)
    [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3143' (0s)
    [42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3424' (0s)
    [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='4377' (0s)
    [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='4932' (0s)
    [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='5031' (0s)
    [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='5839' (0s)
    [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='6337' (0s)
    [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='12606' (0s)
    [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='7776' (0s)
    [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='7947' (0s)
    [51] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='8556' (0s)
    [52] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='8622' (0s)
    [53] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='9058' (0s)
    [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='10342' (0s)
    [55] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='11126' (0s)
    [56] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='15230' (0s)
    [57] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='15264' (0s)
    [58] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '7'  ORDER BY pos (0s)
    [59] => SELECT aid FROM cpg133_albums WHERE category = 8 (0.001s)
    [60] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0.058s)
    [61] => SELECT count(*) FROM cpg133_albums as a WHERE category = '8' (0.001s)
    [62] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg133_albums as a LEFT JOIN cpg133_pictures as p ON a.thumb=p.pid WHERE category=8 ORDER BY a.pos LIMIT 0,6 (0.001s)
    [63] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg133_albums AS a  LEFT JOIN cpg133_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (104, 107, 109, 16, 60, 200)GROUP BY a.aid (0.391s)
    [64] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3767' (0s)
    [65] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3744' (0s)
    [66] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3809' (0s)
    [67] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='271' (0s)
    [68] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1249' (0s)
    [69] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='7981' (0s)
    [70] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '8'  ORDER BY pos (0s)
    [71] => SELECT aid FROM cpg133_albums WHERE category = 9 (0.001s)
    [72] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 9 (0.058s)
    [73] => SELECT count(*) FROM cpg133_albums as a WHERE category = '9' (0.001s)
    [74] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg133_albums as a LEFT JOIN cpg133_pictures as p ON a.thumb=p.pid WHERE category=9 ORDER BY a.pos LIMIT 0,22 (0.001s)
    [75] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg133_albums AS a  LEFT JOIN cpg133_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (126, 117, 58, 33, 82, 38, 74, 131, 147, 154, 169, 182, 220, 221, 243, 246, 289, 304, 360, 382, 403, 418)GROUP BY a.aid (1.538s)
    [76] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3975' (0s)
    [77] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3955' (0s)
    [78] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='1621' (0s)
    [79] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='392' (0s)
    [80] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='3161' (0s)
    [81] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='430' (0s)
    [82] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='9480' (0s)
    [83] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='4272' (0s)
    [84] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='4557' (0s)
    [85] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='4940' (0s)
    [86] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='6934' (0s)
    [87] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='8074' (0s)
    [88] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='8630' (0s)
    [89] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='8631' (0s)
    [90] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='9418' (0s)
    [91] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='9429' (0s)
    [92] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='10782' (0s)
    [93] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='11155' (0s)
    [94] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='14218' (0s)
    [95] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='14396' (0s)
    [96] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='14696' (0s)
    [97] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg133_pictures WHERE pid='14982' (0s)
    [98] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '9'  ORDER BY pos (0s)
    [99] => SELECT aid FROM cpg133_albums as a WHERE category = '0' (0.001s)
    [100] => SELECT count(*) FROM cpg133_albums as a WHERE 1 (0s)
    [101] => SELECT count(*) FROM cpg133_pictures as p LEFT JOIN cpg133_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.045s)
    [102] => SELECT count(*) FROM cpg133_comments as c LEFT JOIN cpg133_pictures as p ON c.pid=p.pid LEFT JOIN cpg133_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
    [103] => SELECT count(*) FROM cpg133_categories WHERE 1 (0s)
    [104] => SELECT sum(hits) FROM cpg133_pictures as p LEFT JOIN cpg133_albums as a ON p.aid=a.aid WHERE 1 (0.046s)
    [105] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0.032s)
    [106] => SELECT count(*) FROM cpg133_albums as a WHERE category = '0' (0.001s)
    [107] => SELECT COUNT(*) from cpg133_pictures WHERE approved = 'YES'  (0.033s)
    [108] => SELECT * FROM cpg133_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 16 (0.31s)
    [109] => SELECT count(*) from cpg133_comments where pid=12558 and msg_id!=0 (0.024s)
    [110] => SELECT count(*) from cpg133_comments where pid=608 and msg_id!=0 (0s)
    [111] => SELECT count(*) from cpg133_comments where pid=8182 and msg_id!=0 (0s)
    [112] => SELECT count(*) from cpg133_comments where pid=9919 and msg_id!=0 (0s)
    [113] => SELECT count(*) from cpg133_comments where pid=1826 and msg_id!=0 (0s)
    [114] => SELECT count(*) from cpg133_comments where pid=11832 and msg_id!=0 (0s)
    [115] => SELECT count(*) from cpg133_comments where pid=12714 and msg_id!=0 (0s)
    [116] => SELECT count(*) from cpg133_comments where pid=3292 and msg_id!=0 (0s)
    [117] => SELECT count(*) from cpg133_comments where pid=13062 and msg_id!=0 (0s)
    [118] => SELECT count(*) from cpg133_comments where pid=10101 and msg_id!=0 (0s)
    [119] => SELECT count(*) from cpg133_comments where pid=1253 and msg_id!=0 (0s)
    [120] => SELECT count(*) from cpg133_comments where pid=11101 and msg_id!=0 (0s)
    [121] => SELECT count(*) from cpg133_comments where pid=11902 and msg_id!=0 (0s)
    [122] => SELECT count(*) from cpg133_comments where pid=14658 and msg_id!=0 (0s)
    [123] => SELECT count(*) from cpg133_comments where pid=205 and msg_id!=0 (0s)
    [124] => SELECT count(*) from cpg133_comments where pid=2224 and msg_id!=0 (0s)
    [125] => SELECT COUNT(*) from cpg133_pictures WHERE approved = 'YES'  (0.033s)
    [126] => SELECT * FROM cpg133_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,16 (0.001s)
    [127] => SELECT count(*) from cpg133_comments where pid=15296 and msg_id!=0 (0s)
    [128] => SELECT count(*) from cpg133_comments where pid=15295 and msg_id!=0 (0s)
    [129] => SELECT count(*) from cpg133_comments where pid=15294 and msg_id!=0 (0s)
    [130] => SELECT count(*) from cpg133_comments where pid=15293 and msg_id!=0 (0s)
    [131] => SELECT count(*) from cpg133_comments where pid=15292 and msg_id!=0 (0s)
    [132] => SELECT count(*) from cpg133_comments where pid=15291 and msg_id!=0 (0s)
    [133] => SELECT count(*) from cpg133_comments where pid=15290 and msg_id!=0 (0s)
    [134] => SELECT count(*) from cpg133_comments where pid=15289 and msg_id!=0 (0s)
    [135] => SELECT count(*) from cpg133_comments where pid=15288 and msg_id!=0 (0s)
    [136] => SELECT count(*) from cpg133_comments where pid=15287 and msg_id!=0 (0s)
    [137] => SELECT count(*) from cpg133_comments where pid=15286 and msg_id!=0 (0s)
    [138] => SELECT count(*) from cpg133_comments where pid=15285 and msg_id!=0 (0s)
    [139] => SELECT count(*) from cpg133_comments where pid=15284 and msg_id!=0 (0s)
    [140] => SELECT count(*) from cpg133_comments where pid=15283 and msg_id!=0 (0s)
    [141] => SELECT count(*) from cpg133_comments where pid=15282 and msg_id!=0 (0s)
    [142] => SELECT count(*) from cpg133_comments where pid=15281 and msg_id!=0 (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.0 - OK
------------------
mySQL version: 5.0.26-Max
------------------
Coppermine version: 1.4.18(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 5.0.26
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.3
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/share/php5:/usr/share/php5/PEAR | .:/usr/share/php5:/usr/share/php5/PEAR
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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 5.534 seconds - 143 queries in 5.144 seconds - Album set : ; Meta set: ;
« Last Edit: June 25, 2008, 09:26:47 pm by Lontano »
Logged

Ludo

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Si è verificato un errore eseguendo una query al database
« Reply #4 on: June 26, 2008, 10:06:25 am »

Mancano gli avvisi PHP...
Logged

Nicodemus

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Si è verificato un errore eseguendo una query al database
« Reply #5 on: July 02, 2008, 09:33:42 am »


/include/themes.inc.php
Notice line 2240: Undefined index: uid
Notice line 1943: Undefined index: uid
/displayimage.php
Notice line 319: Undefined variable: meta_keywords
Logged

Nicodemus

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Si è verificato un errore eseguendo una query al database
« Reply #6 on: July 02, 2008, 11:47:23 am »

Forse è stato trovato l'errore...

Quote
While executing query "INSERT INTO cpg133_hit_stats
   SET pid = 15309,
   search_phrase = '',
   Ip = '193.219.102.250',
   sdate = '1214990566',
   referer='http%3A%2F%2Fwww.jeeptuning-foto.com%2Findex.php',
   browser = 'Unknown',
   os = 'Unknown'" on 0

mySQL error: Table './cpmime/cpg133_hit_stats' is marked as crashed and should be repaired

Qual'è il modo più corretto per riparare la tabella in questione?

Grazie.
Logged

Ludo

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Si è verificato un errore eseguendo una query al database
« Reply #7 on: July 02, 2008, 03:51:32 pm »

Vai in phpMyAdmin, selezioni il database e nella scheda SQL esegui la query
Code: [Select]
REPAIR TABLE cpg133_hit_stats;)
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.