yii错误

d6kp6zgx  于 2021-06-25  发布在  Mysql
关注(0)|答案(1)|浏览(299)

我有一个内部标签找不到的问题,但路由是正确的,我不知道为什么这个错误是由于事实上,只有家庭工程的看法,我将感谢任何支持
加载模块时添加一段代码

'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
     ),
f4t66c6m

f4t66c6m1#

您好,我发现错误的路由是正确的,但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

相关问题