Ruby

Moderators: None (Apply to moderate this forum)
Number of threads: 37
Number of posts: 70

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
server 500 error Posted by hunter86 on 7 Feb 2009 at 7:21 AM
Hello,
I have problem that I will try to explain I am a web designer not a developer I will do my best, I have run into some issues with this script I have a template of a system to sell hosting alongside my web design, I have moved some of the code from the index.rhtml to the header.rhtml and also to a new separate page so the login is on its own page. I now receive server 500 error when trying to log in .Once the attempt to log in has been made you recieve internal server error 500 but if you direct back to home url you have actually been logged in. It also happens when creating a new account although the log in and new sign up are successfulyou are directed to a page called front-page.rhtml this is where the error is coming from. The login code is below
<% if !logged_in? %>
<h2>Log In</h2>
<form accept-charset='utf-8' method='post' action='login'>
<p>Email Address: <input type='text' size='30' name='username'/></p>
<p>Password: <input type='password' size='30' name='password'/></p>
<p><input type='submit' value='Log in'/></p>
</form>
<p>(Click <a href='password-reminder'>here</a> if you have forgotten your password)</p>
<% else %>
<p>Hello <%= contact.name %>. (<a href='logout'>log out</a>)</p>
<% end %>

the only code on the front-page is
<% else %>

I guess there is a script file somewhere on the server which has the directives of where the code should be executed from? which is causing this error to occur as its coming from the wrong place I hope somebody could advise me or point me in the right direction. I did have similar problem before on and different piece of code and placing
<%= url_prefix %>
on the get action did the job not this time though
many thanks
dan

Report
Re: server 500 error Posted by vangore on 14 Jun 2012 at 9:34 PM
06New York Asian Escort [url=http://www.myescort4you.com]New York Escort[/url] Models are young, sexy, personable, beautiful, charming [url=http://www.myescort4you.com]New York Escorts[/url] and fun-loving. [url=http://www.myescort4you.com]New York Asian Escort[/url] These are just a few of the compliments that our ladies have received. You will find [url=http://www.myescort4you.com]New York Asian Escorts[/url] that any of our models is a great company to your business events,vacations or an escort to any of youghout New York areas.
tel: 888-249-8544
s desc:New York Escort And Asian Escorts 4 You Net. Agency-Asian Cuties is based in New York and Offering top quality Escort Service throughout New York areas.



 

Recent Jobs