misterunknown / ifm

Improved File Manager
MIT License
345 stars 70 forks source link

Invalid argument supplied for foreach #194

Closed stefanarsicdev closed 7 months ago

stefanarsicdev commented 7 months ago

Hi, when i get your project to install on local with xampp so i can test it i get this error displayed in my browser.

!/usr/bin/env php bool(false)

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ifm\compiler.php on line 38

misterunknown commented 7 months ago

You are not supposed to call compiler via the apache webserver. The compiler is only for building the tool. You can either download the compiled releases here or you can build the IFM yourself using this example.