Hi,
I was trying to build a command line installer for processwire . The script basically uses the install.php .
case 0:
$this->initProfile();
break;
case 1:
$this->compatibilityCheck();
break;
case 2:
$this->dbConfig();
break;
case 4:
$this->dbSaveConfig();
break;
case 5:
require("./index.php");
$this->adminAccountSave($wire);
break;
What I am having trouble is at step 5 where it tries to create the user account.
It throws an exception
when
require 'index.php';
is called. Is there something special to make the `index.php` throwing without an error ?
Thank you