Could anyone offer anyone advice.[Sun Dec 02 14:36:16 2012] [error] [client 94.172.28.238] PHP Warning: Invalid argument supplied for foreach() in /var/www/www.jarnyn.co.uk/core/model/modx/processors/workspace/packages/rest/getlist.class.php on line 48, referer: http://www.jarnyn.co.uk/manager/index.php?a=69 [Sun Dec 02 14:38:20 2012] [error] [client 94.172.28.238] PHP Notice: Trying to get property of non-object in /var/www/www.jarnyn.co.uk/core/model/modx/processors/workspace/packages/rest/getinfo.class.php on line 33, referer: http://www.jarnyn.co.uk/manager/index.php?a=69 [Sun Dec 02 14:38:20 2012] [error] [client 94.172.28.238] PHP Notice: Trying to get property of non-object in /var/www/www.jarnyn.co.uk/core/model/modx/processors/workspace/packages/rest/getinfo.class.php on line 34, referer: http://www.jarnyn.co.uk/manager/index.php?a=69 [Sun Dec 02 14:38:20 2012] [error] [client 94.172.28.238] PHP Notice: Trying to get property of non-object in /var/www/www.jarnyn.co.uk/core/model/modx/processors/workspace/packages/rest/getinfo.class.php on line 39, referer: http://www.jarnyn.co.uk/manager/index.php?a=69
/etc/resolvconf/resolv.conf.d/head
nameserver 192.168.1.XXX
sudo resolvconf -u
[2012-12-18 17:48:42] (ERROR @ /connectors/workspace/packages-rest.php) Could not connect to provider at: http://rest.modx.com/extras/ [2012-12-18 17:48:46] (ERROR @ /connectors/workspace/packages.php) Could not connect to provider at: http://rest.modx.com/extras/
/connectors/workspace/packages-rest.php Aborted /connectors/workspace/packages.php Aborted
/manager/assets/ext3/adapter/ext/ext-base.js
Hi Bullet, do you have SSH access to the server ? If you do log on and see if you can ping www.google.co.uk . Just to check that your DNS is actually working.Unfortunately I haven't ...
function ping($host, $port, $timeout) {
$tB = microtime(true);
$fP = fSockOpen($host, $port, $errno, $errstr, $timeout);
if (!$fP) { return "down"; }
$tA = microtime(true);
return round((($tA - $tB) * 1000), 0)." ms";
}
//Echoing it will display the ping if the host is up, if not it'll say "down".
echo ping("www.google.com", 80, 10);Create a snippet with the following codeI see MS.
Call the Snippet in a resource and view the resource. If the server DNS is working you should see the MS, if not it should display down.