On one PC all is well. I copy the webroot and all subfolders and move to 2nd PC.
The main menu comes up and all Yii included menu options work (Home,About, Contact, Login) . But when attempting to go to any of the new items I get the XAMPP welcome page.
the site is named ‘trackstar’ and when I try to go to any controller (localhost/trackstar/index.php?r=project) I get the XAMPP welcome page and the address bar is: ‘http://trackstar/xampp/’ -> which doesn’t exist. The back arrow takes me back to the Yii menu. This works properly on the 1st PC.
I am really at a loss here and need some guidance.
or may you need enable YII_DEBUG in index.php so that will show error message.
error_reporting(-1);
ini_set('display_errors', true);
// change the following paths if necessary
$yii=dirname(__FILE__).'../../yii/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';
require_once dirname(__FILE__)."/protected/config/function.php";
// remove the following line when in production mode
defined('YII_DEBUG') or define('YII_DEBUG',true);
require_once($yii);
Yii::createWebApplication($config)->run();