Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Issue with uploading any file

Muhammad Sajid   ( User )

Commented 6 years ago

When I'm going to upload any file in the system below error is showing:


For Example: Import excels file, logo change, bill receipts, and any other upload query.


Whoops, looks like something went wrong.


 

Batuhan Baş   ( User )

Commented 6 years ago

Hi Muhammad,


Please open your debug and please bring us debug detail.


Have a nice day!

Muhammad Sajid   ( User )

Commented 6 years ago




Whoops, looks like something went wrong.
 










(1/1) LogicException

Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)







in MimeTypeGuesser.php line 130


at MimeTypeGuesser->guess('/tmp/phpREDSCG')in File.php line 79


at File->getMimeType()in File.php line 58


at File->guessExtension()in FileHelpers.php line 60


at UploadedFile->hashName()in UploadedFile.php line 34


at UploadedFile->store('1/imports')in ImportFile.php line 24


at ImportFile->getFile()in ExcelFile.php line 91


at ExcelFile->loadFile()in ExcelFile.php line 31


at ExcelFile->__construct(object(Application), object(Excel))


at ReflectionClass->newInstanceArgs(array(object(Application), object(Excel)))in Container.php line 762


at Container->build('App\\Utilities\\ImportFile')in Container.php line 608


at Container->resolve('App\\Utilities\\ImportFile')in Container.php line 575


at Container->make('App\\Utilities\\ImportFile')in Application.php line 728


at Application->make('App\\Utilities\\ImportFile')in RouteDependencyResolverTrait.php line 77


at ControllerDispatcher->transformDependency(object(ReflectionParameter), array())in RouteDependencyResolverTrait.php line 47


at ControllerDispatcher->resolveMethodDependencies(array(), object(ReflectionMethod))in RouteDependencyResolverTrait.php line 28


at ControllerDispatcher->resolveClassMethodDependencies(array(), object(Payments), 'import')in ControllerDispatcher.php line 41


at ControllerDispatcher->dispatch(object(Route), object(Payments), 'import')in Route.php line 204


at Route->runController()in Route.php line 160


at Route->run()in Router.php line 572


at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php line 30


at Pipeline->Illuminate\Routing\{closure}(object(Request))in LaratrustPermission.php line 56


at LaratrustPermission->handle(object(Request), object(Closure), 'create-expenses-payments')in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in LaratrustPermission.php line 56


at LaratrustPermission->handle(object(Request), object(Closure), 'read-admin-panel')in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in AdminMenu.php line 205


at AdminMenu->handle(object(Request), object(Closure))in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in SetLocale.php line 94


at SetLocale->handle(object(Request), object(Closure))in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in LoadCurrencies.php line 27


at LoadCurrencies->handle(object(Request), object(Closure))in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in LoadSettings.php line 27


at LoadSettings->handle(object(Request), object(Closure))in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in AddXHeader.php line 18


at AddXHeader->handle(object(Request), object(Closure))in Pipeline.php line 148


at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php line 53


at Pipeline->Illuminate\Routing\{closure}(object(Request))in RedirectIfNotInstalled.php line 21


at RedirectIfNotInstalled->handle(object(Request), object(Closure))in Pipeline.php line 148


at Pipeline->
 

 

 




 




 






Batuhan Baş   ( User )

Commented 6 years ago

Hi Muhammad,


It's about php_fileinfo extension.


Please, ask your hosting provider to fix the errors!

Muhammad Sajid   ( User )

Commented 6 years ago

I'm using share hosting. They already said NO :) 


any other way to fix this issue? 


 

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions