[SOLVED]
Moderator: General Moderators
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
[SOLVED]
... 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...
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...
Last edited by Mythic Fr0st on Tue Dec 05, 2006 4:45 pm, edited 1 time in total.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
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 as your first lines of execution.
If you don't already make sure you have
Code: Select all
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', true);- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
i like this post because the original poster gave us absolutely no information whatsoever. so it's a worthless post honestly.Flamie wrote:My guess is line 112, file#51, folder#2
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)
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
hmm
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...
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*
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>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*
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...
But to fix it... Try closing your <script> tag...
Code: Select all
</script>-
Mythic Fr0st
- Forum Contributor
- Posts: 137
- Joined: Sat Dec 02, 2006 3:23 am
- Contact:
oj
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
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
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK