• Mémoire utilisée par PHP : 3,01 Mo
  • Pic mémoire allouée par PHP : 4,25 Mo
  • Temps d'execution du script : 0.991 s
  • Lang :
  • Path : galerie-nos-realisations
  • Route : galleriesGallery
  • $okt->page->module : galleries
  • $okt->page->action : gallery
ID Query Time
1
SET NAMES utf8mb4
0.00017
2
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV2_core_users AS u INNER JOIN
oktopusV2_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV2_core_users_online AS o ON
o.ident='18.221.222.47' WHERE u.id=1
0.00139
3
REPLACE INTO oktopusV2_core_users_online (user_id, ident,
logged, csrf_token, prev_url) VALUES (1,'18.221.222.47',
1714022233, '9d766d8f037d92ba1544c6abb0ca33498d1e2226',
'https://www.altasud-incendie.com/galerie-nos-realisations')
0.00038
4
UPDATE oktopusV2_mod_news SET active = 1
                           WHERE active = 3 AND NOW() >
created_at 
0.00089
5
UPDATE oktopusV2_mod_news SET active = 0
                              WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00" 
                              AND NOW() > end_at 
0.00033
6
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV2_mod_galleries AS r LEFT JOIN
oktopusV2_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN oktopusV2_mod_galleries_items AS p ON
r.id=p.gallery_id WHERE 1 AND rl.slug='nos-realisations' AND
rl.language='fr' AND r.active=1  GROUP BY r.id ORDER BY
nleft asc 
0.00647
7
SELECT r.*, rl.*, COUNT(p.id) AS num_items FROM
oktopusV2_mod_galleries AS r LEFT JOIN
oktopusV2_mod_galleries_locales AS rl ON r.id=rl.gallery_id
LEFT JOIN oktopusV2_mod_galleries_items AS p ON
r.id=p.gallery_id WHERE 1 AND rl.language='fr' AND
r.parent_id=1 AND r.active=1  GROUP BY r.id ORDER BY nleft
asc 
0.00121
8
SELECT i.id, i.user_id, i.gallery_id, i.active,
i.created_at, i.updated_at, i.image, i.tpl, i.ord,
il.language, il.title, il.subtitle, il.title_tag,
il.title_seo, il.slug, il.content, il.meta_description,
il.meta_keywords, il.words, gl.title AS gallery_title,
gl.slug AS gallery_slug, g.items_tpl AS gallery_items_tpl
FROM oktopusV2_mod_galleries_items AS i  INNER JOIN
oktopusV2_mod_galleries_items_locales AS il ON
i.id=il.item_id AND il.language='fr'  LEFT OUTER JOIN
oktopusV2_mod_galleries AS g ON g.id=i.gallery_id  LEFT
OUTER JOIN oktopusV2_mod_galleries_locales AS gl ON
g.id=gl.gallery_id AND gl.language='fr' WHERE 1  AND
i.gallery_id=1 AND il.language='fr' AND i.active=1 ORDER BY
i.ord ASC 
0.00211
9
SELECT t.active, t.ord, t.locked, t.password, t.tpl,
t.items_tpl, t.id, t.parent_id, t.nleft, t.nright, t.level,
l.title, l.title_tag, l.title_seo, l.slug, l.content,
l.meta_description, l.meta_keywords FROM
oktopusV2_mod_galleries AS t JOIN
oktopusV2_mod_galleries_locales AS l ON t.id = l.gallery_id
AND l.language = "fr" WHERE t.id = 1
0.00039
10
SELECT t.active, t.ord, t.locked, t.password, t.tpl,
t.items_tpl, t.id, t.parent_id, t.nleft, t.nright, t.level,
l.title, l.title_tag, l.title_seo, l.slug, l.content,
l.meta_description, l.meta_keywords FROM
oktopusV2_mod_galleries AS t JOIN
oktopusV2_mod_galleries_locales AS l ON t.id = l.gallery_id
AND l.language = "fr" WHERE nleft <= 1 AND nright >= 2 ORDER
BY level
0.00081
11
 SELECT t.*,
                            DATE_FORMAT(t.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                            DATE_FORMAT(t.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                       FROM oktopusV2_mod_slideshow_type t
                       WHERE 1 AND CASE 
                                       WHEN t.choix_rubrique
= 1 THEN
                                           t.rubrique LIKE
'%\'/galerie-nos-realisations\'%'
                                       WHEN t.choix_rubrique
= 2 THEN
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV2_mod_slideshow_type t
                      WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/galerie-nos-realisations\'%' AND
t.actif = 1
                   ) = 0
                
                                           AND
                                           t.rubrique NOT
LIKE '%\'/galerie-nos-realisations\'%'
                                       ELSE     
                                          
                   (  SELECT COUNT(t.id_type) FROM
oktopusV2_mod_slideshow_type t
                      WHERE t.choix_rubrique = 1 AND
t.rubrique LIKE '%\'/galerie-nos-realisations\'%' AND
t.actif = 1
                   ) = 0
                 
                                   END AND actif = '1' ORDER
BY nom 
0.00143
12
SELECT t.*, 
                        DATE_FORMAT(t.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                        DATE_FORMAT(t.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr 
                     FROM oktopusV2_mod_slideshow_type t
                     WHERE t.id_type = '2'
0.00075
13
 SELECT p.*, pl.valeur AS legende, pl.lien,
pl.contenu_titre,  pl.contenu_ss_titre,
pl.contenu_description, pl.primaire_texte,
pl.primaire_texte_mobile, pl.secondaire_texte,
pl.secondaire_texte_mobile, pl.primaire_slug,
pl.secondaire_slug, pl.lien2,  
                          DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                          DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                       FROM oktopusV2_mod_slideshow p
                       LEFT JOIN
oktopusV2_mod_slideshow_locales pl ON pl.id_slideshow =
p.id_slideshow AND pl.language = 'fr'
                       WHERE 1 AND p.actif = '1' AND id_type
= '2' ORDER BY position
0.00184
14
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV2_mod_home_popup p
                      LEFT JOIN
oktopusV2_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR p.rubrique LIKE
'%\'/galerie-nos-realisations\'%') ORDER BY p.rubrique DESC
0.00194
15
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV2_mod_home_popup p
                      LEFT JOIN
oktopusV2_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR p.rubrique LIKE
'%\'/galerie-nos-realisations\'%') ORDER BY p.rubrique DESC
0.00081
# type fichier ligne classe fonction message
# 1  Warning /www/al166/www/oktInc/classes/themes/class.oktThemeBase.php 876 oktDebug errorHandler Undefined index: HTTP_ACCEPT_LANGUAGE

#0 oktThemeBase->setAnalytics( called at [/oktInc/classes/themes/class.oktThemeBase.php:64]


#1 oktThemeBase->init( called at [/oktInc/classes/themes/class.oktThemeBase.php:58]


#2 oktThemeBase->__construct( called at [/oktInc/public/prepend.php:46]


#3 require_once( called at [/oktPrepend.php:17]


#4 require_once( called at [/oktopus.php:17]