First, I would like to thank both you and Mr. Maunder for an excellent product. However, it doesn't seem to want to work on a fresh install of WP 3.8.1 :) I used it years ago and remember having to make one or two small changes to the way the blog prefix was chosen to get it to work, but that was so long ago...
I recently started working on sites again and wanted to use DeployMint in an upcoming project because it's one of those "must haves" for staging projects.
I'll give a quick rundown of the things I've done:
- Cloned WordPress from github, and checked out the 3.8-branch (https://github.com/WordPress/WordPress)
- Verified permalinks worked as noted in the WP Codex article, http://codex.wordpress.org/Create_A_Network
- Turned on MultiSite, installed the network by subdomain, and verified the wildcard DNS worked.
- Created a subdomain/blog site called "dev", so its URL ended up being http://dev.example.com/
- Created two distinct posts: one on the "dev" URL, and one for the main URL.
- Cloned the fork of DeployMint (https://github.com/ammmze/DeployMint.git)
- Clicked on "Network Admin" under "My Sites," then to "Plugins." Under Plugins, it offered "Network Activate," rather than "Activate.") Then I clicked on "DeployMint" in the menu to configure it.
- Configured the path to data directory (everything else had been found and auto-completed), setup a temporary database, and checked "disable backup." Then clicked "Save."
The following errors appeared in the webserver's error log. (I had literally clicked on "Network Activate," then on "DeployMint" (in the menu), then filled in the config and clicked "Save." Before clicking anything else, I checked the error log:
[Thu Jan 23 21:42:07 2014] [warn] [client 192.168.90.100] mod_fcgid: stderr: WordPress database error Table 'example.dep_options' doesn't exist for query SELECT name, val FROM dep_options made by require('wp-admin/plugins.php'), activate_plugin, include_once('/plugins/DeployMint/deploymint.php'), DeployMintMultiSite->setup, DeployMintAbstract->setup, DeployMintAbstract->getOptions, referer: http://example.com/wp-admin/network/plugins.php
[Thu Jan 23 21:42:07 2014] [warn] [client 192.168.90.100] mod_fcgid: stderr: WordPress database error Table 'example.dep_options' doesn't exist for query SELECT name, val FROM dep_options made by require('wp-admin/plugins.php'), activate_plugin, include_once('/plugins/DeployMint/deploymint.php'), DeployMintMultiSite->setup, DeployMintAbstract->allOptionsSet, DeployMintAbstract->getOptions, referer: http://example.com/wp-admin/network/plugins.php
There are more errors after this, as I believe this one solves itself eventually. (Perhaps it re-checks if the table exists when a project is created or something.)
I click on "Manage Projects," and create a new one by just filling out the name of the project. (No additional tables, no git origin.)
In the error log were more errors:
[Thu Jan 23 21:59:58 2014] [warn] [client 192.168.90.100] mod_fcgid: stderr: PHP Warning: Missing argument 1 for DeployMintMultiSite::getTablePrefix(), called in /home/example/public_html/wp-content/plugins/DeployMint/DeployMintAbstract.php on line 1665 and defined in /home/example/public_html/wp-content/plugins/DeployMint/DeployMintMultiSite.php on line 62, referer: http://example.com/wp-admin/network/admin.php?page=deploymint
[Thu Jan 23 22:01:35 2014] [warn] [client 192.168.90.100] mod_fcgid: stderr: PHP Warning: Missing argument 1 for DeployMintMultiSite::getTablePrefix(), called in /home/example/public_html/wp-content/plugins/DeployMint/DeployMintAbstract.php on line 1665 and defined in /home/example/public_html/wp-content/plugins/DeployMint/DeployMintMultiSite.php on line 62, referer: http://example.com/wp-admin/network/admin.php?page=deploymint
[Thu Jan 23 22:01:37 2014] [warn] [client 192.168.90.100] mod_fcgid: stderr: WordPress database error Unknown column 'wp_blogs.blog_name' in 'field list' for query SELECT wp_blogs.blog_id AS blog_id, wp_blogs.domain AS domain, wp_blogs.path AS path, wp_blogs.blog_name AS name FROM dep_members, wp_blogs WHERE dep_members.deleted=0 AND dep_members.project_id=1 AND dep_members.blog_id = wp_blogs.blog_id made by do_action('wp_ajax_deploymint_reloadProjects'), call_user_func_array, DeployMintAbstract->actionReloadProjects, DeployMintAbstract->getProjectBlogs, referer: http://example.com/wp-admin/network/admin.php?page=deploymint/projects
[Thu Jan 23 22:01:37 2014] [warn] [client 192.168.90.100] mod_fcgid: stderr: WordPress database error Unknown column 'wp_blogs.blog_name' in 'field list' for query SELECT wp_blogs.blog_id AS blog_id, wp_blogs.domain AS domain, wp_blogs.path AS path, wp_blogs.blog_name AS name FROM dep_members, wp_blogs WHERE dep_members.deleted=0 AND dep_members.project_id=1 AND dep_members.blog_id = wp_blogs.blog_id made by do_action('wp_ajax_deploymint_reloadProjects'), call_user_func_array, DeployMintAbstract->actionReloadProjects, DeployMintAbstract->getBlogsNotInProject, DeployMintAbstract->getProjectBlogs, referer: http://example.com/wp-admin/network/admin.php?page=deploymint/projects
The blog names (where to add a blog to a project), under the newly created project, are blank. The drop-down is there, with the appropriate number of blogs created in system, but it does not give a domain or a name or any identifying information for each blog selection option.
I will continue to tinker with it and see if I can get it to work...
First, I would like to thank both you and Mr. Maunder for an excellent product. However, it doesn't seem to want to work on a fresh install of WP 3.8.1 :) I used it years ago and remember having to make one or two small changes to the way the blog prefix was chosen to get it to work, but that was so long ago...
I recently started working on sites again and wanted to use DeployMint in an upcoming project because it's one of those "must haves" for staging projects.
I'll give a quick rundown of the things I've done:
The following errors appeared in the webserver's error log. (I had literally clicked on "Network Activate," then on "DeployMint" (in the menu), then filled in the config and clicked "Save." Before clicking anything else, I checked the error log:
There are more errors after this, as I believe this one solves itself eventually. (Perhaps it re-checks if the table exists when a project is created or something.)
I click on "Manage Projects," and create a new one by just filling out the name of the project. (No additional tables, no git origin.)
In the error log were more errors:
The blog names (where to add a blog to a project), under the newly created project, are blank. The drop-down is there, with the appropriate number of blogs created in system, but it does not give a domain or a name or any identifying information for each blog selection option.
I will continue to tinker with it and see if I can get it to work...