Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barang - Cetak Stock Barang : hasilnya kosong #1

Closed
sufehmi opened this issue Jan 25, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@sufehmi
Copy link
Owner

commented Jan 25, 2013

Yang dilakukan :

  1. Klik Menu Barang - Cetak Stock Barang
  2. Isi apa saja di form tsb, dan lalu klik tombol "Cetak Stock Barang"

Yang muncul :

  1. Layar kosong

Yang diharapkan terjadi :

  1. Muncul daftar stock barang, sehingga kemudian bisa dicetak.

@ghost ghost assigned sufehmi Jan 25, 2013

@sufehmi

This comment has been minimized.

Copy link
Owner Author

commented Jan 25, 2013

Bug fixed : https://github.com/sufehmi/AhadPOS/tree/ef71dfe85fb6c868f8eb58e37d6c2d62f4f7d1c6/sistem/modul/mod_barang.php

Keterangan :

Ketika modul mod_barang.php diakses secara langsung / direct, tidak melalui media.php, maka variable $_SESSION jadi lenyap. Karena, variable ini di inisialisasi di media.php (dengan function session_start()

Solusi :

Sudah ditambahkan code untuk mendeteksi ini (mod_barang.php diakses secara langsung) -- maka kemudian akan menginisialisasi $_SESSION terlebih dahulu.

Terimakasih.

@sufehmi sufehmi closed this Jan 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.