ErrorException: exec() has been disabled for security reasons #50

已關閉
建立於 2018-07-27 23:36:09 +01:00aheathershaw · 5 comment
擁有者

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.

[LNT00](https://github.com/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.
aheathershaw 新增到 Version 2.1.0 里程碑 2018-07-27 23:36:09 +01:00
aheathershaw 指派給自己 2018-07-27 23:36:09 +01:00
aheathershaw 加入了
bug
標籤 2018-07-27 23:36:09 +01:00
作者
擁有者

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?

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: https://github.com/andysh-uk/blue-twilight/blob/010e847835ad629620514685a199b1f7bc47eba5/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.

[LNT00](https://github.com/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.

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

This will be released in the upcoming 2.1.0-beta.4 release
作者
擁有者
Migrated from https://github.com/andysh-uk/blue-twilight/issues/50
登入 才能加入這對話。
未選擇里程碑
沒有負責人
1 參與者
通知
截止日期
截止日期無效或超出範圍,請使用「yyyy-mm-dd」的格式。

未設定截止日期。

先決條件

未設定先決條件。

參考: aheathershaw/blue-twilight#50
No description provided.