内部页面中的Yii错误

时间:2018-05-09 17:32:50

标签: php mysql yii

我有一个问题,内部标签无法找到,但路由是正确的我不知道为什么这个错误是由于只有家庭的视图工作的事实,我会感谢任何支持

加载模块时添加一段代码

 'admin' => array(
        'class' => 'core.modules.admin.AdminModule',
        // Este parametro lo reciben todos los módulos
        // y es para ocultar el menu lateral en el cms
        // 'showMenuFromAdmin'=>false,
    ),
    'payu'=>array(
        'class'=>'application.modules.payu.PayuModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
    'Home'=>array(
        'class'=>'application.modules.Home.HomeModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
     'secciones'=>array(
        'class'=>'application.modules.secciones.SeccionesModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
    'Noticias'=>array(
        'class'=>'application.modules.Noticias.NoticiasModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
    'Galeria'=>array(
        'class'=>'application.modules.Galeria.GaleriaModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
     'eventos'=>array(
        'class'=>'application.modules.eventos.EventosModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
    'involucrate'=>array(
        'class'=>'application.modules.involucrate.InvolucrateModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
    'conocenos'=>array(
        'class'=>'application.modules.conocenos.ConocenosModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
     'documentos'=>array(
        'class'=>'application.modules.documentos.DocumentosModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),
    'contactenos'=>array(
        'class'=>'application.modules.contactenos.ContactenosModule',
        // 'showMenuFromAdmin'=>false, // If you want hide your module on CMS left menu
     ),

1 个答案:

答案 0 :(得分:0)

你好我发现错误的路线是正确的但是htacces错误地配置在这里我留下它以防它发生相同

RewriteEngine on
RewriteBase /~lindemipagina/
# This is for OAuth2 Implementation of "Authorization" parameter
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

# This is for uploader pluging
# php_value post_max_size 100M
# php_value upload_max_filesize 100M

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php