Fatal Error - Need Help
2 posts by 2 authors in: Forums > CMS Builder
Last Post: February 9, 2009 (RSS)
By (Deleted User) - February 8, 2009
Hi, I'm a new customer. I am having a problem when i upload the page to my server i get this error when the page loads.
Fatal error: main() [[url "http://www.vossfuneralservice.com/function.require"]function.require[/#810081][/url]]: Failed opening required '\nawinfs03/home/users/web/b1707/rh.vossfuneral/cmsadmin/lib/viewer_functions.php' (include_path='.;c:\php\includes') in \\nawinfs03\home\users\web\b1707\rh.vossfuneral\newslist.php on line 3
Thanks
Fatal error: main() [[url "http://www.vossfuneralservice.com/function.require"]function.require[/#810081][/url]]: Failed opening required '\nawinfs03/home/users/web/b1707/rh.vossfuneral/cmsadmin/lib/viewer_functions.php' (include_path='.;c:\php\includes') in \\nawinfs03\home\users\web\b1707\rh.vossfuneral\newslist.php on line 3
Thanks
Re: [jda] Fatal Error - Need Help
By Dave - February 9, 2009
Hi jda, welcome to the CMS Builder forum! :)
The code generator doesn't yet support paths that start with \\ (UNC filepaths). For now just add two slashes to the start of your require_once line like this:
require_once "\\\\nawinfs03/home/users/web/b1707/rh.vossfuneral/cmsadmin/lib/viewer_functions.php";
The reason is slashes have a special meaning in PHP and need another slash in front of them to tell PHP it's just a regular slash. I'll update the code for the next release so it will do that for you automatically.
Hope that helps! Let me know if you need anything else.
The code generator doesn't yet support paths that start with \\ (UNC filepaths). For now just add two slashes to the start of your require_once line like this:
require_once "\\\\nawinfs03/home/users/web/b1707/rh.vossfuneral/cmsadmin/lib/viewer_functions.php";
The reason is slashes have a special meaning in PHP and need another slash in front of them to tell PHP it's just a regular slash. I'll update the code for the next release so it will do that for you automatically.
Hope that helps! Let me know if you need anything else.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com