close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Framework file not found but only in root

Thread began 3/15/2011 8:30 am by webassist412767 | Last modified 5/29/2014 8:44 am by webassist412767 | 7640 views | 18 replies


Framework file not found but only in root

Created a site with Framework Builder and tested on both local server and hosted server and works fine until the site is put into the root directory. Then the following error is produced.

Framework file not found: /var/www/vhosts/<>/httpdocs/index.php

Whole site works as expected on same server when in a sub directory ie., it is only when in the root directory it falls over. If the root is changed to be the /dev directory the same error is produced, so seems to not like being in the root.

Here are the first few lines of the framework.php file.

class WA_Include {
public function __construct( $fileName) {
$this->Start_Dir = getcwd();
$this->File = $fileName;
$this->BaseName = basename($fileName);
$this->Reset = array();
$this->Added = array();
$this->Dir = dirname($fileName);
$this->Body = "";
$this->Head = "";
$this->HTML = "";
$this->Title = "";
$this->Above = "";
$this->Links = array();
$this->Styles = array();
$this->DocType = "";
$this->Content = "";
$this->MetaTags = "";
$this->MetaKeywords = "";
$this->MetaDescription = "";
$this->MetaContentType = "";
$this->MetaKeywords_Content = "";
$this->MetaDescription_Content = "";
$this->MetaContentType_Content = "";
$this->EditableRegions = array();
if (!file_exists($this->Dir)) {
die("Framework file not found: ".$fileName);

I am assuming this file is where the issue has arose. If anyone can point me in the right direction it would be appreciated. Framework version 1.0.1 and patched from CS5 DW.

Thanks Ian

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...