Besoin d'aide erreur critique Besoin d'aide erreur critique
 

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

Besoin d'aide erreur critique

Started by Space-Pirate, May 07, 2010, 12:30:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Space-Pirate

Bonjour, je rencontre une erreur critique depuis aujourd'hui.

Voici ce qui s'affiche :

"Erreur critique     
   
Il y eu une erreur lors de l'exécution de la requête "

J'utilisais la version 1.4.20 et n'avais aucun problème jusque là.

J'ai mis à jour vers la version 1.4.26 en pensant résoudre le problème, mais rien n'y fait.

J'ai activé le mod débogage et voici les infos :

Code:
USER:
------------------
Array
(
    [ID] => 424d6c1ff95afea197ad9f28ee66c2ff
    [am] => 1
    [lang] => french
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => piratedelespace
    [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.002s)
    [2] => delete from `jmiro97694`.cpg14x_sessions where time<1273221859 and remember=0; (0.002s)
    [3] => delete from `jmiro97694`.cpg14x_sessions where time<1272015859; (0.003s)
    [4] => select user_id from `jmiro97694`.cpg14x_sessions where session_id = '8d559586c22c540177fa1c048160fbf4' (0.003s)
    [5] => select user_id as id, user_password as password from `jmiro97694`.cpg14x_users where user_id=1 (0.003s)
    [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 `jmiro97694`.cpg14x_users AS u INNER JOIN `jmiro97694`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.003s)
    [7] => SELECT user_group_list FROM `jmiro97694`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.003s)
    [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.003s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.003s)
    [10] => update `jmiro97694`.cpg14x_sessions set time='1273225459' where session_id = '8d559586c22c540177fa1c048160fbf4' (0.003s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-05-07 11:44:20' (0.002s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='88.186.70.14' OR ip_addr='88.186.70.14' OR user_id=1) AND brute_force=0 (0.002s)
    [14] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY name (0.002s)
    [15] => SELECT aid FROM cpg14x_albums WHERE category = 2 (0.003s)
    [16] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.003s)
    [17] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '2' (0.002s)
    [18] => 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,10 (0.003s)
    [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 cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (16, 15, 13, 12, 9, 11, 10, 8, 6, 5)GROUP BY a.aid (0.003s)
    [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='650' (0.003s)
    [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='639' (0.002s)
    [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='566' (0.002s)
    [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='558' (0.002s)
    [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='622' (0.002s)
    [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='535' (0.002s)
    [26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='507' (0.002s)
    [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='543' (0.002s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='456' (0.002s)
    [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='522' (0.002s)
    [30] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '2'  ORDER BY name (0.002s)
    [31] => SELECT aid FROM cpg14x_albums WHERE category = 4 (0.003s)
    [32] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0.003s)
    [33] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '4'  ORDER BY name (0.003s)
    [34] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0.003s)
    [35] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.003s)
    [36] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '1'  ORDER BY name (0.003s)
    [37] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0.003s)
    [38] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0.003s)
    [39] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.003s)
    [40] => 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.003s)
    [41] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0.003s)
    [42] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0.003s)
    [43] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.002s)
    [44] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0.002s)
    [45] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10 (0.004s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.9 - OK
------------------
mySQL version: 5.0.82-community-nt
------------------
Coppermine version: 1.4.26(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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.51a
==========================
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 | ini_alter,ini_restore,shell_exec,system,exec,diskfreespace,disk_total_space,source,showsource,proc_exec,symlink,proc_open,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,disk_free_space | ini_alter,ini_restore,shell_exec,system,exec,diskfreespace,disk_total_space,source,showsource,proc_exec,symlink,proc_open,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,disk_free_space
file_uploads | On | On
include_path | . | .
open_basedir | d:/www/jmi-rock.com/htdocs | ./..;d:\www\php\htdocs\tmp
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | mail_php@jmi-rock.com | php5_apache@lws.fr
sendmail_path | no value | no value
SMTP | 80.248.217.22 | 80.248.217.22
smtp_port | 26 | 26
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 30 | 30
upload_max_filesize | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.485 seconds - 46 queries in 0.12 seconds - Album set : ; Meta set: ;


Pouvez-vous m'aider à résoudre cette erreur?

Merci d'avance.

François Keller

Ce n'est pas la sortie du mode deboggage qui nous interresse, mais le message d'erreur complet.
Postez un lien vers la galerie.
Avez vous bien lancé la page update.php au moment de la mise à jour ?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Space-Pirate

Bonjour, alors à ma grande surprise lorsque j'ai ouvert la page d'accueil de la galerie ce matin tout était nickel!

Pour répondre à la question oui j'ai bien lancé update.php lors de la mise à jour.

Je n'ai plus le message d'erreur. Il me semblait qu'une fonction ne s'exécutais pas.

Il n'y a plus que cet avertissement : "Le paramètre PHP register_globals est activé (sur on) sur votre serveur, ce qui est une mauvaise idée en terme de sécurité. Il est fortement recommandé de le désactiver (mettre à off)."

Mais ça je ne peut le modifier.

Quoi qu'il en soit le problème semble résolu.

Voici tout de même l'adresse de la galerie en question : http://www.jmi-rock.com/ menu de gauche "Galerie Photos" pour avoir la vue d'ensemble(car il y a un header commun).

En espérant que ça va continuer de fonctionner car cette galerie est tout simplement extraordinaire.

@ Bientôt.





François Keller

C'était donc peut être simplement un problème du serveur
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog