website2.com and website3.com are no longer active and can be removed, but I’m not sure how that will effect the situation and don’t want to create more problems
Softaculous is a third-party installer, so we cannot provide support for it. I recommend contacting your hosting provider’s support instead.
Alternatively, you can manually edit the wp-config.php file on the site in question to provide the correct database details: https://developer.projectdmc.org/apis/wp-config-php/
Thanks for your reply, Softaculous is where I see the problem – 2 urls trying to use the same database, all details in wp-config.php are correct and the wp-option tables seem to be correct. Apart from contacting the hosting provider is there anything else I can do to resolve this issue – without using Softaculous. The full error is:
Warning: mysqli_real_connect(): (HY000/1045): Access denied for user ‘mosheavn_david’@’localhost’ (using password: YES) in /home1/mosheavn/public_html/wp-includes/wp-db.php on line 1531 Error establishing a database connection
Thanks for your help.
Ok, as mentioned, Softaculous is a third-party installer, so we cannot provide support for it.
You’ll need to contact your hosting provider’s support instead.
Sorry, I misread the question.
You could try checking to see if your database user has full access and privileges to the site’s MySQL database.
Since all hosting providers are different, you’ll need to consult your hosting provider’s documentation or support for specifics.
-
This reply was modified 19 hours, 8 minutes ago by
James Huff. Reason: typo
OK, I’ve created a new privelaged user and update wp-config.php, I now receive the following:
Deprecated: Function create_function() is deprecated in /home1/mosheavn/public_html/wp-content/plugins/nextgen-gallery/widgets/media-rss-widget.php on line 138
Deprecated: Function create_function() is deprecated in /home1/mosheavn/public_html/wp-content/plugins/nextgen-gallery/widgets/widgets.php on line 145
Deprecated: Function create_function() is deprecated in /home1/mosheavn/public_html/wp-content/plugins/nextgen-gallery/widgets/widgets.php on line 345
Deprecated: Non-static method WPShortcodeExecPHP::Check_prerequisites() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php.php on line 48
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1318
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1319
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1320
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1321
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1322
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1323
Deprecated: Non-static method WPShortcodeExecPHP::Check_function() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/shortcode-exec-php/shortcode-exec-php-class.php on line 1324
Notice: add_shortcode was called incorrectly. Invalid shortcode name: OilOnCanvas 2012. Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home1/mosheavn/public_html/wp-includes/functions.php on line 4239
Notice: add_shortcode was called incorrectly. Invalid shortcode name: OilOnCanvas 2014. Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /home1/mosheavn/public_html/wp-includes/functions.php on line 4239
Notice: The called constructor method for WP_Widget in nggMediaRssWidget is deprecated since version 4.3.0! Use__construct()instead. in /home1/mosheavn/public_html/wp-includes/functions.php on line 3994
Notice: The called constructor method for WP_Widget in nggSlideshowWidget is deprecated since version 4.3.0! Use__construct()instead. in /home1/mosheavn/public_html/wp-includes/functions.php on line 3994
Notice: The called constructor method for WP_Widget in nggWidget is deprecated since version 4.3.0! Use__construct()instead. in /home1/mosheavn/public_html/wp-includes/functions.php on line 3994
Warning: Cannot modify header information - headers already sent by (output started at /home1/mosheavn/public_html/wp-content/plugins/nextgen-gallery/widgets/media-rss-widget.php:138) in /home1/mosheavn/public_html/wp-content/plugins/si-contact-form/wp-session/class-wp-session.php on line 92
Deprecated: Non-static method nggGallery::get_theme_css_file() should not be called statically in /home1/mosheavn/public_html/wp-content/plugins/nextgen-gallery/nggallery.php on line 394Can you tell me what this indicates and how to correct it?
Thanks
Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).
In wp-config.php I changed:
define(‘WP_DEBUG’, true);
define(‘WP_ALLOW_REPAIR’, true); to
define(‘WP_DEBUG’, false); define(‘WP_ALLOW_REPAIR’, false); and all the errors magically disappeared – from sight. Who needs Softaculous?
Thanks for your help
