Local Install
-
I’m tryng to test MainWP on a local install but when i try to add i site (after installing the MainWP Child plugin on the site tested) i get always the same message.
MainWP is almost ready. Please enter your first site.
and nothing appens.
-
Is the Child site your trying to connect added to your Dashboard and the message remains or is the Child site not adding?
Operation I’ve done:
1) Installed on local site MainWP Dashboard plugin. No Other plugin. Fresh wp install. 4.2.4
2) Installed on production live site MainWP Child plugin.
Other plugin active: Wp-rocket, Elegant Themes Updater, All In One SEO Pack, Bookly,
Other plugin inactive: Disable All WordPress Updates, One-Click Child Theme, Elegant Themes Updater3) Tested connection on the live site: result OK. Tested the Plugin Conflicts: No conflicts found.
4) Tried to add in the local site info about the production live site and get the error: Invalid request.need more info?
Please check these areas:
Do you see any errors when you go to Server Information –> Error Log on your Dashboard?
Do you see any warning when you go to Server Information –> Server on your Dashboard?
Do you see any Status Failed or Errors on the Child site when you go to the MainWP Server Information page on the Child?
ANSWERS
—-
Q: Do you see any errors when you go to Server Information –> Error Log on your Dashboard?
A: yes a lot of error. Shown at the end of this post
—-
Q: Do you see any warning when you go to Server Information –> Server on your Dashboard?
A:3 errors:
WordPress Memory Limit >= 64M 40M. But in a shared server i can’t get the 64 MB memory.
SSL Warnings = empty error:02001003:system library:fopen:No such process. But i donot need ssl
cURL Timeout >= 300 seconds 60.
—–
Q: Do you see any Status Failed or Errors on the Child site when you go to the MainWP Server Information page on the Child?
A: No conflicts found. But at the end I found this message: MainWP is unable to find your error logs, please contact your host for server error logs.
—–Error logs
13-Aug-2015 13:53:52 UTC PHP 14. MainWPSystem->check_update_custom() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 13. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 12. apply_filters() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\option.php:1387
13-Aug-2015 13:53:52 UTC PHP 11. get_site_transient() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\update.php:501
13-Aug-2015 13:53:52 UTC PHP 10. wp_get_translation_updates() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\update.php:541
13-Aug-2015 13:53:52 UTC PHP 9. wp_get_update_data() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\admin-bar.php:789
13-Aug-2015 13:53:52 UTC PHP 8. wp_admin_bar_updates_menu() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:571
13-Aug-2015 13:53:52 UTC PHP 7. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:571}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:571
13-Aug-2015 13:53:52 UTC PHP 6. do_action_ref_array() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\admin-bar.php:74
13-Aug-2015 13:53:52 UTC PHP 5. wp_admin_bar_render() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 4. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 3. do_action() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin-header.php:202
13-Aug-2015 13:53:52 UTC PHP 2. require_once() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:218
13-Aug-2015 13:53:52 UTC PHP 1. {main}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:0
13-Aug-2015 13:53:52 UTC PHP Stack trace:
13-Aug-2015 13:53:52 UTC PHP Warning: Invalid argument supplied for foreach() in Localhost \wpcontrolsite\www.wpcontrol.dev\wp-content\plugins\mainwp\class\MainWPSystem.class.php on line 494
13-Aug-2015 13:53:52 UTC PHP 13. MainWPSystem->check_update_custom() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 12. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 11. apply_filters() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\option.php:1387
13-Aug-2015 13:53:52 UTC PHP 10. get_site_transient() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\update.php:524
13-Aug-2015 13:53:52 UTC PHP 9. wp_get_update_data() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\admin-bar.php:789
13-Aug-2015 13:53:52 UTC PHP 8. wp_admin_bar_updates_menu() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:571
13-Aug-2015 13:53:52 UTC PHP 7. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:571}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:571
13-Aug-2015 13:53:52 UTC PHP 6. do_action_ref_array() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\admin-bar.php:74
13-Aug-2015 13:53:52 UTC PHP 5. wp_admin_bar_render() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 4. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 3. do_action() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin-header.php:202
13-Aug-2015 13:53:52 UTC PHP 2. require_once() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:218
13-Aug-2015 13:53:52 UTC PHP 1. {main}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:0
13-Aug-2015 13:53:52 UTC PHP Stack trace:
13-Aug-2015 13:53:52 UTC PHP Warning: Invalid argument supplied for foreach() in Localhost \wpcontrolsite\www.wpcontrol.dev\wp-content\plugins\mainwp\class\MainWPSystem.class.php on line 494
13-Aug-2015 13:53:52 UTC PHP 8. MainWPSystem->check_update_custom() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 7. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 6. apply_filters() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\option.php:1387
13-Aug-2015 13:53:52 UTC PHP 5. get_site_transient() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\includes\update.php:256
13-Aug-2015 13:53:52 UTC PHP 4. wp_plugin_update_rows() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 3. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 2. do_action() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:158
13-Aug-2015 13:53:52 UTC PHP 1. {main}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:0
13-Aug-2015 13:53:52 UTC PHP Stack trace:
13-Aug-2015 13:53:52 UTC PHP Warning: Invalid argument supplied for foreach() in Localhost \wpcontrolsite\www.wpcontrol.dev\wp-content\plugins\mainwp\class\MainWPSystem.class.php on line 494
13-Aug-2015 13:53:52 UTC PHP 8. MainWPSystem->check_update_custom() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 7. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:213
13-Aug-2015 13:53:52 UTC PHP 6. apply_filters() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\option.php:1387
13-Aug-2015 13:53:52 UTC PHP 5. get_site_transient() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\update.php:598
13-Aug-2015 13:53:52 UTC PHP 4. _maybe_update_plugins() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 3. call_user_func_array:{Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-includes\plugin.php:496
13-Aug-2015 13:53:52 UTC PHP 2. do_action() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:158
13-Aug-2015 13:53:52 UTC PHP 1. {main}() Localhost \wpcontrolsite\www.wpcontrol.dev\wp-admin\admin.php:0Installed in a live site I get connection.
Bye
FabrizioFirst time trying – I get “Invalid request” on localhost
Will try something else – not a good start
@worthdesigning I’ll be happy to help.
When using the MainWP Dashboard on a localhost you’ll want to follow the Quick Start Guide that appears when you initially install the plugin.
In the Quick Start Guide it will ask you if you are
1. Installing on a localhost
2. Installing on a service running the Windows Operating System
Based on the error it appears you are installing on a service running the Windows Operating System.
Generally at this point the Quick Start Guide is able to make automatic changes to the plugin in order to allow it to run on a local host. Basically, the Quick Start Guide is letting the Dashboard plugin to know where the openssl.cnf file is. This is usually c:\xampplite\apache\conf\openssl.cnf.
However, if you skipped the Quick Start Guide or your your openssl.cnf is in a different place then you will need to make the changes manually. You can find those steps in this blog post under the heading “Manual Adjustment for Localhost Setup”
If you still experience issues I would recommend opening a trouble ticket so the support staff can help you out.
Thanks for that – I did actually follow the directions for a localhost install.
Mine is in Program Files/xampp > think that’s where it went wrong.
Think I got the path wrong.
Thanks for the detailed and very helpful response ??
I out a line in and installation had a conniption – must have entered something incorrectly!
I added ‘config’ => “c:\programfiles\xampplite\apache\conf\openssl.cnf”);
Tried
$conf = array( ‘private_key_bits’ => 384 ), ‘config’ => “c:\programfiles\xampp\apache\conf\openssl.cnf”);Didn’t like that either
The localhost page isn’t working
localhost is currently unable to handle this request.
If you still experience issues I would recommend opening a trouble ticket so the support staff can help you out.
- The topic ‘Local Install’ is closed to new replies.