473,394 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

"Object not found!" error

Whenever I click the SUBMIT button in my HTML page, I get the "Object not found!" error. It was working fine yesterday. This error started to occur after I installed Codelobster and made some changes to the php file CheckLogin.php.

This is a small part of the HTML page with the button:

<div id="page_forms">

<!-- Start of User Login -->

<div id="userlogin">

<div id="userlogin_header">
<h2><span>User Login</span></h2>
</div>

<form name="LoginForm" method="post" action="CheckLogin.php">

<div id="field_username">
<strong><span>Log in:</span></strong>
<input name="Username" type="text" id="Username"/>
</div>

<div id="field_password">
<strong><span>Password:</span></strong>
<input name="Password" type="text" id="Password"/>
</div>

<div id="button_enter">
<input type="image" src="images/userlogin_enter.gif" alt="Enter" class="button" />
</div>

</form>

<div id="userlogin_links">
<a href="yet to decide" id="register"><strong><span>Register >>></span></strong></a>
<br />
<a href="yet to decide/" id="notregister"><strong><span>Not Registered Yet?</span></strong></a>
</div>

</div>
When I enter the username and password and click on the Submit button, I get the error:
Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
03/15/08 16:21:33
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
Plase help me on this.

Thanks.
Mar 15 '08 #1
8 3224
satas
82
Make sure that CheckLogin.php is in the same directory as html page with the form.
Mar 15 '08 #2
Markus
6,050 Expert 4TB
Whenever I click the SUBMIT button in my HTML page, I get the "Object not found!" error. It was working fine yesterday. This error started to occur after I installed Codelobster and made some changes to the php file CheckLogin.php.

This is a small part of the HTML page with the button:



When I enter the username and password and click on the Submit button, I get the error:


Plase help me on this.

Thanks.
Hmm, what code changes did you make to CheckLogin.php?
Mar 15 '08 #3
Found out the error. I was using header("location:index.html"); instead of header("location:index.htm");
The problem got solved once I made this change.
Mar 15 '08 #4
Markus
6,050 Expert 4TB
Found out the error. I was using header("location:index.html"); instead of header("location:index.htm");
The problem got solved once I made this change.
Glad you got it fixed.

Regards.
Mar 15 '08 #5
satas
82
Found out the error. I was using header("location:index.html"); instead of header("location:index.htm");
The problem got solved once I made this change.
It is recommended to use absolute URI in this header:
http://www.faqs.org/rfcs/rfc2616
Mar 15 '08 #6
It is recommended to use absolute URI in this header:
http://www.faqs.org/rfcs/rfc2616
Thanks for the input satas. Since I'm developing the page for my practise, I've used relative URL.
Mar 15 '08 #7
Markus
6,050 Expert 4TB
It is recommended to use absolute URI in this header:
http://www.faqs.org/rfcs/rfc2616
Relative urls dont hurt anyone.
Mar 15 '08 #8
satas
82
Relative urls dont hurt anyone.
Keeping in mind standards too.
Mar 15 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
2
by: Gregory | last post by:
Hi, One of the disadvantages of using error handling with error codes instead of exception handling is that error codes retuned from a function can be forgotten to check thus leading to...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Manuel | last post by:
I'm trying to compile glut 3.7.6 (dowbloaded from official site)using devc++. So I've imported the glut32.dsp into devc++, included manually some headers, and start to compile. It return a very...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
1
by: developer | last post by:
Hi All I have made a .NET project. the files included are borland c++ files that i am migrate to VC++ .NET I am using Microsoft Visual C++ .NET 2003. the compilation goes through properly,...
0
by: mchuc7719 | last post by:
Hello, I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only get errors. Before I to run the command line, I open in notepad the .vbproj and I was add the next line: ...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.