密码恢复不会加载任何内容 link
Nothing will load on the password recovery link
我为用户创建了密码恢复功能。因此,当用户进入正常网站 www.foobar.com/passwordRecovery 时,用户可以请求一个新的 link 来更改其密码。然后,用户将收到一封包含 link 的电子邮件,该电子邮件已加密,看起来像这样 www.foobar.com/passwordRecovery/crypted msg/。问题是当用户点击这个 link none 的 javascript 或 css 被加载。它只有 html。为什么会这样?我在控制台中收到错误代码
stylesheet http://localhost/password_retrival/passwordRetrival.inc.php/jquery-ui-1.11./jquery-ui.css loaded as CSS even if its MIME-typ, ”text/html”, is not ”text/css”.
Expecting a selector . Rule Set ignored due . invalid selector
The stylesheet http : //localhost/password_retrival/passwordRetrival.inc.php/passwordRetrivalStyle.css loaded as CSS even though its MIME type , " text / html " , is not " text / css " .
像这样在 HTML 中定义 css:
<link href="http://localhost/password_retrival/passwordRetrival.inc.php/jquery-ui-1.11./jquery-ui.css" rel="stylesheet" type="text/css" />
我为用户创建了密码恢复功能。因此,当用户进入正常网站 www.foobar.com/passwordRecovery 时,用户可以请求一个新的 link 来更改其密码。然后,用户将收到一封包含 link 的电子邮件,该电子邮件已加密,看起来像这样 www.foobar.com/passwordRecovery/crypted msg/。问题是当用户点击这个 link none 的 javascript 或 css 被加载。它只有 html。为什么会这样?我在控制台中收到错误代码
stylesheet http://localhost/password_retrival/passwordRetrival.inc.php/jquery-ui-1.11./jquery-ui.css loaded as CSS even if its MIME-typ, ”text/html”, is not ”text/css”.
Expecting a selector . Rule Set ignored due . invalid selector
The stylesheet http : //localhost/password_retrival/passwordRetrival.inc.php/passwordRetrivalStyle.css loaded as CSS even though its MIME type , " text / html " , is not " text / css " .
像这样在 HTML 中定义 css:
<link href="http://localhost/password_retrival/passwordRetrival.inc.php/jquery-ui-1.11./jquery-ui.css" rel="stylesheet" type="text/css" />