Viewing File: /home/assersoft/tmp/sess_040b46bfaec881d4f6d27772f4f62153

 PMA_token |s:32:"7d666c3d7b5e7d683b644b573e472528"; HMAC_secret |s:16:"9qIDsBMewlIJ%'[-";auth_type|s:3:"env";browser_access_time|a:1:{s:7:"default";i:1749162980;}encryption_key|s:32:"'��q���E��MU&�,��c�s����";relation|a:1:{i:1;a:41:{s:7:"version";s:5:"5.2.2";s:4:"user";N;s:2:"db";N;s:8:"bookmark";N;s:15:"central_columns";N;s:11:"column_info";N;s:17:"designer_settings";N;s:16:"export_templates";N;s:8:"favorite";N;s:7:"history";N;s:16:"navigationhiding";N;s:9:"pdf_pages";N;s:6:"recent";N;s:8:"relation";N;s:13:"savedsearches";N;s:12:"table_coords";N;s:10:"table_info";N;s:13:"table_uiprefs";N;s:8:"tracking";N;s:10:"userconfig";N;s:10:"usergroups";N;s:5:"users";N;s:12:"bookmarkwork";b:0;s:8:"mimework";b:0;s:18:"centralcolumnswork";b:0;s:8:"commwork";b:0;s:9:"menuswork";b:0;s:20:"designersettingswork";b:0;s:11:"displaywork";b:0;s:19:"exporttemplateswork";b:0;s:12:"favoritework";b:0;s:7:"navwork";b:0;s:7:"pdfwork";b:0;s:10:"recentwork";b:0;s:7:"relwork";b:0;s:17:"savedsearcheswork";b:0;s:11:"historywork";b:0;s:12:"trackingwork";b:0;s:11:"uiprefswork";b:0;s:14:"userconfigwork";b:0;s:8:"allworks";b:0;}}userconfig|a:2:{s:2:"db";a:1:{s:12:"Console/Mode";s:8:"collapse";}s:2:"ts";i:1749162967;}two_factor_check|b:1;cache|a:2:{s:8:"server_1";a:4:{s:15:"userprefs_mtime";i:1749162967;s:14:"userprefs_type";s:7:"session";s:12:"config_mtime";i:1741291799;s:9:"userprefs";a:1:{s:7:"Console";a:1:{s:4:"Mode";s:8:"collapse";}}}s:18:"server_1_assersoft";a:18:{s:17:"is_create_db_priv";b:0;s:14:"is_reload_priv";b:0;s:12:"db_to_create";s:0:"";s:30:"dbs_where_create_table_allowed";a:10:{i:0;s:13:"assersoft\_SS";i:1;s:20:"assersoft\_Sakufmain";i:2;s:20:"assersoft\_ashcroft1";i:3;s:20:"assersoft\_audiogram";i:4;s:21:"assersoft\_cleanwater";i:5;s:26:"assersoft\_demo\_audiogram";i:6;s:28:"assersoft\_doctor\_assistant";i:7;s:22:"assersoft\_nationallab";i:8;s:17:"assersoft\_royal1";i:9;s:19:"assersoft\_sakufinn";}s:11:"dbs_to_test";b:0;s:9:"proc_priv";b:0;s:10:"table_priv";b:0;s:8:"col_priv";b:0;s:7:"db_priv";b:0;s:11:"binary_logs";a:0:{}s:18:"menu-levels-server";a:13:{s:9:"databases";s:9:"Databases";s:3:"sql";s:3:"SQL";s:6:"status";s:6:"Status";s:6:"rights";s:5:"Users";s:6:"export";s:6:"Export";s:6:"import";s:6:"Import";s:8:"settings";s:8:"Settings";s:6:"binlog";s:10:"Binary log";s:11:"replication";s:11:"Replication";s:4:"vars";s:9:"Variables";s:7:"charset";s:8:"Charsets";s:7:"plugins";s:7:"Plugins";s:6:"engine";s:7:"Engines";}s:14:"menu-levels-db";a:14:{s:9:"structure";s:9:"Structure";s:3:"sql";s:3:"SQL";s:6:"search";s:6:"Search";s:5:"query";s:5:"Query";s:6:"export";s:6:"Export";s:6:"import";s:6:"Import";s:9:"operation";s:10:"Operations";s:10:"privileges";s:10:"Privileges";s:8:"routines";s:8:"Routines";s:6:"events";s:6:"Events";s:8:"triggers";s:8:"Triggers";s:8:"tracking";s:8:"Tracking";s:8:"designer";s:8:"Designer";s:15:"central_columns";s:15:"Central columns";}s:19:"profiling_supported";b:1;s:17:"menu-levels-table";a:11:{s:6:"browse";s:6:"Browse";s:9:"structure";s:9:"Structure";s:3:"sql";s:3:"SQL";s:6:"search";s:6:"Search";s:6:"insert";s:6:"Insert";s:6:"export";s:6:"Export";s:6:"import";s:6:"Import";s:10:"privileges";s:10:"Privileges";s:9:"operation";s:10:"Operations";s:8:"tracking";s:8:"Tracking";s:8:"triggers";s:8:"Triggers";}s:14:"mysql_cur_user";s:19:"assersoft@localhost";s:12:"is_superuser";b:0;s:12:"is_grantuser";b:0;s:13:"is_createuser";b:0;}}tmpval|a:16:{s:14:"favoriteTables";a:1:{i:1;a:0:{}}s:12:"recentTables";a:1:{i:1;a:1:{i:0;a:2:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";}}}s:18:"table_limit_offset";i:0;s:21:"table_limit_offset_db";s:21:"assersoft_nationallab";s:5:"query";a:10:{s:32:"29bf505509bd83a682861bcd07af0ac0";a:8:{s:3:"sql";s:620:"create table if not exists invoices(
    id int auto_increment primary key,
    lab_number varchar(20) not null unique,
    patient_id int not null,
    referred_by varchar(100),
    invoice_date datetime not null,
    total_amount decimal(10, 2) not null,
    paid_amount decimal(10, 2) not null,
    balance decimal(10, 2) not null default 0,
    collecting_date datetime not null,
    created_at timestamp not null default current_timestamp,
    updated_at timestamp not null default current_timestamp on update current_timestamp,
    foreign key (patient_id) references patients(id) on delete cascade
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"be24f17362f68a92381aa08ce8d9fd71";a:8:{s:3:"sql";s:551:"create table if not exists invoice_tests(
    id int auto_increment primary key,
    invoice_id int not null,
    test_id int not null,
    price decimal(10, 2) not null,
    status enum('Pending', 'Completed', 'Cancelled') not null default 'Pending',
    created_at timestamp not null default current_timestamp,
    updated_at timestamp not null default current_timestamp on update current_timestamp,
    foreign key (invoice_id) references invoices(id) on delete cascade,
    foreign key (test_id) references tests(id) on delete cascade
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"d1bc60ac060251b8550702430db60856";a:8:{s:3:"sql";s:451:"create table if not exists reports(
    id int auto_increment primary key,
    invoice_id int not null,
    invoice_test_id int not null,
    created_at timestamp not null default current_timestamp,
    updated_at timestamp not null default current_timestamp on update current_timestamp,
    foreign key (invoice_id) references invoices(id) on delete cascade,
    foreign key (invoice_test_id) references invoice_tests(id) on delete cascade
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"5dbae95d66f3334351efe84468c4a31b";a:8:{s:3:"sql";s:515:"create table if not exists report_details(
    id int auto_increment primary key,
    report_id int not null,
    test_item_id int not null,
    result varchar(10) not null,
    remarks varchar(64) not null,
    created_at timestamp not null default current_timestamp,
    updated_at timestamp not null default current_timestamp on update current_timestamp,
    foreign key (report_id) references reports(id) on delete cascade,
    foreign key (test_item_id) references test_items(id) on delete cascade
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"241d8f7fe79a203f7c91bef464391786";a:8:{s:3:"sql";s:261:"create table if not exists utilities(
    name varchar(30) primary key,
    value varchar(128) not null,
    created_at timestamp not null default current_timestamp,
    updated_at timestamp not null default current_timestamp on update current_timestamp
);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"6e0cd80510816fc3a6f178fbff15fe8e";a:8:{s:3:"sql";s:65:"insert into utilities (name, value) values ('lab_number', 10000);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"0da65eb45ad27bc3d7a02029b582f0f6";a:8:{s:3:"sql";s:226:"INSERT INTO `users` (`id`, `username`, `password`, `role`, `created_at`, `updated_at`) VALUES ('1', 'nationallab', '$2y$10$wf.8K.f00mpaVzeG.ufYVukBlgfKhoHf3UXw2RR8.jyX5mAx4D1hy', 'admin', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"925f69295b5a9f7f818cd06c3dc39d83";a:8:{s:3:"sql";s:30:"SELECT * FROM `users` WHERE 1;";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"3a3889993b158ad3c4a9558e796f31c7";a:8:{s:3:"sql";s:21:"SELECT * FROM `users`";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}s:32:"389981befcb2e9d77c0b43770f6154df";a:8:{s:3:"sql";s:53:"SELECT `password` FROM `users` WHERE `users`.`id` = 1";s:12:"repeat_cells";i:100;s:8:"max_rows";i:25;s:3:"pos";i:0;s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;}}s:6:"pftext";s:1:"P";s:18:"relational_display";s:1:"K";s:9:"geoOption";s:4:"GEOM";s:14:"display_binary";b:1;s:12:"display_blob";b:0;s:19:"hide_transformation";b:0;s:3:"pos";i:0;s:8:"max_rows";i:25;s:12:"repeat_cells";i:100;s:13:"table_uiprefs";a:1:{i:1;a:1:{s:21:"assersoft_nationallab";a:1:{s:5:"users";a:0:{}}}}s:20:"possible_as_geometry";b:1;}git_location|N;is_git_revision|b:0;ConfigFile1|a:4:{s:28:"PmaNoRelation_DisableWarning";b:1;s:12:"ShowCreateDb";b:0;s:7:"Console";a:1:{s:4:"Mode";s:8:"collapse";}s:7:"Servers";a:1:{i:1;a:2:{s:7:"only_db";s:0:"";s:7:"hide_db";s:0:"";}}}debug|a:0:{}flashMessages|a:0:{}Import_message|a:2:{s:7:"message";s:1585:"<div class="alert alert-danger" role="alert"><h1>Error</h1><p><strong>SQL query:</strong>  <a href="#" class="copyQueryBtn" data-text="INSERT INTO `users` (`id`, `username`, `password`, `role`, `created_at`, `updated_at`) VALUES (NULL, &#039;nationallab&#039;, &#039;$2y$10$oQSD2bzaLObV/dL1bgu7ru5.frfs8ZGUrzKzGILJg3Vc77o6g7OLm&#039;, &#039;admin&#039;, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)">Copy</a>
<a href="index.php?route=/table/sql&sql_query=INSERT+INTO+%60users%60+%28%60id%60%2C+%60username%60%2C+%60password%60%2C+%60role%60%2C+%60created_at%60%2C+%60updated_at%60%29+VALUES+%28NULL%2C+%27nationallab%27%2C+%27%242y%2410%24oQSD2bzaLObV%2FdL1bgu7ru5.frfs8ZGUrzKzGILJg3Vc77o6g7OLm%27%2C+%27admin%27%2C+CURRENT_TIMESTAMP%2C+CURRENT_TIMESTAMP%29&show_query=1&db=assersoft_nationallab&table=users"><span class="text-nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit">&nbsp;Edit</span></a>    </p>
<p>
<code class="sql" dir="ltr"><pre>
INSERT INTO `users` (`id`, `username`, `password`, `role`, `created_at`, `updated_at`) VALUES (NULL, 'nationallab', '$2y$10$oQSD2bzaLObV/dL1bgu7ru5.frfs8ZGUrzKzGILJg3Vc77o6g7OLm', 'admin', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)
</pre></code>
</p>
<p>
    <strong>MySQL said: </strong><a href="./url.php?url=https%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F8.0%2Fen%2Fserver-error-reference.html" target="mysql_doc"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help"></a>
</p>
<code>#1062 - Duplicate entry &#039;nationallab&#039; for key &#039;users.username&#039;</code><br></div>";s:11:"go_back_url";s:69:"index.php?route=/table/structure&db=assersoft_nationallab&table=users";}is_multi_query|b:0;sql_history|a:8:{i:0;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:0:"";s:8:"sqlquery";s:65:"insert into utilities (name, value) values ('lab_number', 10000);";}i:1;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:21:"SELECT * FROM `users`";}i:2;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:226:"INSERT INTO `users` (`id`, `username`, `password`, `role`, `created_at`, `updated_at`) VALUES ('1', 'nationallab', '$2y$10$wf.8K.f00mpaVzeG.ufYVukBlgfKhoHf3UXw2RR8.jyX5mAx4D1hy', 'admin', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);";}i:3;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:30:"SELECT * FROM `users` WHERE 1;";}i:4;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:21:"SELECT * FROM `users`";}i:5;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:21:"SELECT * FROM `users`";}i:6;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:21:"SELECT * FROM `users`";}i:7;a:3:{s:2:"db";s:21:"assersoft_nationallab";s:5:"table";s:5:"users";s:8:"sqlquery";s:53:"SELECT `password` FROM `users` WHERE `users`.`id` = 1";}}errors|a:0:{}
Back to Directory File Manager