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

[Bug]: Class "ZipArchive" not found #3878

Closed
1 task done
yuxxeun opened this issue Feb 21, 2023 · 2 comments
Closed
1 task done

[Bug]: Class "ZipArchive" not found #3878

yuxxeun opened this issue Feb 21, 2023 · 2 comments
Labels

Comments

@yuxxeun
Copy link

yuxxeun commented Feb 21, 2023

Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?

  • Yes, it's still reproducable

What version of Laravel Excel are you using?

3.1

What version of Laravel are you using?

9.x

What version of PHP are you using?

8.x

Describe your issue

whenever im trying to import excel file, im get Class "ZipArchive" not found

How can the issue be reproduced?

This is my import file

 public function model(array $row)
    {
        return new Inventaris([
            "nama_user" => $row[1],
            "bagian_id" => $row[2],
            "th_pembelian" => $row[3],
            "memory" => $row[4],
            "cpu" => $row[5],
            "kode" => $row[6],
            "merk" => $row[7],
            "keterangan" => $row[8],
            "posisi" => $row[9],
            "size_monitor" => $row[10],
            "kategori_id" => $row[11],
            "status_id" => $row[12],
        ]);
    }

What should be the expected behaviour?

I was enable zip extention in my php.ini file (im using xampp by the way) but still get error like that

@yuxxeun yuxxeun added the bug label Feb 21, 2023
@patrickbrouwers
Copy link
Member

You probably need to restart your xampp. Best to ask help on Stackoverflow as this is not a bug in this package

@yuxxeun
Copy link
Author

yuxxeun commented Mar 9, 2023

Yea sir it was solved, i just re-isntalling all the package, and then change some configuration with my xampp, sorry for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants