Site provisioning 3PC for MODx Revolution used to migrate MODX Evo or Revo sites to a new instance of MODX Revolution.
See the following URLs for instructions on how to use this package.
Site provisioning 3PC for MODx Revolution
Home Page: http://modxcms.com/extras/package/563
Site provisioning 3PC for MODx Revolution used to migrate MODX Evo or Revo sites to a new instance of MODX Revolution.
See the following URLs for instructions on how to use this package.
Provisioner should check for the php-curl extensions being present and fail the login with a suitable user message if not present.
I've find that your tag replace only work on per individual resource import.
I've copied your single import replace tag into import tree code...
Please let me know if you need the file.
thanks.
Hi,
i've found that the import resource/resources doesn't include importing document group to the resources.
I've done modification in which it will send the list of document group name from evo snippet and send it over to receiver side. It will then find for the document group of the resource it is importing, and insert document_group record accordingly.
Please let me know on how i could submit my file to you.
thanks.
It seems work great for resources, but no TV or TV data. Upon several attempts I see some TVs came into Revo but without their values.
I assume if evo site is huge, should I check for some database/php settings to let provisioner keep working long enough to fetch everything?
From this forum thread :-
http://modxcms.com/forums/index.php/topic,55807.msg328723.html#msg328723
In "revogateway" please insert this line after every database connections:
mysql_set_charset($database_connection_charset,$db);
I think you should put up a big warning sign for people that all the existing resources and elements will be deleted if this feature is in use!!
We should be able to add a system setting for this, very large sites may take more than 5 mins.
The file imports directory needs to be writeable, add a resolver to do this rather than getting the user to do it.
It appears that the original issue of Access Denied when trying to use this in versions above 2.1.3 is still there. What was the 2.2 fix that was made in Jan. Should this be fully functional now?
File importing is failing on my XP box, need to check this on linux it was working on linux last time I checked.
From this forum thread :-
http://modxcms.com/forums/index.php/topic,58812.msg345846.html#msg345846
We need to tag convert the value field of the TVcontentvar table on import.
From this post :-
http://modxcms.com/forums/index.php/topic,55807.msg321877.html#msg321877
imported resources may be weblinks, this needs to be checked.
Being able to import all resources from one context would be nice (from a revo source), either by right click on the context name or allow multi resource selection (via ctrl/option)
We need to ensure the tmp directory is writeable in both upgrade and install
All file imports from evolution sites now use base64_encode/decode so binary files are correctly transferred across
From this forum thread :-
http://modxcms.com/forums/index.php/topic,58812.msg345124.html#msg345124
The parent actegories function needs looking at, and probably needs to be removed.
From this forum entry :-
http://modxcms.com/forums/index.php/topic,55807.msg328090.html#msg328090
Pre-create the imports directory in the package to fix this.
To allow authentication of sites that use password protected apache base auth Provisoner needs to be modified to send the correct auth headers :-
function curl_init(){
$this->_curlSession = curl_init();
curl_setopt($this->_curlSession, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ) ;
curl_setopt($this->_curlSession, CURLOPT_USERPWD, "username:password");
}
Note: replace "username" and "password" in the function above with the appropriate values for your site.
Then search for "$this->_curlSession = curl_init();" and replace it with "$this->curl_init();"
Original reporter user Jayster
From the 1.6-beta support thread, reporter jrotering :-
I think the authentication may be choking on certain password characters. My remote site password initially had a '&' and a '!' in it, and I kept getting username/password errors until I changed it to a password with only alphanumeric characters. I haven't done exhaustive testing on this, but I can verify that I was definitely entering my password correctly, so I'm guessing it was one or both of those non-alphanumeric characters.
Importing elements located in "sub" categories (category->subcat->element) fails (revo to revo) while importing the main category.
From this forum thread :-
http://modxcms.com/forums/index.php/topic,55191.msg345863.html#msg345863
Improve the error message here and/or document the possible causes
For evo->revo migrations it would save a lot of time if individual TV tags could have translated tags as well.
From this post :-
http://modxcms.com/forums/index.php/topic,55807.msg321877.html#msg321877
the publishedon, createdon and published state are not being set correctly on evo site import.
This only works if the node to be imported is in the 'collapsed' state.
Original reporters users Jayster/zi
From user nowhinjing :-
Currently the revogateway uses the json_encode/decode php functions, only php 5.2 and later have these, Provisioner should test for this and ifr not present instatiate its own encoder/decoder.
Hi,
is it possible to also import resources group assigned to each resources,
and recreate the resources group locally if it doesnt exists?
I've migrated one website (MODx 0.963) with provisioner(v1.6), but getting error when I tried to view any page:
Fatal error: Cannot pass parameter 1 by reference in
C:\test\modx\core\model\modx\modx.class.php on line 2237
These are the steps I took:
Can you pls help me to figure out the problem? I am new to MODx and need to upgrade the site. I've tried migration several times but no avail. After migration, should I do something else to make the site work?
Thanks in advance
Add tag conversion for TV input values, these can specify things like {{chunkname}}
From this forum thread :-
http://modxcms.com/forums/index.php/topic,58812.msg368228.html#msg368228
Keywords and metatags are no longer supported in 2.1, code change needed.
The docs say unzip the revogateway folder into /assets, this should be /assets/snippets
the date doesnt not appear correctly for all 3 dates: pub_date, unpub_date, publishedon
change from (assets/snippets/revogateway/connectors/resources/get.php):
//if (!empty($resource['pub_date']) && $resource['pub_date'] != '0000-00-00 00:00:00') {
// $resource['pub_date'] = strftime('%Y-%m-%d %H:%M:%S',strtotime($resource['pub_date']));
//} else $resource['pub_date'] = '';
//if (!empty($resource['unpub_date']) && $resource['unpub_date'] != '0000-00-00 00:00:00') {
// $resource['unpub_date'] = strftime('%Y-%m-%d %H:%M:%S',strtotime($resource['unpub_date']));
//} else $resource['unpub_date'] = '';
//if (!empty($resource) && $resource['publishedon'] != '0000-00-00 00:00:00') {
// $resource['publishedon'] = strftime('%Y-%m-%d %H:%M:%S',strtotime($resource['publishedon']));
//} else $resource['publishedon'] = '';
-------to----------
if (!empty($resource['pub_date'])) {
$resource['pub_date'] = strftime('%Y-%m-%d %H:%M:%S',$resource['pub_date']);
} else $resource['pub_date'] = '';
if (!empty($resource['unpub_date'])) {
$resource['unpub_date'] = strftime('%Y-%m-%d %H:%M:%S',$resource['unpub_date']);
} else $resource['unpub_date'] = '';
if (!empty($resource)) {
$resource['publishedon'] = strftime('%Y-%m-%d %H:%M:%S',$resource['publishedon']);
hope it helps :)
From this forum entry :-
http://modxcms.com/forums/index.php/topic,55807.msg326798.html#msg326798
seems that importing containers doesn't work.
If any content fields contain special characters the import of the element fails. Should only affect import from Evolution sites.
Original reporter user Henrik Nielson
Hi great work, just a quick suggestion. It would be great if multiple resources/plugins/chunks could be imported in one go. One suggestion would be to setup the tree with checkboxes next to each item and up top buttons 'import selected', 'import all', 'check all', 'uncheck all', 'import' buttons.
From this forum thread :-
http://modxcms.com/forums/index.php/topic,55807.msg328740.html#msg328740
One more bug I found in listing Evo users.
Line 93 in revogateway\connectors\users\getlist.php:
$sql = "SELECT fullname, email, blocked FROM " . $table_prefix . "web_user_attributes" .
" WHERE id
= " . $web_user['id'];
should be:
$sql = "SELECT fullname, email, blocked FROM " . $table_prefix . "web_user_attributes" .
" WHERE `internalKey` = " . $web_user['id'];
Supply the User Guide in PDF format for people who don't have open office.
Hi,
I'm trying to migrate Evo 1.0.5 to Revo 2.0.8 with provisioner 1.0.0, but I have around 5000 resources and provisioner doesnt complete the migration.
I've tried to increase the max_execution_time in my php.ini and Import time period(secs): in the provisioner settings and no luck. Any suggestions?
Apache error log (Wamp): [error] [client ::1] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp\www\revolution\core\xpdo\xpdo.class.php on line 424, referer:
From this thread :-
http://modxcms.com/forums/index.php/topic,55807.0.html
When doing a site import re-link the newly created doc ids in the resource body etc.
I had an open Provisioner connection from one MODX Revolution installation to another... logged in as admin user. I created some additional users, and when I log in as a different user, in a different browser, the other user can access the Provisioner connection without logging in(!) As long as I don't log out of Provisioner from the session that opened the connection, the Provisioner connection seems to be open for other logged in users. Once I close it in one session, it seems to close in the others.
The management interface for provisioner is not displaying for me on a clean installation Provisioner 1.0.0-pl on a clean MODX Revolution 2.2.0-pl2 installation.
I am testing using a MAMP 2.05 installation on OS X 10.7.2.
Here is what I get..
http://webclips.selsermedia.com/jeff/modx/provisioner_modx_manager_issue1.png
Other components are rendering fine on this installation (QUIP, Gallery) and provisioner is shown in the components list.
From this forum thread :_
http://modxcms.com/forums/index.php/topic,55807.msg326758.html#msg326758
Preservation of resource id's should be done, or at least be an option to maintain site structure
Ive done a changed to your code to allow template name to be inserted into the ajax evo before sending to provision receiver side.
On receiver end, it will find for the template name for each resources and replace the template id with the id found on the receiver side.
Please let me know how i could submit my file..
thanks
From this forum thread :-
http://modxcms.com/forums/index.php/topic,55807.msg328090.html#msg328090
We need to send the correct header info back to Evolution on logout.
The remoteGatewayIsEvo check function is declared with a status parameter, this is not used an should be removed as it generates a warning.
On TV import the default_text field in modx_site_tmplvar being populated with a '\n' rather than ''" when the field is blank.
Original reporter rsgca
Some documentation update suggestions from user kirkhuyser :-
Original Document:
“For each remote Evolution site you wish to provision from you need to install the Revolution gateway code so Provisioner can communicate with it. This is a simple matter of creating a directory named 'revogateway' under the 'assets/snippets' directory of the remote Evolution site and installing an unzipped copy of the file 'revogatway.zip' into it. You should now have an 'index.php' file and a 'connectors' directory visible in your revogateway directory. That's it, nothing more to do.”
Re-Write:
For each remote Evolution site you wish to provision from you need to install the Revolution gateway code so Provisioner can communicate with it. This is a simple matter of uploading an unzipped copy of the file 'revogatway.zip' into the assets folder using Evolution’s Manage Files and unzipping it from there. You should now have a revogateway directory containing an 'index.php' file and a 'connectors' directory. That's it, nothing more to do.
Original Document:
“Before using the component you must log into the remote site, on the Administration tab fill in the account, password and URL details.”
Re-Write:
After starting the Provisioner component log into the remote site on the Administration tab by filling in the account, password and URL details.
Resources are imported standalone at present, a new import menu item is needed to import any associated TV's and templates with the resource. Also need to look at TV values here as well.
Original reporter use zi
Hi,
is it possible to auto assign new template id to resources imported based on template name?
because the new template imported will have different id, so it will be best that on import, the code find for the template based on name and reassign the id to it...
From user nowhinjing :-
Getting an open_basedir restriction when trying to create the tempfile used for cookie storage on a VPS where directory access is locked down.
Maybe move the tempfile into assets somewhere.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.