Comments (8)
ご利用のプラグインのバージョンを正確に把握したいので、実際にインストールされているMy Page Blocksプラグインの init.rb を貼り付けていただけますか。
from redmine_vividtone_my_page_blocks.
承知しました。
cat init.rb
require 'redmine'
Redmine::Plugin.register :redmine_vividtone_mypage_blocks do
name 'My Page Blocks plugin'
author 'MAEDA Go (FAR END Technologies)'
description 'Add some my page blocks'
version '1.2 (20120610)'
url 'http://blog.redmine.jp/articles/my-page-blocks-plugin/'
author_url 'http://twitter.com/g_maeda'
end
from redmine_vividtone_my_page_blocks.
プラグインが最新ではないようです。最新版は3行目が以下のようになっており、"my"と"page"の間に"_"が入っています。
https://github.com/vividtone/redmine_vividtone_my_page_blocks/blob/master/init.rb
Redmine::Plugin.register :redmine_vividtone_my_page_blocks do
最新版を取得していただきますようお願いします。
from redmine_vividtone_my_page_blocks.
申告バージョンの間違い失礼いたしました。大変申し訳ありません。
改めて最新版を取得しましたが症状が改善されませんでした。
最新版の取得方法はhttps://github.com/vividtone/redmine_vividtone_my_page_blocksのZIPボタンをクリックし、
取得したZIPファイルのディレクトリ「redmine_vividtone_my_page_blocks-master」をリネームせず、
redmineのpluginsフォルダにコピーしております。(ディレクトリ名「my_page_blocks」も試しました)
試したinit.rb です。
require 'redmine'
Redmine::Plugin.register :redmine_vividtone_my_page_blocks do
name 'My Page Blocks plugin'
author 'MAEDA Go (FAR END Technologies)'
description 'Add some my page blocks'
version '1.2 (20120610)'
url 'http://blog.redmine.jp/articles/my-page-blocks-plugin/'
author_url 'http://twitter.com/g_maeda'
end
該当 log/production.log です。
Started GET "/redmines/my/page_layout" for 192.168.1.7 at 2013-05-24 12:48:16 +0900
Processing by MyController#page_layout as HTML
Current user: test2 (id=4)
Rendered my/_block.html.erb (1.9ms)
Rendered my/page_layout.html.erb within layouts/base (4.1ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.1ms)
Completed 404 Not Found in 21ms (Views: 6.8ms | ActiveRecord: 1.1ms)
from redmine_vividtone_my_page_blocks.
ディレクトリ名を redmine_vividtone_my_page_blocks としてみてください。
プラグインのディレクトリ名は、init.rb内の Redmine::Plugin.register に渡している名前と一致しなければならないようです。
from redmine_vividtone_my_page_blocks.
プラグイン名を「redmine_vividtone_my_page_blocks」に変更しhttpdを再起動したところ症状が解消されました。
バグでないのに対応頂きありがとうございます。
from redmine_vividtone_my_page_blocks.
無事動作したとのこと、安心しました。
ご利用ありがとうございます!
from redmine_vividtone_my_page_blocks.
同様のエラーになり、こちらの対応を参考に無事解決できました。ありがとうございます。
from redmine_vividtone_my_page_blocks.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_vividtone_my_page_blocks.