Hello!
I tried to use MODX Teleport by Jason Coward, but got the error after Extract action:
infovet@skycover:~/htdocs/teleport$ php teleport.phar --action=Profile --name="MODXSoc" --code=modxsoc --core_path=../core/ --config_key=config
Successfully wrote profile to /home/infovet/htdocs/teleport/profile/modxsoc.profile.json
/home/infovet/htdocs/teleport/profile/modxsoc.profile.json
infovet@skycover:~/htdocs/teleport$ php teleport.phar --action=Extract --profile=profile/modxsoc.profile.json --tpl=phar://teleport.phar/tpl/develop.tpl.json
(ERROR @ teleport.phar) Could not load class: modAccessNamespace from mysql.modaccessnamespace.
(ERROR @ teleport.phar) Could not load class: modAccessNamespace from mysql.modaccessnamespace.
PHP Fatal error: Call to a member function prepare() on a non-object in /home/infovet/htdocs/core/xpdo/xpdo.class.php on line 2918
Fatal error: Call to a member function prepare() on a non-object in /home/infovet/htdocs/core/xpdo/xpdo.class.php on line 2918
xpdo.class.php on line 2918:
$this->stmt = $this->criteria->prepare();
public function rewind() {
$this->index = 0;
if (!empty($this->stmt)) {
$this->stmt->closeCursor();
}
$this->stmt = $this->criteria->prepare();
$tstart = microtime(true);
if ($this->stmt && $this->stmt->execute()) {
$this->xpdo->queryTime += microtime(true) - $tstart;
$this->xpdo->executedQueries++;
$this->fetch();
} elseif ($this->stmt) {
$this->xpdo->queryTime += microtime(true) - $tstart;
$this->xpdo->executedQueries++;
}
}
Who knows, how to fix the problem?
It is the last MODX version and i use putty for SSH connection.