SOLVED cPanel WordPress Manager Error

Ryan Burke

Member
PartnerNOC
Feb 4, 2017
8
3
3
Tampa, Fl
cPanel Access Level
DataCenter Provider
I've just manually moved a site from iPage to my cPanel server, and am trying to use the WP Manager's Discover Sites tool to get it added into the manager. When it runs, I get the following error:

The system found a new WordPress installation, “/home/CPACCOUNT/public_html/wp-config.php”, but could not make it manageable because of the following error: The batch response did not contain the Administrator Information. at /usr/local/cpanel/Cpanel/WordPress/YamlBuilder.pm line 305.

This entire migration has been manual, but I've been able to get all files and the DBs moved over. I currently do not have access to the wp-admin, but have a hunch I may need to reassign the DBs as, again hunches abound, i think iPage probably has these all kerfuffled. My assumption for this is the discover tool will look at the wp config, look for the DB, and try to ascertain the admin details from that.


But was hoping someone else may have seen this and might be able to point me in a different direction if needed.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @Ryan Burke


We actually have a case open for this issue CPANEL-23541 where the Wordpress Instance Manager seems to have issues with ini_set() in wp-config files. This case is still being monitored and has not been resolved yet. There is a workaround for this right now which seems to be commenting out the ini_set lines in the wp-config. Can you let me know if that resolves the issue for you?
 

Ryan Burke

Member
PartnerNOC
Feb 4, 2017
8
3
3
Tampa, Fl
cPanel Access Level
DataCenter Provider
Hi @Ryan Burke


We actually have a case open for this issue CPANEL-23541 where the Wordpress Instance Manager seems to have issues with ini_set() in wp-config files. This case is still being monitored and has not been resolved yet. There is a workaround for this right now which seems to be commenting out the ini_set lines in the wp-config. Can you let me know if that resolves the issue for you?
So, no ini_set() in this wp-config

[[email protected] public_html]# cat wp-config.php |grep ini_set
[[email protected] public_html]#

BUT, i did get it fixed.

So with the site being a migration, it seems have to manually go into the wp-config and edit the MySQL settings to match the correct new names of the DB, user, password, and more importantly, the host. It workedm and i got the green "WordPress installations discovery scan complete - The system found 1 previously unmanaged installation." banner.

I had thought I'd need to do this inside the wp-admin portal, but apparently it can be edited inside the wp-config files. If it's coming from a cPanel server already, transfer tool moved the DBs over with everything else, so this may be specific to manual migrations.
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @Ryan Burke

Oh, that makes sense, I had assumed the wp-config was correct previous to this. Thank you so much for updating here the exact cause as well as solution for this.
 

_Antonius03

Registered
Feb 4, 2020
1
0
1
PH
cPanel Access Level
Root Administrator
So, no ini_set() in this wp-config

[[email protected] public_html]# cat wp-config.php |grep ini_set
[[email protected] public_html]#

BUT, i did get it fixed.

So with the site being a migration, it seems have to manually go into the wp-config and edit the MySQL settings to match the correct new names of the DB, user, password, and more importantly, the host. It workedm and i got the green "WordPress installations discovery scan complete - The system found 1 previously unmanaged installation." banner.

I had thought I'd need to do this inside the wp-admin portal, but apparently it can be edited inside the wp-config files. If it's coming from a cPanel server already, transfer tool moved the DBs over with everything else, so this may be specific to manual migrations.
hi @Ryan Burke my friend had the same problem he manually moved everything from interworx to cpanel now his website is not working can you please help me. i don't know where to find the database of his website from his full backup. or if will i ever can find one because i don't know if he really does back up his database. i can access the wp-config file from his cpanel. please can you please do a list of steps as what you did to fix yours?
 

Ryan Burke

Member
PartnerNOC
Feb 4, 2017
8
3
3
Tampa, Fl
cPanel Access Level
DataCenter Provider
hi @Ryan Burke my friend had the same problem he manually moved everything from interworx to cpanel now his website is not working can you please help me. i don't know where to find the database of his website from his full backup. or if will i ever can find one because i don't know if he really does back up his database. i can access the wp-config file from his cpanel. please can you please do a list of steps as what you did to fix yours?

Oh jeez, it's been a bit since this happened. Unfortunately, I am unfamilair with interworx's setup, so i don't know what/how they offer up data when migrating away from them.

BUT, there's hope. If they have WordPress admin console access, there are tools there to export the site. You could make a fresh WP install in their CP account, and use the same tool to import it. I don't have any recommendations at this time for which is better than other (but I do know JetBackup is supposed to be rocking it right now).

And if they can access PHPMyAdmin on the interworx environment, they should be able to export their DBs.

Best solution though would be if they can get their original host to profile a pkgacct made file, then you should only need to import it. If you've done that, you may need to get into the config files and manually update (like I had to do). If you did import it, check in your WHM's PHPMyAdmin to see what the DB names are, and then check those configs to make sure they match. If they don't, backup your current config (always backup!) and make them match. Should get near instant results.

Otherwise, there are some good migration specialists out there, your friend may wish to call on their services.
 
  • Like
Reactions: cPanelLauren

natur274

Registered
Apr 11, 2020
1
0
1
Raleigh
cPanel Access Level
Website Owner
so I am getting this error by changing from non-SSL to SSL in the General Settings page. I literally put a s in http and and hit save and it logged me out and I can't get back in. any ideas? Im not a developer so layman terms please! thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
so I am getting this error by changing from non-SSL to SSL in the General Settings page. I literally put a s in http and and hit save and it logged me out and I can't get back in. any ideas? Im not a developer so layman terms please! thanks!
I'd suggest you contact your hosting provider for assistance. This behavior does not sound the same as what's in this thread.