I am trying to install lampcms on webfaction. The webfaction setup is sort of a hybrid. As such, I cannot install files one level above the web document root.
I made the following changes:
57: include '../../!inc.php'; //point up one more level
102: define('LAMPCMS_PATH', '/home/account_name'); //point to account root instead of ___FILE___ 103: $libDir = '/home/account_name/lib';
Lampcms creates the mongo db, then I get this err:
File not found: /home/account_name/lib/tplMain.phpCan you offer any suggestions?
Usually this means that a path to your web root directory is no correct.. Since you made some changes and point to ../../!inc.php something else probably has to be changes. Usually the !inc.php is located in the project's root directory and the web root folder is the www directory of the project.
So it looks like the whole project is in your web root directory, right? Ok, so how do you access the pages then? Something like /www/index.php instead of index.php?