Closed mazharoddin closed 8 years ago
After this error site is become unusable with below error.
uninitialized constant CamaleonCms::Site
next unless app["path"].present?
s = File.join(app["path"], "config", "custom_models.rb")
eval(File.read(s)) if File.exist?(s)
}
end
camaleon_cms (1.0.6) app/helpers/site_helper.rb:124:in `eval'
camaleon_cms (1.0.6) app/helpers/site_helper.rb:124:in `eval'
camaleon_cms (1.0.6) app/helpers/site_helper.rb:124:in `block in site_load_custom_models'
Due to this error I am unable to access the site now
Hi @mazharoddin!
CamaleonCms::Site it's a constant of the camaleon_cms version 2. Please test with this camaleon_cms version.
Regards.
Hi Raul, Yes, I am using camaleon_cms version 2, but still I am getting same error. Thanks.
Hi Raulanatol, I could resolve this issue by adding version info in Gemfile like below
gem 'camaleon_cms', '~> 2'
Now issue got resolved, thank you.
Hi @mazharoddin!
Feels good to hear!
Regards.
Hi Raulanatol, Thanks for the help!! :)
I am getting below error if I use camaleon-ecommerce plugin 0.2
I installed this plugin as gem by adding to Gemfile, but 0.1 version plugin was working without any issues