BadiuNet Not working

BadiuNet Not working

por Sergio Guedes -
Número de respostas: 3

Olá Lino,

Desculpe perturbar mas tem uma possessão demoniaca acontecendo numa instalacao minha.

um reles moodle 3.10.

baixei o badiunet, instalei,  nao deu erro nenhum... abriu a primeira tela normalmente (https://ava.impulsiona.org.br/local/badiunet), caindo na https://ava.impulsiona.org.br/local/badiunet/fcservice/index.php

 

 

 clicando em qualquer opção tenho a seguinte resposta.

 

 

 

Ele estágerando uma  excessão, com o path maluco... não tenho a menor ideia de onde ele tirou isso "/home/service/src/Badiu/" ...



Sugestão para sanar isso?  

 

 

 

trace  ------------------

 

 

STACK TRACE

  1. in /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php at line 154  
    1.          $sql="SELECT DISTINCT itemmodule FROM {_pfx}grade_items WHERE itemtype !='course' ORDER BY itemmodule";
    2.          $result=$sqlservice->search($sql);
    3.        $list=array();
    4.        foreach ($result as $row) {
    5.              $itemmodule=$this->getUtildata()->getVaueOfArray($row,'itemmodule');
    6.              $list[$itemmodule]=$itemmodule;
    7.         }
  2. at ErrorHandler ->handle ('2', 'Invalid argument supplied for foreach()', '/home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php', '154', array('sqlservice' => object(BadiuSqlService), 'sql' => 'SELECT DISTINCT itemmodule FROM {_pfx}grade_items WHERE itemtype !='course' ORDER BY itemmodule', 'result' => '', 'list' => array()))
    in /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php at line 154  
  3. at CoreFormDataOptions ->getPluginsWithGrade ()
    in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Form/FormConfigChoice.php at line 61  
  4. at FormConfigChoice ->getDefaultChoice (object(FormField))
    in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Form/FormFactoryConfig.php at line 223  
  5. at FormFactoryConfig ->getFormDefaultOptions (object(FormField))
    in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Form/FormFactoryConfig.php at line 40  
  6. at FormFactoryConfig ->get ('badiu.moodle.mreport.grade.grade.frontpage')
    in /home/service/src/Badiu/System/CoreBundle/Model/Functionality/BadiuHtmlContentService.php at line 102  
  7. at BadiuHtmlContentService ->init ()
    in /home/service/src/Badiu/System/CoreBundle/Model/Functionality/BadiuHtmlContentService.php at line 190  
  8. at BadiuHtmlContentService ->exec ()
    in /home/service/src/Badiu/System/CoreBundle/Model/Lib/Util/ManageRemoteRequest.php at line 56  
  9. at ManageRemoteRequest ->processService ()
    in /home/service/src/Badiu/System/CoreBundle/Controller/Functionality/BadiuController.php at line 1973  
  10. at BadiuController ->serviceProcessAction (object(Request))
  11. at call_user_func_array (array(object(BadiuController), 'serviceProcessAction'), array(object(Request)))
    in kernel.root_dir/bootstrap.php.cache at line 2947  
  12. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2909  
  13. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 3058  
  14. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2308  
  15. at Kernel ->handle (object(Request))
    in /home/service/public_html/app_dev.php at line 30  

LOGS  

1 error
  1. INFO - Matched route "badiu.system.core.service.process" (parameters: "_controller": "Badiu\System\CoreBundle\Controller\Functionality\BadiuController::serviceProcessAction", "_route": "badiu.system.core.service.process")
  2. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
  3. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
  4. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
  5. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
  6. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
  7. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
  8. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
  9. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
  10. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
  11. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
  12. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
  13. DEBUG - Notified event "kernel.request" to listener "Badiu\System\AccessBundle\Model\Auth\LoggedInUserListener::onKernelRequest".
  14. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
  15. DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
  16. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
  17. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
  18. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
  19. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
  20. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
  21. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  22. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  23. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  24. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  25. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  26. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  27. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  28. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  29. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  30. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  31. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  32. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  33. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  34. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  35. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  36. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  37. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  38. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  39. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  40. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  41. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  42. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  43. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  44. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  45. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  46. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  47. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  48. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  49. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  50. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  51. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  52. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  53. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  54. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  55. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  56. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  57. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  58. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  59. WARNING - getEntityManager is deprecated since Symfony 2.1. Use getManager instead
  60. CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Invalid argument supplied for foreach() in /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php line 154" at /home/service/src/Badiu/Moodle/CoreBundle/Model/CoreFormDataOptions.php line 154
  61. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
  62. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
  63. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener::injectLogger".
  64. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
  65. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
  66. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
  67. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
  68. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
  69. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
  70. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
  71. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
  72. DEBUG - Notified event "kernel.request" to listener "Badiu\System\AccessBundle\Model\Auth\LoggedInUserListener::onKernelRequest".
  73. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
  74. DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
  75. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
  76. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
  77. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
  78. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
  79. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".

STACK TRACE (PLAIN TEXT)  

Em resposta à Sergio Guedes

Re: BadiuNet Not working

por Sergio Guedes -

OI,

Duas coisas importantes. Esse zip que peguei no teu link trouxe um monte de coisas preconfiguradas.... vc pode me fornecer um zip de instalação realmente do zero?

Em resposta à Sergio Guedes

Re: BadiuNet Not working

por Lino Vaz Moniz -

Sergio,

Esse problema que vc reportou sinaliza alguma falha conexão entre Moodle e Plataforma de serviço. 

Fazendo logoff e logando novamente, verifique se solucionou. Se não, me passe o url relativo que dá esse erro para analisar.

 

Em resposta à Lino Vaz Moniz

Re: BadiuNet Not working

por Sergio Guedes -

Esse é o problema... Porque ocorria  somente com o admin. Fazendo ou não o logoff ele se mantinha.
Fui obrigado a remover tudo, limpar caches,  e - creia-me -  apenass quando instalei e removi o badiumreport e removi, deixando somente o badiunet, tudo funcionou ... :-)

 

é um  moodle 3.6, com um template  desenvolvido por terceiros ... como estão ocorrendo probleminhas "fantasmas"  começo a crer que o template não está em conformidade e causando problemas...

 

Estou  baixando o  client do mrport, para fazer algumas alterações nos relatórios. 

 

Abraços