extensions like gif, svg ... gets uploaded successfully.
but the extention png and jpg me return "invalid request upload".
OS Archlinux,
php-gd installed,
php-exif installed
Hi @anasmorahhib
What version of laravel-filemanager do you use?
Would you please provide us your lfm.php config file and related error logs here?
problem solved
I reinstall GD
I'm having exactly same problem..what is GD??
@rlrlaa123 It means the php-gd extension.
In localhost (homestead) not have the problem but production has error.
The solution is install gd:
sudo apt-get install php7.0-gd
In my case I uses php7.0, you change by your version of php
Next reload your server web (apache or nginx)
And ready.
Spanish:
En mi entorno local me funcionaba todo al subir a producci贸n fallaba, solo me dejaba subir gif y svg sin problemas.
La soluci贸n fue instalar gd
sudo apt-get install php7.0-gd
En mi caso tengo php7, depende de tu versi贸n.
Luego reiniciar tu servidor web (apache o nginx)
Y listo
Most helpful comment
problem solved
I reinstall GD