DB Queries: 6
×
Total Queries: 6, Read Queries: 6, Write Queries: 0
select id from languages where prefix='en' limit 1
READ 0.75889
/bayt/pre-prod/test-drive/shared/QueryLog/QueryLog.php:107 /bayt/pre-prod/system/database/DB_driver.php:428 /bayt/pre-prod/application/models/mainmodel.php:798 /bayt/pre-prod/application/controllers/base.php:124 /bayt/pre-prod/application/controllers/en.php:25 /bayt/pre-prod/system/core/CodeIgniter.php:308 /bayt/pre-prod/index.php:206
select json_config, messageatstartup_ar, start_date,end_date,messageatstartup,time_zone from application where appid = 6081
READ 0.84615
/bayt/pre-prod/test-drive/shared/QueryLog/QueryLog.php:107 /bayt/pre-prod/system/database/DB_driver.php:428 /bayt/pre-prod/application/models/mainmodel.php:5033 /bayt/pre-prod/application/controllers/base.php:25500 /bayt/pre-prod/application/controllers/base.php:584 /bayt/pre-prod/application/controllers/en.php:25 /bayt/pre-prod/system/core/CodeIgniter.php:308 /bayt/pre-prod/index.php:206
select cp.type, cw.*
from cms_widget as cw
join cms_page as cp on cw.cms_page_id=cp.id
where cp.campaign_id=6081 and cw.language_id='1' and cw.is_active=1 and (cp.type='public page header' or cp.type='public page footer' or cp.type='home page scripts' or cp.type='homepage head tag' or cp.type='registration page top' or cp.type='registration page bottom')
order by cw.sequence asc
READ 2.18105
/bayt/pre-prod/test-drive/shared/QueryLog/QueryLog.php:107 /bayt/pre-prod/system/database/DB_driver.php:428 /bayt/pre-prod/application/models/mainmodel.php:927 /bayt/pre-prod/application/controllers/base.php:620 /bayt/pre-prod/application/controllers/en.php:25 /bayt/pre-prod/system/core/CodeIgniter.php:308 /bayt/pre-prod/index.php:206
select cw.`name`,cp.slug,cp.meta_data, cw.content,cp.is_login_required as loginrequired from cms_widget as cw
join cms_page as cp on cw.cms_page_id=cp.id
where cp.campaign_id=6081 and cw.language_id='1' and cp.is_home=0 and cw.is_active=1 and cp.slug=0;
READ 7.69806
/bayt/pre-prod/test-drive/shared/QueryLog/QueryLog.php:107 /bayt/pre-prod/system/database/DB_driver.php:428 /bayt/pre-prod/application/models/mainmodel.php:858 /bayt/pre-prod/application/controllers/base.php:625 /bayt/pre-prod/application/controllers/en.php:25 /bayt/pre-prod/system/core/CodeIgniter.php:308 /bayt/pre-prod/index.php:206
select * from short_code where app_id=6081 and is_active=1;
READ 0.741
/bayt/pre-prod/test-drive/shared/QueryLog/QueryLog.php:107 /bayt/pre-prod/system/database/DB_driver.php:428 /bayt/pre-prod/application/models/mainmodel.php:758 /bayt/pre-prod/application/controllers/en.php:1434 /bayt/pre-prod/application/controllers/en.php:1455 /bayt/pre-prod/system/core/CodeIgniter.php:359 /bayt/pre-prod/index.php:206
select * from cms_widget as w
join cms_page as p on w.cms_page_id=p.id and p.campaign_id=6081
where w.language_id='1' and is_home=1 and w.is_active=1 order by w.sequence asc;
READ 4.7102
/bayt/pre-prod/test-drive/shared/QueryLog/QueryLog.php:107 /bayt/pre-prod/system/database/DB_driver.php:428 /bayt/pre-prod/application/models/mainmodel.php:998 /bayt/pre-prod/application/controllers/en.php:1436 /bayt/pre-prod/application/controllers/en.php:1455 /bayt/pre-prod/system/core/CodeIgniter.php:359 /bayt/pre-prod/index.php:206