Page 1 of 1
[SOLVED]
Posted: Tue Dec 05, 2006 4:20 am
by Mythic Fr0st
... Im sooo ANGRY, 80% of all my code in my 'mailed' page stopped showing and 100% stopped working
I dont get it? all i changed was stuff on the signup page, and then BANG mailed didnt work anymore
what can cause this !!!
I had everything setup perfectly...
Posted: Tue Dec 05, 2006 4:47 am
by Flamie
My guess is line 112, file#51, folder#2
Posted: Tue Dec 05, 2006 7:16 am
by ddragas
try turning in way it was before (signup page)

Posted: Tue Dec 05, 2006 7:27 am
by Ollie Saunders
Either you are mistaken, you did change something in the offending file but forgot about it, perhaps it was a really tiny change or a change that should have made no difference to the code at all. Or you have dependencies due to shared code (often via requires and includes) that means if one doesn't work nor will the other.
If you don't already make sure you have
Code: Select all
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', true);
as your first lines of execution.
Posted: Tue Dec 05, 2006 8:39 am
by MrPotatoes
Flamie wrote:My guess is line 112, file#51, folder#2
i like this post because the original poster gave us absolutely no information whatsoever. so it's a worthless post honestly.
and yes it does suck but i always find it funny for other people when this happens and i find it frustrating when it happens to me.
it happens but well documented design should help against this. not something that we can all afford (time, process, etc)
Posted: Tue Dec 05, 2006 8:46 am
by CoderGoblin
You may want to ensure that you have some versioning on any files you change. Eclipse automatically has it, CVS is also an option.
Using versioning allows you to make a change, forget the changes but revert to an old version or compare what changes occured and work out what may have gone wrong.
hmm
Posted: Tue Dec 05, 2006 2:34 pm
by Mythic Fr0st
Thanks guys, I tried going back to original, didnt work:/
Error report didnt work?
(Above the html or the first of the body or <?php tag?
I think I did edit the "mail" page, but it so harmless, I was merely moving around the <?php tags...
Its weird, what used to happen on my signup page
if username < 5 or > 18 it displays the error (to big or to little)(doesnt show)
same for password but 20 as the max(doesnt show)
confirm pass is same as password (doesnt show)
email1 just shows if it matches email2 (still is there, but has no effect even if they are)
password matches (only shows if password boxes are > 0)
and Terms & Conditions checkbox (shows but no effect)
signup page...
Code: Select all
<html>
<body>
<head>
<style type="text/css">
body
{
background-image:
url('SilverBG.jpg')
}
</style>
<script type="text/javascript">
</head>
<DIV STYLE='Position: absolute; top: 0; left: 0;'>
<img src="Mythic Aeons Banner.jpg" width="1016" height="112">
</div>
<DIV STYLE='Position: absolute; top: 100; left: 0;'>
<img src="SignupBanner.gif" width="1016" height="45">
</div>
<form name="input" action="mailed.php"
<div align='center'>
<br/>
<br/>
<br/>
<br/>
<font size='5'>Signup </font> <br/> </br> </br>
<font size='4'>Please enter your details below.</br> Any field with the <font color='blue'>*</font>
symbol is a required field.</br>
<table border='0'>
<tr>
<td><b><font color='blue' size='4'>*</font>Username:</b></td>
<td><input type='text' name='username'></td>
</tr>
<tr>
<td><b><font color='blue' size='4'>*</font>Password:</b></td>
<td><input type='password' name='password1'></td>
</tr>
<tr>
<td><b><font color='blue' size='4'>*</font>Confirm Password:</b></td>
<td><input type='password' name='password2'></td>
</tr>
<tr>
<td><b><font color='blue' size='4'>*</font>E-mail:</b></td>
<td><input type='text' name='email1'></td>
</tr>
<tr>
<td><b><font color='blue' size='4'>*</font>Confirm E-mail:</b></td>
<td><input type='text' name='email2'></td>
</tr>
<tr>
<td><b><font color='blue' size='4'>*</font>Gender:</b></td>
<td><b>Male</b><input type='radio' name='gen' "checked">
<b>Female</b><input type='radio' name='gen'></td>
</tr>
</table>
<table border='0'>
<tr>
<td><b><font color='blue' size='4'>*</font>I agree to the terms & conditions of signing up<input type='checkbox' name='t&c'><br/><font align='center'></td>
</tr>
</table>
</form>
<b><font color='blue' size='4'>*</font><a href="http://localhost/Mythic%20Aeons/Terms%20&%20Conditions.php">Terms & Conditions</a><br/>
<input type='submit' value='Signup'>
</div>
<DIV STYLE='Position: absolute; top: 144; left: 0;'>
<input type="image" src='Home Button.gif' onclick="document.location='Home.php'"
</div>
<DIV STYLE='Position: absolute; top: 184; left: 0;'>
<input type="image" src='Login Button.gif' onclick="document.location='Login.php'"
</div>
<DIV STYLE='Position: absolute; top: 224; left: 0;'>
<input type="image" src='Signup Button.gif' onclick="document.location='Signup.php'"
</div>
<DIV STYLE='Position: absolute; top: 264; left: 0;'>
<input type="image" src='Contact us.gif' onclick="document.location=''"
</div>
<!-- 51 -->
</b>
<!-- Above is ALL banner, and the signup button stuff ++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
</body>
</html>
please help me lol I know its alot to ask to look through someones code, but im freakin out...
I remember, I added the <DIV STYLE='Position:'> image stuff, and then I realized if I clicked the image,
because of the <form action='mailed.php'>, it always went there, so I edited that
I dont that the form name='input' action='mailed.php' is the right one o_O *CRIES*
Posted: Tue Dec 05, 2006 2:57 pm
by Zoxive
Uh, all that is, is html+javascript+css, no php. This should of gone in client side.
But to fix it... Try closing your <script> tag...
oj
Posted: Tue Dec 05, 2006 3:15 pm
by Mythic Fr0st
Ohhh, oops
I saw the javascript thing a while ago, and del it, did nothing, it must be my mailed code, makes no sense
it just stops at the email check, (email pasword matching & terms and conditions box show, but do nothing)
All solved, thanks everyone
Posted: Tue Dec 05, 2006 7:00 pm
by Ollie Saunders
Error report didnt work?
(Above the html or the first of the body or <?php tag?
Now
that is truely a first.