Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装完之后css无法加载,看了一下好像是路径有问题 #6

Open
nobodysclown opened this issue May 23, 2019 · 2 comments

Comments

@nobodysclown
Copy link

/static/css/fonts/linecons/css/linecons.css 前面少了/public/

@FZWei-YYDS
Copy link

@h6fYe34KFSiH 请问下 你是在哪个平台上安装的?怎么安装的 求教。。。

@benjaminv
Copy link

benjaminv commented Oct 3, 2019

开发环境我必须装在根目录下。安装成功,也有登录页面(css文件路径不对),看了很久也不知道为什么登录不了。系统报错:
throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');

看了下dashboard-1.html(另外,为什么有两个dashboard文件)文件中环境参数,有两项不对,没有带上子目录:
比方说我的子目录为/erp/
完整的应该为:
PATH_INFO /erp/login/dashboard.html PATH_TRANSLATED /home/xxxxxxx/public_html/erp/login/dashboard.html
而当前为错误的:
PATH_INFO /login/dashboard.html PATH_TRANSLATED /home/xxxxxxx/public_html/login/dashboard.html
看了下这个Thinkphp 内核应该已经到了5以上,代码时间为201903, 五月份的时候TP官方还有人提子目录问题,并作者作了小改,不知道我咱们这个坑与之有没有关系,见:#实在找不到是哪个帖子了,找到了来更新。

看过的最类似的分析见:https://blog.csdn.net/devonliu/article/details/16818537
不过看年代2013,应该早修理掉了。无论如何我的子目录叫erp 并不跟app 什么的重名。

请bool1993大人抽空看一下。谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants