Error 500
Daniel Jiménez Torres
djimenez at politecnica.edu.co
Thu Jan 10 15:53:49 PST 2008
Hey, I change in config/boot.rb
this
root_path = File.join(File.dirname(__FILE__), '..')
to
root_path = '/var/lib/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid'
also I notice the database info was wrong, and it worked,
buy now I am testing my server but when I verify my identity it returns
error 500
thanks.
Checking http://myserver.com/rubytest/user/Daniel<http://devel.politecnica.edu.co/rubytest/user/Daniel>
...
Fetching http://myserver.com/rubytest/user/Daniel<http://devel.politecnica.edu.co/rubytest/user/Daniel>
Yadis links found at
http://myserver.com/rubytest/user/Daniel<http://devel.politecnica.edu.co/rubytest/user/Daniel>.
Your server is at http://myserver.com/rubytest/server.
Requesting an association from http://myserver.com/rubytest/server
kvToSeq warning: Does not end in a newline: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 1 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: In line 2, ignoring leading or trailing whitespace in key '
"http': '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 3 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 4 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 5 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 6 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 7 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
kvToSeq warning: Line 8 does not contain a colon: '<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"\n "
http://www.w3.org/TR/html4/loose.dtd">\n<html>\n<body>\n <h1>Application
error (Apache)</h1>\n <p>Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>\n</body>\n</html>'
openid.mode=associate: bad status code from server
http://myserver.com/rubytest/server: 500
Error in processing association: 'NoneType' object is unsubscriptable
2008/1/10, Kevin Turner <kevin at janrain.com>:
>
> On Wed, 2008-01-09 at 18:57 -0500, Daniel Jiménez Torres wrote:
> > When i run /script/server, it works at all, but in apache I allways
> > get Error 500, can somebody help me
> > When I run ruby -d ./dispatch.fcgi from console i get
> [...]
> > Status: 200 OK
>
> This looks like it is successful, does it not? I see no cause for a 500
> error in this output.
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
>
--
Desarrollador Junior 3D
Dirección de Tecnologías de la Información
Convenio Politécnica Nacional --- DOMO
llameme al (+57) 300 600 98 59
Skype at dfjimenezt
Gtalk dfjimenezto at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080110/65d2e5eb/attachment.html
More information about the Dev
mailing list