Boletim do professor erro

UnexpectedValueException

The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: failed to open stream: Permission denied The exception occurred while attempting to log: syntax error, unexpected ‘:’, expecting ‘)’ Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}} Context: {“userId”:1,“exception”:{}}

http://192.168.1.144/module/Reports/TeacherReportCard
Está dando esse erro e não imprime o boletim do professor

sudo chown -R $USER:www-data /var/www/ieducar

tenta isso

Melhorou, agora só está com um erro, veja abaixo.

Exceção

Erro de sintaxe, inesperado ‘:’, esperando ‘)’

http://192.168.1.144/módulo/Reporte/ProfessorReportCard

Bom Dia
Provavelmente existe um carácter : cadastrado em alguma nota lançada pelo professor.

Como resolver esse problema Edinei???

O ideal seria iniciar auditando as notas para essa Turma / Professor / Componente para identificar se realmente existe o carácter indesejado e se sim remove-lo.

Veja o que aparece no erro

@Silvio conforme descrito acima já mencionei o porque o erro ocorre e qual o procedimento para resolver o problema.

Da mesma forma como já foi respondido a você na issue aberta em nosso repositório, a qual a resposta pode ser encontrada aqui: Boletim do Professor não abre · Issue #968 · portabilis/i-educar · GitHub

Na issue do github ieducar não foi solucionado o problema.
Tem algum lugar que eu possa verificar o script.
por exemplo, não estou dizendo que o script está assim:
If escolha Boletim professor
If escolha disciplina
Then go to
Se eu pesquisar em todos os scripts do github posso achar ou não. Por que são muitos caminhos e comandos. Se soubesse o caminho poderia verificar no script do github e no meu se tem alguma linha faltando ou detalhe.

Abri o Laravel.log e peguei as últimas dez linhas.
#57 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\ChangeAppName->handle()
#58 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#59 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#60 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#61 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#62 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#63 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#64 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#65 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#66 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#67 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#68 /var/www/ieducar/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#69 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors->handle()
#70 /var/www/ieducar/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#71 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle()
#72 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#73 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then()
#74 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#75 /var/www/ieducar/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle()
#76 {main}
"}

Achei o erro, o erro e do script não é do sistema, linha 132, depois do (
$exception = new Exception(
Mudei e continuou o erro.
Tirei o parentese, acrescentei o parentese final, coloquei virgula no final e nada.

Alguém pode me ajuda ?

The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file “/var/www/ieducar/storage/logs/laravel.log” could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: Target [iEducar\Reports\Contracts\TeacherReportCard] is not instantiable. Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}} Context: {“requestId”:“21bf3d45-4442-475b-8a4d-d0086afffe65”,“userId”:1,“exception”:{}}

sudo chown -R $USER:www-data /var/www/ieducar