We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Error with old server path when moving site from staging to production

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
2 years ago
From EE Slack's avatar From EE Slack

I recently switch a site from a staging domain to it’s production domain. Now when I log into the CP I get an error that says:

file_exists(): oepn_basedir restriction in effect. File(old/server/path) is not within the allowed path(s): (new/server/path)
ee/legacy/libraries/File_Integrity.php, line 56

I believe I’ve tracked this down to the exp_sites table and the site_bootstrap_checksums and site_pages columns. If that’s correct how can I update the encrypted values in those columns to be correct? If not does anyone else have any idea on how I might fix this?

       
Tom Jaeger's avatar
Tom Jaeger
449 posts
2 years ago
Tom Jaeger's avatar Tom Jaeger

After some dialog around what add-ons we’re installed, it was ultimately discovered that the staging domain was still in use in the channel URL. After deleting this (as it wasn’t in use) it was resolved.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.