Jump to content
Server Maintenance This Week. ×

Help with new Mac server install for CWP


This topic is 3837 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

We have a CWP website that is successfully hosted remotely. We have a brand new Mac Mini Server with FMS 12 installed. Everything seems to be jiving correctly, API calls work, etc. We are moving this site to our internal server for modifications/testing. However, throughout the site, the previous programmer(s) used a lot of $_SERVER['document_root'].'/PathToIncludeFile' syntax to specify includes and requires. This is not working properly on the internal server. When the $_SERVER['document_root'] is called I get this:  "Failed opening required 'cms/db_cms.php' (include_path='.:/Library/FileMaker Server/Web Publishing/publishing-engine/php/mountain lion/lib/php')". As you can see, the include path is completely wrong and looking into the FM install, not the website root. I have spent many hours trying to resolve this issue. Any help is much appreciated. Thanks!!

Link to comment
Share on other sites

This topic is 3837 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.