Coder Social home page Coder Social logo

Comments (13)

citrus avatar citrus commented on September 15, 2024

Hi @coupling,

Thanks for the error report. The help diagnose, could you post your gemfile please?

-Spencer

from spree_essential_blog.

coupling avatar coupling commented on September 15, 2024

source 'http://rubygems.org'

gem 'rails', '3.1.3'
gem 'mysql2'

group :assets do
gem 'sass-rails', '> 3.1.5'
gem 'coffee-rails', '
> 3.1.1'
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'
gem 'spree_essential_blog', :git => 'git://github.com/citrus/spree_essential_blog.git'
gem 'spree_essential_cms', '
> 0.3.0.rc1'

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.

pirj avatar pirj commented on September 15, 2024

Similar issue when accessing /admin/pages:
Couldn't find Spree::Blog with permalink = admin/pages
Investigating.

from spree_essential_blog.

pirj avatar pirj commented on September 15, 2024

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.

j1mr10rd4n avatar j1mr10rd4n commented on September 15, 2024

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.

j1mr10rd4n avatar j1mr10rd4n commented on September 15, 2024

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.

pirj avatar pirj commented on September 15, 2024

@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.

citrus avatar citrus commented on September 15, 2024

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.

citrus avatar citrus commented on September 15, 2024

Perhaps @parndt has some insight from his refinery experience to help with the routing...

from spree_essential_blog.

dandyhat avatar dandyhat commented on September 15, 2024

Confirmed must use gem file order work around to work.

from spree_essential_blog.

vishalzambre avatar vishalzambre commented on September 15, 2024

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.

pirj avatar pirj commented on September 15, 2024

Still seeing this time to time

from spree_essential_blog.

baraka2000 avatar baraka2000 commented on September 15, 2024

+1

from spree_essential_blog.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.