Erreur critique suite à une mauvaise manipulation dans l'administration Erreur critique suite à une mauvaise manipulation dans l'administration
 

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

Erreur critique suite à une mauvaise manipulation dans l'administration

Started by LBchaba29, November 11, 2007, 06:57:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LBchaba29

Bonsoir
j'ai fait une mauvaise manipulation dans ma galerie
au lieu de cliquer sur "sauvegarder la nouvelle configuration" j'ai cliqué sur "restaurer les paramètres d'origine"
depuis je n'ai plus accès à ma galerie je tombe sur une page:

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


http://dominicpurcellfzone.free.fr/DPFZgalerie
:o
ce problème est-il irréversible?
merci pour votre aide

François Keller

Bonjour,

c'est surement réversible. il faudrait néanmoins voir quel est le message d'erreur complet.
pour celà il faudrait activer le mode de débugage manuellement http://frantzk.free.fr/WikiFree/index.php?title=Activer_manuellement_le_mode_debug
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

LBchaba29

merci Frantz

j'ai donc activé le débugage

le message d'erreur est donc:

QuoteWhile executing query "DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL  MINUTE" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1






Quote
USER:
------------------
Array
(
    [ID] => a06e9d7b0031eefa0889a9ed38fa7302
    [am] => 1
    [lang] => french
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 10
    [user_name] => LBchaba
    [groups] => Array
        (
           
  • => 1
            )

        [disk_max] => 1024
        [disk_min] => 1024
        [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] => 10
        [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] => 1024
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.001s)
        [1] => select * from cpg1410_plugins order by priority asc; (0.001s)
        [2] => delete from `dominicpurcellfzone`.cpg1410_sessions where time<1194800419 and remember=0; (0.023s)
        [3] => delete from `dominicpurcellfzone`.cpg1410_sessions where time<1193594419; (0.001s)
        [4] => select user_id from `dominicpurcellfzone`.cpg1410_sessions where session_id=md5("2d351b70a190e111ed29106f4777ee011df8676fd02796bcfc81a50d7271372f"); (0.001s)
        [5] => select user_id as id, user_password as password from `dominicpurcellfzone`.cpg1410_users where user_id=10 (0.002s)
        [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 `dominicpurcellfzone`.cpg1410_users AS u INNER JOIN `dominicpurcellfzone`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='10' (0.001s)
        [7] => SELECT user_group_list FROM `dominicpurcellfzone`.cpg1410_users AS u WHERE user_id='10' 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) (0.001s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0s)
        [10] => update `dominicpurcellfzone`.cpg1410_sessions set time='1194804019' where session_id=md5('2d351b70a190e111ed29106f4777ee011df8676fd02796bcfc81a50d7271372f'); (0.001s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 10 (0.001s)
        [12] => SELECT * FROM cpg1410_lang_strings WHERE lang = 'french' (0.001s)
        [13] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL  MINUTE (0.001s)
        [14] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.3-dev - OK
    ------------------
    mySQL version: 5.0.45
    ------------------
    Coppermine version: 1.4.10(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Client API version 5.0.45
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/mysql-client/include/mysql
    MYSQL_LIBS -L/usr/mysql-client/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    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 | On | On
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | /mnt/164/sdb/f/2/dominicpurcellfzone/include:.:/usr/php4/lib/php | .:/usr/php4/lib/php/
    open_basedir | /mnt/164/sdb/f/2/dominicpurcellfzone | 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 | 2M | 2M
    ==========================
    Page generated in 0.395 seconds - 15 queries in 0.036 seconds - Album set : ; Meta set: ;

LBchaba29

sous le message d'erreur il y a aussi:

Fichier: /mnt/164/sdb/f/2/dominicpurcellfzone/DPFZgalerie/include/functions.inc.php - Ligne: 249

donc quand j'ouvre le fichier
à la ligne 249 j'ai:

Quotecpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);

pensez-vous qu'il y a une solution pour réparer?

François Keller

regardez dans la base de donnée dans la table config ce que vous avez sous main_page_layout
vous aviez un plugin ou un mod d'installé ?
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

LBchaba29

ça me donne ça:
Quotebreadcrumb/catlist/alblist/random,2/lastup,2

j'avais ajouté le plugin pour ajouter le lecteur flv,il me semble que je l'avais ensuite supprimé

François Keller

parce que je voudrais savoir d'ou vient la table cpg1410_mod_online du message d'erreur
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

LBchaba29

ah oui!
j'oubliais,j'ai ajouté la fonction "Online Stats"
qui indique le nombre d'inscrits,et qui est en ligne

François Keller

est ce que la gestion des plugins est activée dans la table config (enable_plugins=1)?
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

LBchaba29