List Info

Thread: Site works- Admin fails




Site works- Admin fails
user name
2006-10-29 22:26:13
Fresh install of 0.7:
DB:mysql
OS:window xp
freezed rails:5218

When going to the url:
http://localhost:3444/adm
in page is generated withouth login / pwd
fields (see below)
Help appricated.

Log:
rocessing OverviewController#index (for 127.0.0.1 at
2006-10-29
23:24:58) [GET]
  Session ID: 7020dc6c43940262558c2c9286295395
  Parameters: {"action"=>"index",
"controller"=>"admin/overview"}
  Site Columns (0.000000)   SHOW FIELDS FROM sites
  Site Load (0.000000)   SELECT * FROM sites WHERE
(sites.`host` =
'localhost' ) LIMIT 1
  Site Load (0.000000)   SELECT * FROM sites ORDER BY id
LIMIT 1
  User Load (0.000000)   SELECT distinct users.*,
memberships.admin as
site_admin FROM users left outer join memberships on
users.id =
memberships.user_id WHERE (users.deleted_at IS NULL OR
users.deleted_at
> '2006-10-29 22:24:58') AND (users.login = '' and
(memberships.site_id = 1 or users.admin = 1)) ORDER BY
users.login LIMIT 1
Redirected to http://localhost:
3444/account/login
Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:
0x4922fa8
position=nil, excluded_actions_hash={}, filter=:login_required,
excluded_actions=[]>] returned false.
Filter chain halted as [:login_required] did not yield.
Filter chain halted as [:login_from_cookie] did not yield.
Filter chain halted as
[#<Proc:0x0447b98c./script/../config/../app/controllers/admin/base_cont
roller.rb:5>]
did not yield.
Filter chain halted as [:set_cache_root] did not yield.
Completed in 0.12500 (8 reqs/sec) | DB: 0.00000 (0%) | 302
Found
[http://localhost/admin]


Processing AccountController#login (for 127.0.0.1 at
2006-10-29
23:24:58) [GET]
  Session ID: 7020dc6c43940262558c2c9286295395
  Parameters: {"action"=>"login",
"controller"=>"account"}
  Site Columns (0.000000)   SHOW FIELDS FROM sites
  Site Load (0.000000)   SELECT * FROM sites WHERE
(sites.`host` =
'localhost' ) LIMIT 1
  Site Load (0.000000)   SELECT * FROM sites ORDER BY id
LIMIT 1
Rendering  within layouts/simple
Rendering account/login
Completed in 0.31300 (3 reqs/sec) | Rendering: 0.01600 (5%)
| DB:
0.00000 (0%) | 200 OK [http://localhost/accou
nt/login]



Generated html:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transiti
onal.dtd">
<html xmlns="http://www.w3.
org/1999/xhtml">
  <head>
    <meta http-equiv="Content-type"
content="text/html; charset=utf-8"
/>
    <title>Mephisto: account Admin</title>
    <link
href="/stylesheets/mephisto/fullscreen.css?1157742377&q
uot;
media="screen" rel="Stylesheet"
type="text/css" />
    <script
src="/javascripts/mephisto/prototype.js?1158519468"
;
type="text/javascript"></script>
<script
src="/javascripts/mephisto/effects.js?1158519468"
type="text/javascript"></script>
<script
src="/javascripts/mephisto/lowpro.js?1158500337"
type="text/javascript"></script>
<script
src="/javascripts/mephisto/application.js?1159674495&qu
ot;
type="text/javascript"></script>
  </head>
  <body id="body-account">

      <!-- div.header -->
      <div id="header">
        <h1><a href="/admin"
title="Mephisto admin">Mephisto &mdash;
Admin</a></h1>
      </div>
      <!-- /div.header -->

    <div id="container">

      <!-- div.content -->
      <div id="fullscreen">
        <div id="flash-errors"
style="display: none;"></div>
        <div id="flash-notice"
style="display:none"></div>

        <!-- div.left -->
        <div id="main">
          <div class="little-box">
</div>

        </div>
        <!-- /div.left -->

      </div>
      <!-- /div.content -->
      
    </div>
  </body>
</html>


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

Site works- Admin fails
user name
2006-10-30 07:44:01
I had this problem as well, on Ubuntu.

Upgrading to edge Rails fixed it.


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

Site works- Admin fails
user name
2006-10-30 07:44:01
I had this problem as well, on Ubuntu.

Upgrading to edge Rails fixed it.


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

Site works- Admin fails
user name
2006-10-30 08:23:52
with edge rails i get the mysql issue....

/K


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

Site works- Admin fails
user name
2006-10-30 08:40:55
Oh thanks it worked now, wierd!

/K


--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

Site works- Admin fails
user name
2006-10-30 14:49:13
On 10/30/06, Kvark <piotr.fernandezgmail.com> wrote:
>
> Oh thanks it worked now, wierd!

the mysql issue was a rails bug and was fixed.

-- 
Rick Olson
http://weblog.techno-
weenie.net
http://mephistoblog.com

--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

Site works- Admin fails
user name
2006-10-30 14:49:13
On 10/30/06, Kvark <piotr.fernandezgmail.com> wrote:
>
> Oh thanks it worked now, wierd!

the mysql issue was a rails bug and was fixed.

-- 
Rick Olson
http://weblog.techno-
weenie.net
http://mephistoblog.com

--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com

To post to this group, send email to MephistoBloggooglegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )