octobercms / october

Self-hosted CMS platform based on the Laravel PHP Framework.
https://octobercms.com/
Other
11.01k stars 2.21k forks source link

Last update v.3.5.14 #5767

Closed az-vm closed 10 months ago

az-vm commented 10 months ago

Hello,

regular update on the system, but on the end got this message on terminal:

Setting build number

In OctoberUpdate.php line 76:

Call to undefined function System\Console\passthru()

Doing a composer update, got this:

System\Console\ComposerScript::postAutoloadDump

In ComposerScript.php line 89:

[Error]
Call to undefined function System\Console\passthru()

What could be ?

daftspunk commented 10 months ago

Hi @az-vm

The passthru command allows shell commands to run other shell commands. It looks like this PHP function has been blocked on your server.

az-vm commented 10 months ago

@daftspunk hum... strange i have this website on this server for some months and have update it before with no issues... i will check.

The config files on the folder i think i did not update them for sometime, could be? I will try. -> Done! Not solve the issue.

az-vm commented 10 months ago

@daftspunk your right! the passthru,escapeshellarg was disabled on the php settings on the hosting... i have enabled and now updates with no error! Thank you for pointing the right direction!

unnamed