Closed mushfique closed 14 years ago
You mean in the Refinery backend or the website frontend?
Also which version of Refinery?
The installation process was followed as instructed: $ script/plugin install git://github.com/resolve/refinerycms-portfolio.git
$ rake refinery:portfolio:install
$ rake db:migrate
$ rake images:regenerate
The output of 'rake images:regenerate' command is: [Preparing to delete 0 generated thumbnails
--> 0 thumbnails deleted
Preparing to regenerate thumbnails for 0 images Image regeneration complete.]
Then running the server and clicking on the portfolio tab shows the page not found page
Refinery version?
I have setup the Refinery 2 weeks ago. Is there a way to find which version of Refinery is installed in my application?
The error occurs at Refinery backend
Yes, look at the file called VERSION if you cloned from git or run script/console and type Refinery.root and see the version at the end of the path if you're a gem user
if you script/plugin installed the plugin then you'll need to rename the folder to "portfolio" from "refinerycms-portfolio" -- this is to be fixed.
VERSION file: 0.9.7.dev
The folder is already named as "refinerycms-portfolio" under vendor->plugins
Yes, i'm saying rename it from refinerycms-portfolio to just portfolio
Renaming done. Then running the server and clicking on the porfolio tab from the Refinery backend shows the following error:
ActiveRecord::StatementInvalid in Admin/portfolio entriesController#index
Mysql::Error: Table 'project_development.portfolio_entries' doesn't exist: SHOW FIELDS FROM portfolio_entries
Do I need to do anything now in the DB?
Yeah, rake db:migrate but if that fails then we may need to start generating the migrations differently..
rake db:migrate is done again, but it still shows the same error. Do you need the Application Trace of the error? Or, is there any other way I can generate the migrations?
I'll rework the migrations and get back to you..
Thanks :)
Fixed with commit
Thanks, it works now, You're a great help :). Now I can create portfolios, but can't add images to that, even from the existing images. Should I create a new issue for this? Or, is there anything I'm still missing?
did you run
rake refinery:portfolio:install force=true
?
It works now! I previously used: rake refinery:portfolio:install --force Thanks again for your great help :)
Using the news plugin with portfolio creates problem from my side. I have created an issue in: http://github.com/resolve/refinerycms-news/issues/issue/3
Thanks for solving the issue with news. I have two issue regarding portfolio.
You are right about the 'New Image' option. From my side, it doesn't work even in the 'Create New Page' section. Maybe, an update of refinery would fix this.
But, hovering on any image shows a hand icon instead of the regular arrow icon, but I can't find any delete button anywhere.
Btw, I can reorder the images with the hand icon.
Recommend you update your refinery to a version where the dialogue works first before debugging the other issue.
Also having the same issue as above (getting non-standard cursor, allowed to re-order, but not delete).
The non-standard "hand" cursor is intended to show you that you can drag..
So I guess this confirms the issue with the delete being missing though, which is very strange. Can you try a forced reload (control+shift+f5 on most systems) to get the right js/css ? Do you have the same javascript and stylesheet files as we do in the repository?
Did the forced reload and still nothing. Checked on all my browsers (FireFox 3.6.6, Opera 9.64, and some flavor of IE).
I understand what the cursor is supposed to represent, but is there any particular reason that it strays from the typical Refinery style of clicking a 'reorder' button (such as on the plugin tabs, reordering pages, etc).
My CSS/JS are current as of the latest commit.
Fixed with commit and have released a new gem 0.9.7
So small we missed it.
After installing portfolio, when I click at the portfolio tab, it shows the page not found page! Anything missing there?