Git Product home page Git Product logo

Comments (14)

notandz avatar notandz commented on August 17, 2024 1

sudah bang, environtment nya aku ganti ke development
image

from absensi-sekolah-qr-code.

notandz avatar notandz commented on August 17, 2024 1

terimakasih banyak mas, sudah berhasil

from absensi-sekolah-qr-code.

ikhsan3adi avatar ikhsan3adi commented on August 17, 2024

Solusi:

  • Pastikan extension php intldan gd sudah diaktifkan (lihat readme)
  • Download ulang source code karena baru-baru ini ada perbaikan error. Download zip ulang atau download di link berikut:

https://github.com/ikhsan3adi/absensi-sekolah-qr-code/releases/tag/v1.0.5

from absensi-sekolah-qr-code.

notandz avatar notandz commented on August 17, 2024

saya sudah download versi terbaru ttp ndak bisa generate qr nya mas stuck

from absensi-sekolah-qr-code.

notandz avatar notandz commented on August 17, 2024

image

Tidak jalan loadingnya mas

from absensi-sekolah-qr-code.

notandz avatar notandz commented on August 17, 2024

image

artinya apa bang

from absensi-sekolah-qr-code.

ikhsan3adi avatar ikhsan3adi commented on August 17, 2024

image

artinya apa bang

Coba CI_ENVIRONMENT ganti ke development di .env biar errornya kelihatan

from absensi-sekolah-qr-code.

notandz avatar notandz commented on August 17, 2024

image
Begini dia bang

from absensi-sekolah-qr-code.

ikhsan3adi avatar ikhsan3adi commented on August 17, 2024

Udah development mode itu bang?

from absensi-sekolah-qr-code.

ikhsan3adi avatar ikhsan3adi commented on August 17, 2024

Untitled

Dari yang saya tangkap sih kayanya ada masalah di logonya. Mungkin formatnya tidak sesuai, coba ganti logo lain

from absensi-sekolah-qr-code.

notandz avatar notandz commented on August 17, 2024

bagaimana cara menghilangkan logo nya mas

from absensi-sekolah-qr-code.

ikhsan3adi avatar ikhsan3adi commented on August 17, 2024

bagaimana cara menghilangkan logo nya mas

ganti file public/assets/img/logo_sekolah.jpg

kalau belum berhasil coba hilangkan logonya di app\Controllers\Admin\QRGenerator.php

      // Create logo
      $this->logo = Logo::create(base_url('public/assets/img/logo_sekolah.jpg'))->setResizeToWidth(75); // hapus ini

      // Save it to a file
      $this->writer
         ->write(qrCode: $this->qrCode, logo: $this->logo, label: $this->label)
         ->saveToFile(path: $this->relativePath . $this->qrCodeFilePath . $filename);

jadi:

      // Save it to a file
      $this->writer
         ->write(qrCode: $this->qrCode, label: $this->label)
         ->saveToFile(path: $this->relativePath . $this->qrCodeFilePath . $filename);

from absensi-sekolah-qr-code.

irfandd avatar irfandd commented on August 17, 2024

bagaimana cara menghilangkan logo nya mas

ganti file public/assets/img/logo_sekolah.jpg

kalau belum berhasil coba hilangkan logonya di app\Controllers\Admin\QRGenerator.php

      // Create logo
      $this->logo = Logo::create(base_url('public/assets/img/logo_sekolah.jpg'))->setResizeToWidth(75); // hapus ini

      // Save it to a file
      $this->writer
         ->write(qrCode: $this->qrCode, logo: $this->logo, label: $this->label)
         ->saveToFile(path: $this->relativePath . $this->qrCodeFilePath . $filename);

jadi:

      // Save it to a file
      $this->writer
         ->write(qrCode: $this->qrCode, label: $this->label)
         ->saveToFile(path: $this->relativePath . $this->qrCodeFilePath . $filename);

saya udah ngikutin perintah ini + .env sudah development hasilnya msh sama saja pak "internal server error" ketika scan qrcode masuk, untuk composer.json saya pakai "codeigniter4/framework": "4.3.5" dan xampp yang saya gunakan versi 8.1.12

from absensi-sekolah-qr-code.

watashiyoga avatar watashiyoga commented on August 17, 2024

terimakasih banyak mas, sudah berhasil

gmn mas caranya saya sudah coba tidak berhasil kalau baris logo dihilangkan tidak bisa generate, kalau gambarnya diblank putih juga tidak bisa

from absensi-sekolah-qr-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.