Hallo! Selamat Datang di Marketplace produk digital, Freelancer terbaik di indonesia (68541 Members, 790 Products, 5358 Topic, 13048 Comments)

Blank pada halaman administrator, marketplace swarakalibata

Dibuat
Login Terakhir 1 Tahun lalu,
Telah Dilihat 1164 Kali
Fata kawniy Mengatakan : Free Account
  1. Assalamualaikum Warahmatullahi Wabarakatuh...
  2.  
  3. Halaman administrator blank tiba tiba
Ada 1 File Kiriman :
1. Screenshot_131.png (98 KB)

Ada 7 Jawaban

Hardiansyah
commented on 11 Mar 2020 19:30:40
  1. Assalamualaikum,.. buka file application->controllers->Administrator.php
  2. ganti dari:
  3. function home(){
  4. if ($this->session->level=='admin'){
  5. $this->template->load('administrator/template','administrator/view_home_admin');
  6. }elseif ($this->session->level=='kontributor'){
  7. $data['users'] = $this->model_app->view_where('users',array('username'=>$this->session->username))->row_array();
  8. $data['modul'] = $this->model_app->view_join_one('users','users_modul','id_session','id_umod','DESC');
  9. $this->template->load('administrator/template','administrator/view_home_users',$data);
  10. }
  11. }
  12. ke :
  13. function home(){
  14. if ($this->session->has_userdata('username'))
  15. {
  16. if ($this->session->level=='admin'){
  17. $this->template->load('administrator/template','administrator/view_home_admin');
  18. }elseif ($this->session->level=='kontributor' || $this->session->level=='user'){
  19. $data['users'] = $this->model_app->view_where('users',array('username'=>$this->session->username))->row_array();
  20. $data['modul'] = $this->model_app->view_join_one('users','users_modul','id_session','id_umod','DESC');
  21. $this->template->load('administrator/template','administrator/view_home_users',$data);
  22. }
  23. }
  24. else {redirect($this->uri->segment(1));}
  25. }
Fata kawniy
commented on 12 Mar 2020 20:02:10
  1. Assalamualaikum,.. tetep mas, awalnya saja setelah diklik transaksi langsung blank..
Puja M Alca
commented on 28 Apr 2020 16:20:10
  1. Assalamualaikum,.. kalau udah diganti tetap blank gmn ya gan>?
PutriFauziah
commented on 29 Apr 2020 08:44:11
  1. Assalamualaikum,.. cek versi PHP, maksimal PHP 7.2
  2. dan pastikan juga komputernya terkoneksi ke internet.pengalaman pribai hehehehe
Puja M Alca
commented on 29 Apr 2020 09:16:56
  1. Assalamualaikum,.. udah di cek gan, xamppny sesuai yg di rekomendasikan , internet aktif. masih blank gtu gan
PHPMU.COM Support
commented on 29 Apr 2020 09:37:11
  1. Assalamualaikum,.. Pastikan untuk mencoba per-akunnya pake 1 browser,
  2. jadi tiap akun beda browser, sepertinya ada session yg bentrok,.. hee
Puja M Alca
commented on 29 Apr 2020 20:45:52
  1. Assalamualaikum,.. bisa gan beda browser, tapi agar di buka 1 browser apa yang dirubah ya gan?
Maaf, Untuk Memberikan Komentar Anda Harus Login !!!

Online