Keep Getting Error File Not Supported

0

I keep getting this error "The filetype you are attempting to upload is not allowed." when im trying to do a stock count.

Question Resolved For: Stock Manager Advance with All Modules 0 Votes 2 Answers 347 Views
Asked by Einnlleinhatt Ha 2 years ago

0

Answered by Mian Saleem

Hello,

I am not sure but you can try print_r($_FILES) and check the mime type of the file. If that is not set for csv in the app/config/mimes.php then you can add.

Thank you

0

Answered by Einnlleinhatt Ha 2 years ago

I tried it on the demo and my own hosting its working fine. But on my local host it keep saying "The filetype you are attempting to upload is not allowed." I also tried to download the current stock csv file and without opening/editing it, i reupload it it still giving me the same error.

So my guess is maybe there is some setting on php.ini that wont allow me to upload it. Do you have any idea ?

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.