#运算符通常用于在HTML代码中引用锚点。例如:
<a href="http://www.example.com/mypage.html#myanchor">
Open mypage.html and auto scroll down to myanchor
</a>
我已经创建了一个包含所谓的的pdf。其中一个目的地名为mydestination。我想深入链接到这个目的地,并编写以下代码:
<a href="http://www.example.com/mydoc.pdf#mydestination">
Open m
我正在尝试在我的Ubuntu机器上本地安装一个实时的wordpress站点。一切正常,除了网站的一部分,我相信是建立在YII框架上的。
当我将浏览器指向时,在我的apache2错误日志中得到以下错误:
[Sat Jan 18 23:35:55 2014] [error] [client 127.0.0.1] PHP Warning: require_once(/home/ross/public_html/000-wordpress/public/app/../vendors/yii/framework/yii.php): failed to open stream: No such file
这是我的路线文件:
resources :locations do
resources :comments
end
控制员:
class CommentsController < InheritedResources::Base
def index
@commentable = find_commentable
@comments = @commentable.comments.where(:company_id => session[:company_id])
end
def show
我的回形针上传在制作中似乎有问题。我已经部署到AWS中。以下是我在试图为用户上传图像时所收到的错误。
Started GET "/" for 127.0.0.1 at 2013-10-02 19:40:48 +0000
Processing by PagesController#home as */*
Rendered pages/home.html.erb within layouts/application (1.1ms)
Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms | Solr: 0.0ms)