[Midas] Midas-3.4.2 on Centos 7 problem with uploads

Robert F. Giovannucci Jr. bobg at ll.mit.edu
Thu Mar 10 19:42:33 EST 2016


I am trying to install Midas-3.4.2 on a Centos 7 64bit VM. And have run 
into a problem I can't resolve. Midas is up and running, I can configure 
and add users. I just can't upload files. Which of course is sort of 
important. There is an interesting error in the web server log file "PHP 
Fatal error:  Class 'Api_AppController' not found". I don't know if this 
is a red herring or something useful.

When I try to upload a file, the progress bar advances as expected and 
then I get a message in the Upload window like this, pressing resume 
doesn't help.

"The connection to the server was interrupted, press the Resume Upload 
button to resume."


Any help would be appreciated.


Thanks
Bob

Here are all the log messages I could find.

--------------------------------------------------------------------------------
Error in the browser console:
VM211:144 PUT 
http://midas108/Midas/api/json?method=midas.upload.perform&uploadtoken=1%2Flength=1058933&filename=user-manual-for-wifi-car-by-nodemcu-doitcar-.pdf 
500 (Internal Server Error)

--------------------------------------------------------------------------------
 From /var/www/html/Midas/log/production

2016-03-11T00:24:44+00:00 CRIT (2): Fatal Error: Array
(
     [type] => 1
     [message] => Class 'Api_AppController' not found
     [file] => 
/var/www/html/Midas/modules/api/controllers/JsonController.php
     [line] => 23
     [typeText] => E_ERROR
)


URL: 
http://midas108/Midas/api/json?method=midas.upload.perform&uploadtoken=1%2F3%2FWrNelXVc68HQQjIAwPMO0cAzSicHHrFRKvhfZO9CLI5KdqkdmdCBlYlX9XrvWrIB&length=1058933&filename=user-manual-for-wifi-car-by-nodemcu-doitcar-.pdf

Server time: 2016-03-11 00:24:44
Parameters (post): Array
(
)
Parameters (get): Array
(
     [method] => midas.upload.perform
     [uploadtoken] => 
1/3/WrNelXVc68HQQjIAwPMO0cAzSicHHrFRKvhfZO9CLI5KdqkdmdCBlYlX9XrvWrIB
     [length] => 1058933
     [filename] => user-manual-for-wifi-car-by-nodemcu-doitcar-.pdf
)

--------------------------------------------------------------------------------
 From /var/log/ssl_error_log
[Thu Mar 10 19:21:38.722863 2016] [ssl:warn] [pid 1508] AH01909: RSA 
certificate configured for midas108.llan.ll.mit.edu:443 does NOT include 
an ID which matches the server name

--------------------------------------------------------------------------------
 From /var/log/error_log
[Thu Mar 10 12:48:04.298780 2016] [mpm_prefork:notice] [pid 64100] 
AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 10 19:21:37.964374 2016] [core:notice] [pid 1508] SELinux 
policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Mar 10 19:21:38.006395 2016] [suexec:notice] [pid 1508] AH01232: 
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 10 19:21:38.688360 2016] [auth_digest:notice] [pid 1508] 
AH01757: generating secret for digest authentication ...
[Thu Mar 10 19:21:38.701310 2016] [lbmethod_heartbeat:notice] [pid 1508] 
AH02282: No slotmem from mod_heartmonitor
[Thu Mar 10 19:21:40.649712 2016] [mpm_prefork:notice] [pid 1508] 
AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 
PHP/5.4.16 configured -- resuming normal operations
[Thu Mar 10 19:21:40.649764 2016] [core:notice] [pid 1508] AH00094: 
Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Mar 10 19:24:44.989767 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP Fatal error:  Class 'Api_AppController' not 
found in /var/www/html/Midas/modules/api/controllers/JsonController.php 
on line 23, referer: http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989809 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP Stack trace:, referer: 
http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989829 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   1. {main}() /var/www/html/Midas/index.php:0, 
referer: http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989842 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   2. Zend_Application->run() 
/var/www/html/Midas/index.php:39, referer: 
http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989855 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   3. 
Zend_Application_Bootstrap_Bootstrap->run() 
/var/www/html/Midas/vendor/zendframework/zendframework1/library/Zend/Application.php:384, 
referer: http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989867 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   4. Zend_Controller_Front->dispatch() 
/var/www/html/Midas/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php:105, 
referer: http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989879 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   5. 
Zend_Controller_Dispatcher_Standard->dispatch() 
/var/www/html/Midas/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php:954, 
referer: http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989891 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   6. 
Zend_Controller_Dispatcher_Standard->loadClass() 
/var/www/html/Midas/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:275, 
referer: http://midas108/Midas/feed?first=true
[Thu Mar 10 19:24:44.989902 2016] [:error] [pid 3797] [client 
172.26.148.208:59503] PHP   7. include_once() 
/var/www/html/Midas/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:357, 
referer: http://midas108/Midas/feed?first=true

--------------------------------------------------------------------------------



More information about the Midas mailing list