Migration Errors: Theme and open_basedir restriction in effect

Started by NeedIt, November 07, 2012, 12:25:13 AM

Previous topic - Next topic

NeedIt

My hosting company migrated my site from one server to another and pushed over my forum as well.  Everything looks good except I am getting these errors at the top:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(D:\Hosting\2420323\html\forum) is not within the allowed path(s): (C:/Inetpub/vhosts/domainname.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domainname.com\httpdocs\forum\Settings.php on line 51

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(D:\Hosting\2420323\html\forum/Sources) is not within the allowed path(s): (C:/Inetpub/vhosts/domainname.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domainname.com\httpdocs\forum\Settings.php on line 53

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(D:\Hosting\2420323\html\forum/cache) is not within the allowed path(s): (C:/Inetpub/vhosts/domainname.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domainname.com\httpdocs\forum\Settings.php on line 55

It also says the following:

"The default theme's directory is wrong, please correct it by clicking this text."

Now I am migrating from SMF 2.0 to SMF 2.0.1.  And I have always used the default theme.

Any idea what would cause these errors?

NeedIt

Nevermind.  Figured out the problem.  The new server had a different path and the settings.php file had to be modified and the path for the default theme had to be modified.

Colin

Thanks for taking the time to share your solution. Topic marked as solved.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Advertisement: