Dear All,
Its my first time using csweb. I have managed to deploy my cspro application to the csweb server. I am now trying to install it on a phone using the add application option and the phone connects well to the server. The application shows on the phione but when I click install an error message pops up ..."Error downloading file "LWISurvey":Check that the file exists on the server, that the path is correct and that you have permission to read the file.
What might be wrong?
Error While Installing file after deployment
Re: Error While Installing file after deployment
If the upload to CSWeb worked correctly you should see a file named LWISurvey.zip on your server in the folder csweb/files/apps. Do you see that file?
Do you see any errors in the Apache/PHP error log file?
Do you see any errors in the Apache/PHP error log file?
Re: Error While Installing file after deployment
Dear Josh,
Thank you for the reply.
Yes, I did confirm that the zip file exists in the folder csweb/files/apps.
I am not sure where to find the apache/PHP error log file but below is a post from the csweb server api.log from folder csweb/files/logs and error_log file from csweb/files/api respectively.
1. api.log
[2018-04-23 17:59:06] CSPro API.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /" (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/\". at /home/chalasah/public_html/csweb/vendor/symfony/routing/Matcher/UrlMatcher.php:98)"} []
[2018-04-23 18:04:48] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:05:08] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:07:32] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:16:53] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:24:57] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:36:27] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:38:16] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:42:24] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:50:54] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:54:30] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:10:12] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:12:42] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:13:40] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:16:36] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:17:44] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 20:16:34] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 21:25:02] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:16:50] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:18:09] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:28:02] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:28:46] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:28:48] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:33:55] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:35:33] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:43:44] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:43:48] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:45:26] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-24 07:39:20] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-24 08:27:06] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-26 08:14:36] CSPro API.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /" (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/\". at /home/chalasah/public_html/csweb/vendor/symfony/routing/Matcher/UrlMatcher.php:98)"} []
[2018-04-26 10:28:12] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
2. error_log
[23-Apr-2018 17:59:47 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[23-Apr-2018 18:35:26 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[23-Apr-2018 19:09:49 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[23-Apr-2018 22:42:42 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[26-Apr-2018 10:20:07 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
Thanks in advance. Will await your help kindly.
Thank you for the reply.
Yes, I did confirm that the zip file exists in the folder csweb/files/apps.
I am not sure where to find the apache/PHP error log file but below is a post from the csweb server api.log from folder csweb/files/logs and error_log file from csweb/files/api respectively.
1. api.log
[2018-04-23 17:59:06] CSPro API.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /" (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/\". at /home/chalasah/public_html/csweb/vendor/symfony/routing/Matcher/UrlMatcher.php:98)"} []
[2018-04-23 18:04:48] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:05:08] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:07:32] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:16:53] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:24:57] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:36:27] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:38:16] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:42:24] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:50:54] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 18:54:30] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:10:12] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:12:42] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:13:40] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:16:36] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 19:17:44] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 20:16:34] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 21:25:02] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:16:50] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:18:09] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:28:02] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:28:46] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:28:48] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:33:55] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:35:33] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:43:44] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:43:48] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-23 22:45:26] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-24 07:39:20] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-24 08:27:06] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
[2018-04-26 08:14:36] CSPro API.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /" (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/chalasah/public_html/csweb/vendor/symfony/http-kernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/\". at /home/chalasah/public_html/csweb/vendor/symfony/routing/Matcher/UrlMatcher.php:98)"} []
[2018-04-26 10:28:12] CSPro API.CRITICAL: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) (uncaught exception) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php line 135 {"exception":"[object] (LogicException(code: 0): Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) at /home/chalasah/public_html/csweb/vendor/symfony/http-foundation/File/MimeType/MimeTypeGuesser.php:135)"} []
2. error_log
[23-Apr-2018 17:59:47 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[23-Apr-2018 18:35:26 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[23-Apr-2018 19:09:49 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[23-Apr-2018 22:42:42 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
[26-Apr-2018 10:20:07 Africa/Nairobi] PHP Notice: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
Thanks in advance. Will await your help kindly.
Re: Error While Installing file after deployment
Is the php_fileinfo extension installed on your server? The error messages seem to be related to that.
Re: Error While Installing file after deployment
Dear Josh,
Yes it is installed, I got a green tick on the side. Though I remember there was a message in yellow at the bottom saying something like..."-1 will be added in link..." I cant remember that message well though it went ahead and completed setup successfully.
Yes it is installed, I got a green tick on the side. Though I remember there was a message in yellow at the bottom saying something like..."-1 will be added in link..." I cant remember that message well though it went ahead and completed setup successfully.
Re: Error While Installing file after deployment
If it is installed it is not working correctly. I would check your PHP configuration to make sure that php_fileinfo is installed. You can see more info here: http://php.net/manual/en/book.fileinfo.php
Re: Error While Installing file after deployment
You can use the following script to test to make sure the fileinfo extension is properly enabled and working:
Save the above code in a file in your web root directory named fileinfotest.php and then browse to it in your web browser (http://yourserverurl/fileinfotest.php). If everything is setup correctly you should see the following:
Code: Select all
<?php
echo 'fileinfo ', extension_loaded('fileinfo') ? 'extension loaded' : 'extension not loaded', "<br/>";
echo 'finfo_open ', function_exists('finfo_open') ? 'exists' : 'missing', "<br/>";
echo 'finfo_file ', function_exists('finfo_file') ? 'exists' : 'missing', "<br/>";
echo 'Testing finfo: ';
if (!$finfo = new \finfo(FILEINFO_MIME_TYPE)) {
echo "Error constructing finfo";
} else {
echo $finfo->file(__FILE__);
}
?>
fileinfo extension loaded
finfo_open exists
finfo_file exists
Testing finfo: text/x-php
Re: Error While Installing file after deployment
Thank you Josh.
I get the following information:
fileinfo extension not loaded
finfo_open missing
finfo_file missing
Testing finfo:
Let me give a call to my hosting providers to check on it. Thank you so much.
I get the following information:
fileinfo extension not loaded
finfo_open missing
finfo_file missing
Testing finfo:
Let me give a call to my hosting providers to check on it. Thank you so much.
Re: Error While Installing file after deployment
Dear Josh,
Thanks for the help. The extension was enabled and all is working well. Today I did an update to cspro 7.1.1 that was just released and also updated the mobile application. All is synchronizing well but after synchronizing successfully and I press back to go back to the mobile app home page and I get an error stating: "There was an error accessing the data source: unable to close due to unfinalized statements or unfinished backups."
My api.log has no error statement of todays date. I checked the error_log file and I found the below error:
[08-May-2018 13:01:39 Africa/Nairobi] PHP Strict Standards: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
Kindly help on this.
Regards.
Thanks for the help. The extension was enabled and all is working well. Today I did an update to cspro 7.1.1 that was just released and also updated the mobile application. All is synchronizing well but after synchronizing successfully and I press back to go back to the mobile app home page and I get an error stating: "There was an error accessing the data source: unable to close due to unfinalized statements or unfinished backups."
My api.log has no error statement of todays date. I checked the error_log file and I found the below error:
[08-May-2018 13:01:39 Africa/Nairobi] PHP Strict Standards: Only variables should be passed by reference in /home/chalasah/public_html/csweb/src/api/src/CSPro/Controllers/AppsController.php on line 142
Kindly help on this.
Regards.
Re: Error While Installing file after deployment
There is a problem with 7.1.1 that causes that message. It is safe to ignore the message. We will fix it in the next update.