cancel
Showing results for 
Search instead for 
Did you mean: 

run setup:upgrade from PHP script

Re: run setup:upgrade from PHP script

Hi @Sumaleth,


Is your URL http://localhost/ ?

If the answer is yes, you'll need to change that because isn't a qualified domain (you can use somehting like magento.localhost or 127.0.0.1 but not localhost)

Re: run setup:upgrade from PHP script

@Damian Culotta

Hi. No, the domain we're using is this:

http://testing.installatron.com/magento53455346626/
http://testing.installatron.com/magento53455346626/index.php/hgjdb3zo

After the upgrade these URLs now reload to that strange http://localhost/.. location.

 

'localhost' is the name of the MySQL server address, but we don't use it anywhere else.

 

Re: run setup:upgrade from PHP script

More details:

I found that the "localhost" value is coming from this file:

./vendor/zendframework/zend-uri/src/Uri.php

Specifically, this function in that file:

public function getHost()
{
        return $this->host;
}

I'm going to keep looking at it.