<?php
$settings = array(
'feed_modx_news_enabled'=> false,
'feed_modx_security_enabled'=> false,
'auto_check_pkg_updates' => false,
'default_per_page' => '100',
'automatic_alias' => true,
'clear_cache_refresh_trees => false,
);
$output = '<p>Attempting to modify existing System Settings</p>');
foreach($settings as $key=>$value) {
$setting = $modx->getObject('modSystemSetting',array('key'=>$key));
if ($setting) {
$setting->set('value',$value);
if ($setting->save()){
$value = $value? $value : '0'; /* make false values show in msg */
$output .= '<br />Updated System Setting: ' . $key . ' to ' . $value );
}
} else {
$output .= '<br />Could not retrieve setting: ' . $key);
}
}
return $output;
but until there’s a way of migrating 1.0 sites to Revolution...Provisioner might help you here, also there’s a few threads on slow revo performance(mainly page loads IIRC) as opposed to your manager prob but it may be worth checking your server side environment out against these if you can.
Quote from: shamblett at Feb 06, 2011, 11:14 PM
but until there’s a way of migrating 1.0 sites to Revolution...Provisioner might help you here, also there’s a few threads on slow revo performance(mainly page loads IIRC) as opposed to your manager prob but it may be worth checking your server side environment out against these if you can.
I’ve accessed the Provisioner app and installed it to Revolution.
I downloaded the Revogateway.zip, and uploaded it to assets/snippets
Then the .zip was uncompressed which created assets/snippets/revogateway
I selected Provisioner from the top nav of Revolution, entered the remote site manager login and password, and I received this message.
"Login to the Remote Site failed - Revolution gateway package is not installed in the remote Evolution site"
?
It reports the same message even when you type in a different domain, or a wrong username or password - so its almost like its not even checking the remote server it’s saying "doesn’t have the gateway package installed".Yes it will do, it can’t log you in till it has established comms with the revo gateway on the remote evo site.
For Revo manager speed, upgrade to 2.0.7. this release has special optimizations, and IMO its almost as speedy as Evo now. Preferably use Google Chrome as its JS engine is way faster than Firefox 3.6.
It reports the same message even when you type in a different domain, or a wrong username or password - so its almost like its not even checking the remote server it’s saying "doesn’t have the gateway package installed".Yes it will do, it can’t log you in till it has established comms with the revo gateway on the remote evo site.
Here’s the user guide in PDF, you need to install the revogateway code in any evo site you wish to import from, see the installation section.
For Revo manager speed, upgrade to 2.0.7. this release has special optimizations, and IMO its almost as speedy as Evo now. Preferably use Google Chrome as its JS engine is way faster than Firefox 3.6.