Link to home
Start Free TrialLog in
Avatar of Mushfique Khan
Mushfique Khan

asked on

Website button stop working

Hi folks, some thing is wrong at my site, buttons are not working and images are not coming correctly too, this is php/mysql site, residing on a linux box.

Please advice/assist, how to fix this problem.

Thanks in advance.
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

What is not working? What changes have been made to it? What images are loading correctly? What isn't? Any backup?

You need to provide more information for us to understand at a bare minimum.
Avatar of Mushfique Khan
Mushfique Khan

ASKER

No idea I didn't do anything, I've the backup files, but don't want to overwrite everything, please advice, how to correct/fix this problem, what do you think, if I check the files by:

ls -lrt

it only show temp folder with some changes on 6/7 and it contains more files then in my backup ... what to do ...

I think ... my hosting company did some change, because I was doing email sending and stop this, they did some change on my files ... becasue they did this earlier too.
You're kidding, right?  This is like saying, "My motorcycle won't run.  What is wrong?"  You want us to diagnose a problem without knowing the URL, without seeing the data, without seeing the code?

Please learn about the SSCCE and give us your SSCCE here so we can help you.
http://www.notime4fun.com/admin/index.php

check this ... what's is the problem, this is basically an email sending tool.
Here is the HTML document that is rendered by the URL at
http://www.notime4fun.com/admin/index.php

Is this the page that is having trouble?  If so you would want to examine the PHP script that creates the HTML document we see here.  Another option, potentially more fruitful, would be to hire a professional programmer to help you with this.  It doesn't seem to be a question with an answer, so much as a need for in-depth programming support.

One of the things you would want your professional programmer to do for you -- make sure the generated HTML document is standards-compliant.  Without that, you're at risk of all kinds of unpredictable browser behavior.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.notime4fun.com%2Fadmin%2Findex.php&charset=%28detect+automatically%29&doctype=Inline&group=0

<html>
<head>
<title>Control Panel</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="includes/styles/stylesheet.css" type="text/css">

<script>
	var UnsubLinkPlaceholder = "Unsubscribe me from this list";
	var ModifyLinkPlaceholder = "Click here to update your details";
	var SendToFriendLinkPlaceholder = "Click here to send this email to a friend";
	var UsingWYSIWYG = '0';
</script>

<script src="includes/js/jquery.js"></script>
<script src="includes/js/javascript.js"></script>
<script defer>
	// Hack for IE
	if(navigator.userAgent.indexOf('MSIE') > -1) {
		document.getElementById('popContainer').style.width = '100%';
	}
</script>

</head>

<body class="popupBody">
	<div class="popupContainer" id="popContainer">
<!-- END PAGE HEADER -->






<style type="text/css">
	.popupContainer {
		border: 0px;
	}
</style>
<script>
	$(function() {
		$(document.frmLogin.ss_takemeto).val('index.php');
	});
</script>
<form action="index.php?Page=&Action=Login" method="post" name="frmLogin" id="frmLogin">
	<div id="box" class="loginBox">
		<table><tr><td style="border:solid 2px #DDD; padding:20px; background-color:#FFF; width:300px;">
		<table>
			<tr>
			<td class="Heading1">
				<img src="images/logo.jpg" alt="Logo" />
			</td>
			</tr>
			<tr>
			<td style="padding:10px 0px 5px 0px">Login with your username and password below.</td>
			</tr>
			<tr>
			<td>
				<table>

				<tr>
					<td nowrap="nowrap" style="padding:0px 10px 0px 10px">Username:</td>
					<td>
					<input type="text" name="ss_username" id="username" class="Field150" value="">
					</td>
				</tr>
				<tr>
					<td nowrap="nowrap" style="padding:0px 10px 0px 10px">Password:</td>

					<td>
					<input type="password" name="ss_password" id="password" class="Field150" value="">
					</td>
				</tr>
				<tr>
					<td nowrap="nowrap" style="padding:0px 10px 0px 10px">Take Me to:</td>
					<td>
						<select name="ss_takemeto" class="Field150">
							<option value="index.php">Home Page</option>
							<option value="index.php?Page=Subscribers&Action=Manage">My Contacts</option>
							<option value="index.php?Page=Lists">My Contact Lists</option>
							<option value="index.php?Page=Segment">My Segments</option>
							<option value="index.php?Page=Newsletters&Action=Manage">My Email Campaigns</option>
							<option value="index.php?Page=Autoresponders&Action=Manage">My Autoresponder</option>
							<option value="index.php?Page=Stats">My Campaign Statistics</option>
						</select>
					</td>
				</tr>
				<tr>
					<td nowrap>&nbsp;</td>
					<td>&nbsp;<input type="checkbox" name="rememberme" id="remember" value="1" style="margin-left:-0px" > <label for="remember">Remember my details</label>
					</td>
				</tr>
					<tr>
					<td>&nbsp;</td>
					<td>
						<input type="submit" name="SubmitButton" value="Login" class="FormButton">
						&nbsp;&nbsp;<a href="index.php?Page=Login&Action=ForgotPass" style="font-size: 11px;">Forgot your password?</a>					</td>
					</tr>

					<tr><td class="Gap"></td></tr>
				</table>
			</td>
			</tr>
		</table>
		</td></tr>

		<tr>
			<td>

				<div class="PageFooter" style="padding: 10px 10px 10px 0px; margin-bottom: 20px; text-align: center;">
					Powered by <a href="http://www.interspire.com/emailmarketer/" target="_new">Interspire Email Marketer 5.6</a> &copy; Interspire Pty. Ltd.				</div>
			</td>
		</tr>

		</table>

	</div>

	</form>

	<script>

		$('#frmLogin').submit(function() {
			var f = document.frmLogin;

			if(f.username.value == '')
			{
				alert('Please enter your username.');
				f.username.focus();
				f.username.select();
				return false;
			}

			if(f.password.value == '')
			{
				alert('Please enter your password.');
				f.password.focus();
				f.password.select();
				return false;
			}

			// Everything is OK
			f.action = 'index.php?Page=&Action=Login';
			return true;
		});

		function sizeBox() {
			var w = $(window).width();
			var h = $(window).height();
			$('#box').css('position', 'absolute');
			$('#box').css('top', h/2-($('#box').height()/2)-50);
			$('#box').css('left', w/2-($('#box').width()/2));
		}

		$(document).ready(function() {
			sizeBox();
			$('#username').focus();
		});

		$(window).resize(function() {
			sizeBox();
		});
		createCookie("screenWidth", screen.availWidth, 1);

	</script>





<!-- END PAGE FOOTER -->
</div>
</body>
</html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks everyone ... but this was the only problem

chmod -R 755 *

this works ... and all good.
I've requested that this question be closed as follows:

Accepted answer: 0 points for mkhandba's comment #a39307626

for the following reason:

Because I fix myself, no one was able to assist.
Really!

I think you'll find that I told you what the problem was - your permissions were wrong - you solved the problem by correcting them so I think that counts as a valid solution