last day (14 days later) » 

11:28
0
A: 404 Not Found in yii framework

Ravi HiraniMake sure there is index.php file in path crm/web/index.php Put this line to your root index.php file. instead of your header location: <?php $host = $_SERVER['HTTP_HOST']; $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); $extra = '/web/index.php'; header("Location: http://$host$uri/$ext...

this code is not working....
Which version of Yii you are using?
I got project and want to configure but I can't and that's why I also can't check the version because project is not working...
Is there any file where I can check version instead of this echo Yii::getVersion(); function.
.htaccess code is for root .htaccess file or for web's .htaccess file.
its giving Internal Server Error now.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
after configuration in which file can I see the version of yii???
Sorry Bro :( Without seeing your code, It is very difficult to tell you any suggestion.
you can check Yii version in your root index.php file after $yii and $config line.
Your landing file should be at protected/view/site or under crm/themes folder
There isn't any directory called protected or themes in the project...
So it means that the project is not configure...
11:35
can you send screenshot of your project directory?
ok
see my updated question please
ok
your version is Yii2
any luck...
ok
Without seeing code it is not possible me to debug. Sorry :(
so how can I run this at my local computer...
This is my root index.php file's code...
<?php header('Location: /livecrm/web/index.php'); ?>
and this is web's index.php file's code
error_reporting(0);
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

require(__DIR__ . '/../../vendor/autoload.php');
require(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php');
require(__DIR__ . '/../../livefactory/config/bootstrap.php');
require(__DIR__ . '/../config/bootstrap.php');

$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../../livefactory/config/main.php'),
require(__DIR__ . '/../../livefactory/config/main-local.php'),

last day (14 days later) »