Couldn't access to Admin console

282 views
Skip to first unread message

Diego Andrés Ramírez Aragón

unread,
Jan 22, 2013, 12:48:37 PM1/22/13
to catar...@googlegroups.com
Hi,

I'm trying to play with catarse on my devel machine but I couldn't:

1) Send a project proposal
2) Enter to admin console

When I tried to submit a new project I can run the whole process, but
when I make the last submit it returns to the projects new form
without styles, and nothing seems to be stored at the database.

On another hand when I tried to access admin console I get the
following message:

The page you were looking for doesn't exist.

I ran
bundle exec rake routes

And no admin route is showed there. There is some urls like
adm/projects, adm/backers, etc. But when I acceess to them they don't
look like the activeadmin console that I heard console uses.

Any hints?

Thanks,

--
Att:
Diego Ramirez
http://lowfill.org
http://www.flickr.com/photos/lowfill
http://www.twitter.com/lowfill

Lowfill Tarmak

unread,
Jan 22, 2013, 12:49:48 PM1/22/13
to catar...@googlegroups.com

Lowfill Tarmak

unread,
Jan 25, 2013, 10:02:20 AM1/25/13
to catar...@googlegroups.com
Can anyone help me with this issue?

I'm stuck with the development of catarse and frankly I'm not sure
where to look for start.

Thanks for any help.
--
Att:
Diego Ramirez (aka 'on Low)

Diogo Biazus

unread,
Jan 30, 2013, 2:10:59 PM1/30/13
to catar...@googlegroups.com
Have you tried with the last version in master branch, this seems to be a bug we have already fixed.
--
Diogo Biazus - di...@engage.is
Twitter: @dbiazus

Tina Gong

unread,
Feb 6, 2013, 6:05:13 PM2/6/13
to catar...@googlegroups.com, di...@engage.is
Hey all,

I'm having the same issue.

I just downloaded and updated my version with the master branch - and I'm still seeing that the admin doesn't exist?

Would appreciate the help. Thanks!

LuxNova

unread,
Feb 7, 2013, 1:31:23 AM2/7/13
to catar...@googlegroups.com, di...@engage.is
The admin section, previously ran with Active Admin, has been removed from Catarse. So there is no admin section. Projects should be able to be created using projects/new and then approved (when you've created an admin user) in projects/pending

If you're having problems getting your project created in project new, and it's not being saved to the database, be sure to check for errors in log/development.log at the timestamp you last created the new project call.

Diogo Biazus

unread,
Feb 7, 2013, 9:09:03 AM2/7/13
to catar...@googlegroups.com
Also remark that if your user is an admin he will me able to access the adm/projects and other adm controllers that replaced the activeadmin.


--
You received this message because you are subscribed to the Google Groups "Catarse Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to catarse-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tina Gong

unread,
Feb 7, 2013, 9:46:17 AM2/7/13
to catar...@googlegroups.com, di...@engage.is
Thanks for the responses everyone - my issue is that I made a clean install of catarse, and I don't have categories set up. As far as I know, categories were created using the active admin panel that was removed, right?

I can't create a new project without creating a category first (I think?) since the dropdown menu currently is empty and I can't select anything.

Otherwise I can see all the other /adm/... pages just fine.

Adriano Benin

unread,
Feb 7, 2013, 11:02:22 AM2/7/13
to catar...@googlegroups.com, di...@engage.is
Categories are defined in the db/seeds.rb file. Run 'rake db:seed' to create them.

LuxNova

unread,
Feb 7, 2013, 4:10:37 PM2/7/13
to catar...@googlegroups.com, di...@engage.is
Also, I gave wrong info..projects/pending is NOT available - What Diogo says - to approve your project after creating using projects/new, as ADMIN user, go to adm/projects and you should be able to use the drop-down toggle near the 'State' heading.

Problem is the drop down isn't working and cannot move from draft to approve.

.btn-group
                      = link_to 'javascript:void(0);', :class => 'btn btn-mini dropdown-toggle', :"data-toggle"=> "dropdown" do
                        b.caret
                      ul.dropdown-menu
                        - if project.can_approve?
                          li
                            = link_to approve_adm_project_path(project), :method => :put do
                              i.icon-ok
                              = 'Aprovar!'

                        - if project.can_reject?
                          li
                            = link_to reject_adm_project_path(project), :method => :put  do
                              i.icon-ban-circle
                              = 'Rejeitar!'

                        - if project.can_push_to_draft?
                          li
                            = link_to  push_to_draft_adm_project_path(project), :method => :put  do
                              i.icon-trash
                              = 'Mandar para DRAFT!'

How can I trigger the "can_approve" function to get the page to show the dropdown options? I can find can_approve or can_reject in the project.rb

Also, am I wrong in thinking that in the 'link_to' call there should be a "Link" before the Javascript void?
link_to 'LINK, javascript:void(0);',

Tina Gong

unread,
Feb 7, 2013, 4:25:02 PM2/7/13
to catar...@googlegroups.com, di...@engage.is
Yay, thanks so much!

Sameer Raja

unread,
Jun 18, 2017, 3:42:57 PM6/18/17
to Catarse Dev, di...@engage.is
Hi, I recently set up Catarse, and I am facing the same issue. I can't create projects due to empty category list. However, when I go to projects/new, I can see the category list and create a project. But when I access admin/projects it shows 0 projects. Need some help on this issue. 

Thanks,
Sam
Reply all
Reply to author
Forward
0 new messages