Migrate from Linux to Windows Hosting

Hi,

I’m in the process of switching my website from Linux hosting to Windows hosting. The migration has been completed however there are error messages. My hosting company says I need to fix those errors before I can do a DNS switch. The error is below.

Warning: require_once(/home/argylean/public_html/system/startup.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\argyleandpaisley.com\httpdocs\index.php on line 33

Fatal error: require_once(): Failed opening required ‘/home/argylean/public_html/system/startup.php’ (include_path=‘.;.\includes;.\pear’) in C:\Inetpub\vhosts\argyleandpaisley.com\httpdocs\index.php on line 33

I’ve made changes to line 33 of the index.php file and to the config.php and nothing changes. So I changed both pages back. The hosting support team offers only limited assistance, so they can’t help me. How do I fix this so I can move forward with completing my site?

Here are some screenshots of the both pages.

Any help or a point in the right direction would be greatly appreciated.

Thank you,
Rachele

If the error message indeed weren’t changed, then, apparently you were editing the wrong configuration file.

You can see path to yours files by loggin to c-panel and go in file manager.

This one /home/argylean/public_html/system/startup.php is probably wrong.

You can try to var_dump(DIR_SYSTEM); to see a path that is defined.

Thank you. I’ll look into it.

Thank you. I’ll give this a try.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.