Skip to main content

Fatal error after migration

Comments

11 comments

  • fabin
    I guess mb_convert_case comes with mbstring module. Is this module enabled in your PHP?
    0
  • cPanelMichael
    Hello :) It seems like this may be an issue with the script as opposed to any issue with cPanel itself. Check to make sure all of it's required PHP modules (e.g. Mbstring) are installed on your system with EasyApache. Thank you.
    0
  • eric.langley
    Michael and Fabin, I ran the Easy Apache wizard, the Mbstring was not enabled, and checked it off and completed. Now, even after several hours, the panel says that Easy Config is still running. Concerned to reboot and brick the box... ~eric
    0
  • eric.langley
    The Easy Apache update finally finished, very slow though. I ran the restore again and still receive a similar error when visiting the site or the wp-admin page: Warning: Cannot modify header information - headers already sent by (output started at /home/netsysco/sites/ci-template-a/wp-content/themes/bp-social-child/bp-functions.php:218) in /home/netsysco/sites/ci-template-a/wp-includes/pluggable.php on line 875 ~eric
    0
  • cPanelMichael
    [quote="eric.langley, post: 1544061">Warning: Cannot modify header information - headers already sent by (output started at /home/netsysco/sites/ci-template-a/wp-content/themes/bp-social-child/bp-functions.php:218) in /home/netsysco/sites/ci-template-a/wp-includes/pluggable.php on line 875
    This actually seems like a different error message because there are no further references to "mb_convert_case". You might want to try using a different templates to see if that makes a difference as this seems like an issue isolated to the script itself. Thank you.
    0
  • eric.langley
    It seems that there are various files and plugins that have malformed php blocks like; I fixed a few of them and deleted some plugins and was able to get the site to load from the front-end, (but not wp-admin). This coding structure was never an issue with my hold hosting server running PHP 5.3.3 >>Is there any way to modify the cPanel configuration to operate like my old server? There are too many sites to go in and fix all these php files. ~eric
    0
  • cPanelMichael
    The cPanel configuration should already be the same if you are running the same version of Apache and PHP, and have installed all of the PHP modules that were installed on the previous server. You could try matching up the php.ini file but it seems more like an issue with the Wordpress application itself. You mentioned malformed PHP blocks. Could you elaborate on that? Were there any errors during the backup or restore process? Thank you.
    0
  • eric.langley
    Comments inline [quote="cPanelMichael, post: 1544851">The cPanel configuration should already be the same if you are running the same version of Apache and PHP, and have installed all of the PHP modules that were installed on the previous server. You could try matching up the php.ini ESL: I am not sure that the PHP modules are exactly the same. I can have my technician check that. As for the php.ini I found this cPanel forum post: When I did a Google search it seems to be a fairly common problem with cPanel with various hosts, GoDaddy, etc.. There are many php files that are not formatted the way this Codex suggests, but again, it wasn't a problem on my old server. One php file with less than ideal coding can kill an entire site... You wrote: Were there any errors during the backup or restore process? ESL: Only the headers already sent by...' error during the restore process, that were from the BackupBuddy script not following the WordPress Codex. Otherwise the restore completed successfully. Thank you.
    0
  • cPanelMichael
    It seems like this might be an issue with how the custom backup script restored the websites. Have you tried transferring an account using the transfer options in Web Host Manager to see if you get the same results? Thank you.
    0
  • eric.langley
    Possibly, however if that were the case then iThemes/BackupBuddy should fix it and make it work. So far they have not provided any solution to the problem. The old server is running zPanel so that won't be an option. I can always restore the server by backing up the db and simply copying the files over. But BackupBuddy is our backup and domain name change migration solution. It needs to work either way we use it every day for this type of thing now. ~eric
    0
  • cPanelMichael
    You may want to try uploading a fresh copy of WordPress on a new website or subdomain to see if that works as expected. That way, you can rule out any issues with the third-party application you are using. Thank you.
    0

Please sign in to leave a comment.