X1运营交流
同样的链接为何pc 能打开 手机打不开报错呢
  • 闻过则喜 消费1195.52元 2020-03-07 10:58 10:58
1458
12

http://fl.sohues.com/index.php/fenlei

除此之外,反复换了多种

/index.php/fenlei/index/index.html

/fenlei/index/index.html

。。。。。。

 带index.php目录的都是报错打不开

不带的 都是无响应

7
赏礼
赏钱
收藏
点击回复
      全部留言
  • 12
  • 啡巅 普通粉丝 消费:1381.19元 2020-03-07 11:14 11:146楼

    数据表缺少字段,模版是否改过?

    重新安装分类信息。或者在

    不带index.php的 伪静态配置有问题,都是指向主页。
    闻过则喜 消费:1195.52元 三星 2020-03-07 11:17
    因为是菜鸟儿,不会改模板,所以模板没得改过。这两天跟着提示升级后台两次了,也不存在文件缺失问题。卸载后重新安装了一次 ,还是那样
    啡巅 消费:1381.19元 2020-03-08 01:07
    打开手机分离模版 /template/index_style/default/fenlei/index/index.php,将63行的
    {qb:tag name="fenlei_list_page_wap" type="fenlei" mid="-1" rows="10" order="list"}

    修改成
    {qb:tag name="fenlei_list_page_wap" type="fenlei" mid="-1" rows="10" order="id"}
    闻过则喜 消费:1195.52元 2020-03-08 09:09
    谢谢正解。修改模板后问题解决了。祝你2020发大财。

    很纳闷, 官方为何会无视这个纰漏
    啡巅 消费:1381.19元 2020-03-08 11:30
    不客气 官方现在忙没时间,要谅解。这是个小bug,等官方修正吧。上面也就是临时解决方案。
2 赏钱 赏礼回复
  • aishang 普通粉丝 消费:0元 2020-03-07 23:55 23:556楼



    aishang 消费:0元 2020-03-07 23:55
    能打开啊
0 赏钱 赏礼回复
  • 闻过则喜 普通粉丝 消费:1195.52元 2020-03-07 17:55 17:556楼
    hr 和 fenlei 是 一个级别的模块  同样的路径方式 为何hr的手机菜单不出现这个问题呢
0 赏钱 赏礼回复
  • 银杏114在线 实战运营者 消费:3609.79元 2020-03-07 11:45 11:456楼
    你是在后台设置了隐藏index.php,如果设置过,服务器是否作了相应配置,

    如果是宝塔+Centos +apache+mySQL 的环境,就在宝塔的面板里打开网站面板,在伪静态里填入<IfModule mod_rewrite.c>
      Options +FollowSymlinks -Multiviews
      RewriteEngine On

      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
    # RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
      RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
    </IfModule>
    保存即可。


    若是windows的,则配置你的web.config 文件,<?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
    <rewrite>
    <rules>
    <rule name="OrgPage" stopProcessing="true">
    <match url="^(.*)$" />
    <conditions logicalGrouping="MatchAll">
    <add input="{HTTP_HOST}" pattern="^(.*)$" />
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    </conditions>
    <action type="Rewrite" url="index.php/{R:1}" />
    </rule>
    </rules>
    </rewrite>
         </system.webServer>
    </configuration>
    银杏114在线 消费:3609.79元 2020-03-07 11:45
    是否在后台设置过?
    银杏114在线 消费:3609.79元 2020-03-07 11:48
    Nginx隐藏index.php伪静态规则

    location / {
            if (-e $request_filename) {
    break;
    }
    if (!-e $request_filename) {
    rewrite ^/(.*)$ /index.php/$1 last;
    break;
    }
       }
    闻过则喜 消费:1195.52元 2020-03-07 14:13
    首先表示强烈感谢, 我用的是 景安的 liux 虚拟主机, Apache的Rewrite模块,php 7.1.   下载的官方x1
    自带着那个规则,后台也没有设置隐藏index.php  没看到过, 这是咋回事啊
0 赏钱 赏礼回复
更多回复
      你可能感兴趣的主题
恢复多功能编辑器
  • 3 1
  • X1运营交流
        圈内贴子51642
    • 圈子成员1016
    本圈子内的新贴

    推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648