<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'server 500 error' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'server 500 error' posted on the 'Ruby' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 15:27:36 -0700</pubDate>
    <lastBuildDate>Tue, 18 Jun 2013 15:27:36 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>server 500 error</title>
      <link>http://www.programmersheaven.com/mb/ruby/385367/385367/server-500-error/</link>
      <description>Hello, &lt;br /&gt;
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&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&amp;lt;% if !logged_in? %&amp;gt;
&amp;lt;h2&amp;gt;Log In&amp;lt;/h2&amp;gt;
&amp;lt;form accept-charset='utf-8' method='post' action='login'&amp;gt;
&amp;lt;p&amp;gt;Email Address: &amp;lt;input type='text' size='30' name='username'/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;Password: &amp;lt;input type='password' size='30' name='password'/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;input type='submit' value='Log in'/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;p&amp;gt;(Click &amp;lt;a href='password-reminder'&amp;gt;here&amp;lt;/a&amp;gt; if you have forgotten your password)&amp;lt;/p&amp;gt;
&amp;lt;% else %&amp;gt;
&amp;lt;p&amp;gt;Hello &amp;lt;%= contact.name %&amp;gt;. (&amp;lt;a href='logout'&amp;gt;log out&amp;lt;/a&amp;gt;)&amp;lt;/p&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
the only code on the front-page is &lt;pre class="sourcecode"&gt;&amp;lt;% else %&amp;gt;&lt;/pre&gt;&lt;br /&gt;
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 &lt;pre class="sourcecode"&gt;&amp;lt;%= url_prefix %&amp;gt;&lt;/pre&gt;  on the get action did the job not this time though&lt;br /&gt;
many thanks&lt;br /&gt;
dan&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/385367/385367/server-500-error/</guid>
      <pubDate>Sat, 07 Feb 2009 07:21:28 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Re: server 500 error</title>
      <link>http://www.programmersheaven.com/mb/ruby/385367/428805/re-server-500-error/#428805</link>
      <description>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.&lt;br /&gt;
tel: 888-249-8544&lt;br /&gt;
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.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/385367/428805/re-server-500-error/#428805</guid>
      <pubDate>Thu, 14 Jun 2012 21:34:26 -0700</pubDate>
      <category>Ruby</category>
    </item>
  </channel>
</rss>