๐Ÿ“– Umum 27 views

Troubleshooting

Troubleshooting

Login & Authentication

"These credentials do not match our records"

  • Cek email & password
  • Email belum verified? Cek users.email_verified_at
  • Account di-soft-delete? users.deleted_at not null

Setelah login redirect ke /portal padahal admin

  • Pastikan users.role = owner/admin/doctor/dll bukan patient
  • Cek di FortifyServiceProvider::LoginResponse โ€” role check logic

"Page expired" (419)

  • CSRF token mismatch โ€” refresh page
  • Session expired โ€” login ulang
  • SESSION_DRIVER di .env mismatch dengan storage

Layout / Tampilan

Sidebar tidak muncul / styling broken

  • Asset belum di-build: npm run build
  • Clear view cache: php artisan view:clear
  • Browser cache: hard refresh (Ctrl+Shift+R)

"Unable to locate a class or view for component"

  • View berada di path yang salah. Component <x-xxx> cari di resources/views/components/xxx.blade.php

Livewire form tidak submit / button tidak respon

  • Vite asset belum loaded โ€” cek browser console
  • Token CSRF expired
  • JS error โ€” buka DevTools console

Database & Migration

Migration error "table already exists"

php artisan migrate:status   # cek status
php artisan migrate:rollback # rollback last batch

"Column not found" setelah pull code

php artisan migrate --force
php artisan config:clear

Seed gagal "Duplicate entry"

  • Hapus row yang konflik, atau pakai firstOrCreate di seeder

License (Production)

Wizard /__pair infinite loop

  • APP_URL mismatch dengan host browser
  • Set APP_URL=https://yourdomain.com (HTTPS exact match)

"Tidak bisa menghubungi server lisensi"

  • Outbound firewall block whitelabel.co.id:443 โ€” whitelist

App jalan tapi marketplace bilang revoked

  • Cache heartbeat โ€” tunggu 24h atau php artisan cache:clear

Performance

Page load lambat

  • Enable Redis: CACHE_DRIVER=redis, SESSION_DRIVER=redis
  • Cache config: php artisan config:cache
  • Cache routes: php artisan route:cache
  • Cache views: php artisan view:cache
  • Run queue worker: php artisan queue:work

Database query lambat

  • Cek N+1 dengan Telescope
  • Add eager loading: with(['relation'])
  • Index kolom yang sering di-filter

Email & WhatsApp

Reminder WA tidak terkirim

  1. Cek messaging_providers ada provider aktif untuk channel whatsapp
  2. Test connection di admin panel
  3. Cek queue worker jalan: php artisan queue:work
  4. Cek Laravel log: storage/logs/laravel.log

Schedule reminders:dispatch tidak jalan

  • Setup cron di server:
* * * * * cd /path && php artisan schedule:run >> /dev/null 2>&1

Common Errors

Error Fix
Class "X" not found composer dump-autoload
View [x] not found Cek path file blade
Route [x] not defined php artisan route:clear
Permission denied storage chmod -R 775 storage bootstrap/cache
MySQL server has gone away Increase max_allowed_packet
Build in Public

Development Progress & Roadmap

Lihat live progress: berapa fitur sudah live, fase mana yang lagi dikerjakan, dan estimasi timeline.

Lihat Progress
Showcase Lihat semua kemampuan aplikasi

Semua fitur admin dalam satu halaman

Screenshot real dari panel admin + penjelasan kegunaan tiap modul (CRM pasien, odontogram, billing, AI assistant, dll.) โ€” auto-update setiap ada fitur baru.

Buka Showcase
Cari yang lain? Kembali ke beranda ยท Login portal