Here is the full error page text:
***START***
ActionController::RoutingError in Admin/users#index
Showing C:/Sites/ffcrm/app/views/layouts/_tabbed.html.haml where line
#5 raised:
No route matches {:controller=>"admin/bananas"}
Extracted source (around line #5):
2: %ul
3: - tabs.each do |tab|
4: %li
5: = link_to(tab[:url], :class => tab[:active] ? "active" :
"") do
6: - unless request.fullpath.include?("/admin")
7: - img_base_path = "tab_icons/
#{tab[:text].to_s.downcase.sub(/^tab_/, '')}"
8: - if File.exists?(Rails.root.join("public/images/
#{img_base_path}.png"))
Trace of template inclusion: app/views/layouts/admin/
application.html.haml
Rails.root: C:/Sites/ffcrm
Application Trace | Framework Trace | Full Trace (I will break up
single lines with returns)
app/views/layouts/_tabbed.html.haml:5:in `block in
_app_views_layouts__tabbed_html_haml___599935247_52594476_37825934'
app/views/layouts/_tabbed.html.haml:3:in `each'
app/views/layouts/_tabbed.html.haml:3:in
`_app_views_layouts__tabbed_html_haml___599935247_52594476_37825934'
app/views/layouts/admin/application.html.haml:20:in
`_app_views_layouts_admin_application_html_haml___95155032_55233732_1036653241'
app/controllers/admin/users_controller.rb:27:in `index'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
***END***
I can also provide the session and env dump's if necessary.
Thanks!
-Kenny
Sorry about that, the original crm_sample_tabs plugin is currently
broken. We do need to fix all of our available plugins, or at least
add warning messages to their README files.
In the meantime, we have recently fixed a fork of this plugin for
another user. Please try out the fixed plugin here:
https://github.com/cpelon/crm_sample_tabs
Thanks,
Nathan
> --
> You received this message because you are subscribed to the Google Groups "Fat Free CRM Users" group.
> To post to this group, send email to fat-free-...@googlegroups.com.
> To unsubscribe from this group, send email to fat-free-crm-us...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fat-free-crm-users?hl=en.
>
***START***
ActiveRecord::StatementInvalid in Products#index
Showing c:/Sites/ffcrm/vendor/plugins/crm_sample_tabs/app/views/
products/index.html.haml where line #13 raised:
PGError: ERROR: relation "products" does not exist
LINE 4: WHERE a.attrelid = '"products"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"products"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
Extracted source (around line #13):
10: .remote#create_product{ hidden }
11:
12: .list#products
13: - if @products.any?
14: = render @products
15: - else
16: = render "shared/empty"
Rails.root: c:/Sites/ffcrm
Application Trace | Framework Trace | Full Trace
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
***END***
I can provide the framework/full trace or the session/env dump's.
This could be an instance of me not quite understanding how the plugin
works. To me that error is saying that there is no products page
available to display. I don't see where I can go to create a new tab
or product page. I am also curious as to what the Settings and
Plugins tabs are in the admin section of the CRM. And last but not
least, I cannot create new leads. When I click either of the create
lead links, nothing ever happens.
If this is too many questions for one posting, please let me know.
Thanks again!
Kenny
> > `_app_views_layouts_admin_application_html_haml___95155032_55233732_1036653241'
Thanks again,
Kenny
Thanks again.
Kenny
On Nov 30, 5:49 pm, Nathan Broadbent <nathan....@gmail.com> wrote:
> Hi Kenny,
>
I have scrapped using Windows, and have successfully setup and
configured an Linux (Ubuntu) server. I am having a different issue
with the crm_sample_tabs plugin. I got it installed properly, and
when I tried creating a new product, but now when I go to the
Product's tab and try to display it, it give me this error:
***START***
ActiveRecord::RecordNotFound in ProductsController#index
Couldn't find ProductCategory without an ID
Rails.root: /home/scapeadmin/Sites/ffcrm
***END***
I know that it is throwing this error because the product that I tried
to create doesn't have an ID. I don't recall creating an ID when I
was attempting to create this product. However I may not be
remembering correctly. I have tried uninstalling the plugin. However
after reinstalling it, it doesn't appear that the database had
anything modified on it, so when I go to reinstall the plugin again, I
am stuck with the same error. Any help you could lend would be of
great help.
Thanks!
Kenny
On Dec 1, 7:12 pm, Nathan Broadbent <nathan....@gmail.com> wrote:
> Hi Kenny,
>
> That doesn't seem to be an error from Fat Free CRM, in fact, it sounds very
> much like a Windows error. Perhaps that is not a valid windows command.
> Maybe you could try running the command with quotes
> around "db:migrate:plugins" ?
>
> Here's a blog post that might shed some light on your situation: Rake
> gotcha on windows<http://instantbadger.blogspot.com/2008/04/rake-gotcha-on-windows.html>
Thanks,
Kenny
> > > > > To post to this group, send email to...
>
> read more »
Regards,
Kenny
On Dec 13, 11:42 am, Nathan Broadbent <nathan....@gmail.com> wrote:
> Hi Kenny,
>
> > > > 37825934'...
>
> read more »