Comments (13)
Hi @coupling,
Thanks for the error report. The help diagnose, could you post your gemfile please?
-Spencer
from spree_essential_blog.
source 'http://rubygems.org'
gem 'rails', '3.1.3'
gem 'mysql2'
group :assets do
gem 'sass-rails', '> 3.1.5'> 3.1.1'
gem 'coffee-rails', '
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'capistrano'
group :test do
gem 'turn', '~> 0.8.3', :require => false
end
gem 'spree', :git => 'git://github.com/spree/spree.git', :branch => '1-0-stable'
gem 'execjs'
gem 'therubyracer'
gem 'spree_essentials', '> 0.4.0'> 0.3.0.rc1'
gem 'spree_essential_blog', :git => 'git://github.com/citrus/spree_essential_blog.git'
gem 'spree_essential_cms', '
gem 'spree_imagezoom', :git => 'git://github.com/kunalchaudhari/spree_imagezoom.git'
gem 'spree_minicart', '0.0.2'
gem 'spree_store_credits', :git => 'git://github.com/spree/spree_store_credits.git'
gem "spree_address_book", :git => "git://github.com/romul/spree_address_book.git"
gem 'spree_gateway', :git => "git://github.com/spree/spree_gateway.git"
gem 'coffeebeans'
group :development do
gem 'active_reload'
end
from spree_essential_blog.
Similar issue when accessing /admin/pages:
Couldn't find Spree::Blog with permalink = admin/pages
Investigating.
from spree_essential_blog.
I've removed all the code that caused errors, and... admin/pages opened something completely unexpected, a post page with user page layout, not an admin one.
Looks like some migration issue from older spree_essential_cms.
from spree_essential_blog.
It seems to matter which order you install the spree_essentials in.
I'm getting the same error with spree 1.1.0 and spree essentials installed in this order:
- spree_essentials (0.5.0)
- spree_essential_cms (0.4.0)
- spree_essential_blog (0.1.0 8b324f8)
If you change the install order to essentials -> blog -> cms they seem to work fine together.
from spree_essential_blog.
further to the above post, it matters which order the gems are specified in your Gemfile
this works:
gem 'spree_essential_blog', :git => 'git://github.com/citrus/spree_essential_blog.git', :branch => 'master'
gem 'spree_essential_cms', '~> 0.4.0'
this doesn't:
gem 'spree_essential_cms', '~> 0.4.0'
gem 'spree_essential_blog', :git => 'git://github.com/citrus/spree_essential_blog.git', :branch => 'master'
(it gives the error @pirj mentioned when you try to use the cms admin pages)
from spree_essential_blog.
@the-quantum-mechanic Jim, really nice catch, thanks!
Anyway something went wrong and posting to blog (defined with permalink '/news2') shows "No posts'.
And just ANY wrong link shows "No posts" page instead of 404.
from spree_essential_blog.
Sorry for the breakage guys... The ability to create your own blogs & pages with custom paths starting from the root is causing lots of issues. If anybody has a better way to handle this type of routing please let me know as both the blog and CMS (and spree_retailers) are experiencing the same pitfalls.
Thanks!
-Spencer
from spree_essential_blog.
Perhaps @parndt has some insight from his refinery experience to help with the routing...
from spree_essential_blog.
Confirmed must use gem file order work around to work.
from spree_essential_blog.
I am alos getting same error for facebokk callbacks Couldn't find Spree::Blog with permalink = auth/facebook/callback
my gem order is
gem 'omniauth'
gem 'omniauth-facebook'
gem 'omniauth-oauth2'
gem 'spree_essential_blog', :git => 'git://github.com/citrus/spree_essential_blog.git', :branch => 'master'
gem 'spree_essential_cms', :git => 'git://github.com/citrus/spree_essential_cms.git', :branch => 'master'
from spree_essential_blog.
Still seeing this time to time
from spree_essential_blog.
+1
from spree_essential_blog.
Related Issues (11)
- Doesn't work with Spree 1.0.x HOT 5
- uninitialized constant SpreeEssentialBlog::Config HOT 5
- Can't mass-assign protected attributes: product_id, position
- Conflict with spree_wishlist plugin HOT 1
- List of blog posts not showing up on home page HOT 1
- Category show posts arn't ordered
- 1.2.x/1.3.x support HOT 2
- Don't find spree_essential_blog compatible version with Spree- 2.1 HOT 1
- markitup.css isn't precompiled HOT 4
- rss feed broken HOT 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 spree_essential_blog.