ErrorException: exec() has been disabled for security reasons #50
Rótulos
Sem etapa
Sem encarregados
1 Participantes
Notificações
Data de vencimento
Sem data de vencimento definida.
Dependências
Não estão definidas dependências.
Referência: aheathershaw/blue-twilight#50
Carregando…
Criar uma nova questão referindo esta
Nenhuma descrição fornecida.
Eliminar o ramo "%!s(<nil>)"
Eliminar um ramo é algo permanente. Embora o ramo eliminado possa continuar a existir por um breve período de tempo antes de ser realmente removido, a operação NÃO PODERÁ ser desfeita na maioria dos casos. Quer continuar?
LNT00:
ErrorException
exec() has been disabled for security reasons
Getting the error when opening /admin.
Because of this the app is unusable on shared hosting where usually exec() is disabled.
Ah OK - it's been a long time since I've used shared hosting, so appreciate your feedback on this!
exec()
is used to get the server's OS version to display on the admin dashboard.Here's the offending line:
010e847835/app/Http/Controllers/Admin/DefaultController.php (L89)
If you remove the call to exec - e.g.:
'os_version' => 'My OS version',
does this allow you to get in?
LNT00:
I created a ticket for my hosting support and they seem to have solved it without changing this.
Excellent! No worries, I'll keep this open though to reflect that we shouldn't really rely on
exec()
always being available.This will be released in the upcoming 2.1.0-beta.4 release
Migrated from https://github.com/andysh-uk/blue-twilight/issues/50