Failed to Open Stream or No Such File error

If you're getting an error like the following:

Warning: main(/home/user/public_html/enc/meta.php): failed to open stream: No such file or directory in /home/yoursite/public_html/template/index.htm on line 5 

that usually indicates a path issue. Access the stconfig.php page in your site, and find the line:

define("SB_HOME_PATH", "/home/user/public_html");

and change that to the correct site path. Not sure what the path is? Look at the error itself. Whatever follows the 'No such file or directory in' piece usually indicates the path.

So in our example above, the error shows:

No such file or directory in /home/yoursite/public_html/template/index.htm 

so we would try the path:

$Home_Path = "/home/yoursite/public_html"; 

If you still can't get the path error to disappear, check with your host and see if they can send you the path to your public files, or contact us for assistance.