Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7906377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:55:37+00:00 2026-06-03T10:55:37+00:00

EDIT: I feel so stupid, I wasn’t merging my branches properly with git. Like

  • 0

EDIT: I feel so stupid, I wasn’t merging my branches properly with git. Like I said, I am quite new to programming and am prone to these types of errors. I appreciate the help, though.

I am on ch. 7 of the Rails by Example book, where I created a basic “Sign up” form. When I submit the form on my localhost, it works properly by directing me to either

LOCALHOST/new (back to sign up page, registration info error) or LOCALHOST/show (user profile, success).

When I push this same app to heroku and hit the submit button, it always leads me to this url:

appname.heroku.com/form_action.asp?fname=&email=&password=&password= which tells me
“The page you were looking for doesn’t exist. You may have mistyped the address or the page may have moved.”

Instead of appname.heroku.com/new or /show.

I am so confused, I am a beginner programmer and it boggles my mind why things work so perfectly on the localhost but not on the production server. Please help!

My code is on github:
https://github.com/Chamza/Sample-App2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T10:55:43+00:00Added an answer on June 3, 2026 at 10:55 am

    Are you running the ‘cedar’ stack on Heroku? I believe the url should be appname.herokuapp.com — not appname.heroku.com. Since your code in github is based using rails 3.2.1, you should be using the cedar stack.

    Here’s some information on the cedar stack from heroku: https://devcenter.heroku.com/articles/cedar

    Also, can you run heroku logs --tail --app my-app-name and then post what happens when you click the link? That’s known as ‘tailing the log’ and it will give you real-time output of what’s happening.

    EDIT***

    I looked at your code and I can see that at least one problem is the form you’re using has:

    <% provide(:title, 'Sign up') %>
    <div style = "width: 200px; margin: 0 auto;">
      <form  action="form_action.asp" method="get">
        <h1>Sign up</h1>
        <p align="left">Name:</p>
        <input type="text" name="fname" />  
        <p>Email:</p>
        <input type="text" name="email" />
        <p>Password:</p> 
        <input type="password" name="password" />
        <p>Password Confirmation:</p>
        <input type="password" name="password" /> 
        <br/>
        <input type="submit" value="Submit" />
      </div>
    </form>
    

    There are a few errors in the form. First, the action is to form_action.asp. That looks like it came from an old project. Second, the end </div> and </form> tags are switched — the form tag should be before the div tag.

    <% provide(:title, 'Sign up') %>
    <div style = "width: 200px; margin: 0 auto;">
      <form  action="form_action.asp" method="get">
        <h1>Sign up</h1>
        <p align="left">Name:</p>
        <input type="text" name="fname" />  
        <p>Email:</p>
        <input type="text" name="email" />
        <p>Password:</p> 
        <input type="password" name="password" />
        <p>Password Confirmation:</p>
        <input type="password" name="password" /> 
        <br/>
        <input type="submit" value="Submit" />
      </div>
    </form>
    

    It’s likely that your local machine has different code on it than what you have deployed on Heroku. I’d check carefully — do a heroku releases --app my-app and it will tell you what the latest git commit is on the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Feel free to edit the title, engrish can sometimes confuse instead of help. I
Edit This question has gone through a few iterations by now, so feel free
Sorry for bumpy topic name (feel free to edit if you find more fitting
Sorry if this question will sound too chaotic, feel free to edit it. I
Not entirely sure of a good title for this, feel free to edit it
I feel stupid for not being able to find this, but where is the
I'm starting to feel stupid. I'm following the Facebook-Connect demo The Run Around. At
I feel so stupid, but I can't find the error... Thanks. $l_sSql = 'INSERT
I feel pretty stupid for asking this, but I'm doing a form where the
EDIT: Solved it! I made stupid mistake, I had a textureId I'd forgotten about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.