Site isn't working

Discussion in 'HTML & Website Design' started by opportunist86, Jul 18, 2012.

  1. #1
    My site doesn't work. Returns only a black page. Can anyone help with trouble shooting?
     
    Solved! View solution.
    opportunist86, Jul 18, 2012 IP
  2. aaronroofing

    aaronroofing Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What happens?
     
    aaronroofing, Jul 18, 2012 IP
  3. rafderamas

    rafderamas Active Member

    Messages:
    288
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Do you mean a blank page? You may want to check your source code if your database has been infected with an SQL injection
     
    rafderamas, Jul 18, 2012 IP
  4. opportunist86

    opportunist86 Active Member

    Messages:
    422
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #4
    I changed the hosting account yesterday and copied and pasted all the files. Its not working after that.
    Yes, its blank page. Could you please help me with the solution?
     
    opportunist86, Jul 18, 2012 IP
  5. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #5
    Can you supply a URL for us to check?
     
    workingsmart, Jul 18, 2012 IP
  6. DKwriting

    DKwriting Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Did you update your nameservers with your domain registrar?
     
    DKwriting, Jul 18, 2012 IP
  7. opportunist86

    opportunist86 Active Member

    Messages:
    422
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #7
    Yes, I did.

    My site is here
     
    opportunist86, Jul 18, 2012 IP
  8. #8
    Is the site a static site? dynamic php/asp, etc... Site? Is it a script?...

    More than likely the issue relates to a configuration error for your site / script

    You're output is not being displayed...

    Need more information to assist you.
     
    workingsmart, Jul 18, 2012 IP
  9. Jonchun

    Jonchun Greenhorn Affiliate Manager

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #9
    It seems to be working for me. Perhaps it fixed itself?
     
    Jonchun, Jul 18, 2012 IP
  10. vincaslt

    vincaslt Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Everything seems to be fine with your site.
     
    vincaslt, Jul 19, 2012 IP
  11. opportunist86

    opportunist86 Active Member

    Messages:
    422
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #11
    I resolved the ussue already. Thanks all for your assistance.
     
    opportunist86, Jul 19, 2012 IP
  12. mudaber

    mudaber Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #12
    I think there is problem in source code . I want to check your website send me url
     
    mudaber, Jul 19, 2012 IP
  13. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #13
    Actually is still blank here in Opera 12 -- though looking at the source mein gott that's some outdated trash (no offense). Tables for layout, HTML 3.2 in your 4 tranny... it's 4 tranny so the code is in 'transition' from 1997 to 1998... 114 validation errors (in tranny?!?) meaning you don't even have HTML, you have gibberish, non-breaking spaces doing padding's job, presentational style inlined in the markup, javascript doing CSS' job, inaccessible px metric fonts tied to a crappy fixed width that's too big for my netbook and uselessly tiny on my desktop (little tip, if users have to dive for the zoom, they're just as likely to navigate away!), nothing even remotely resembling semantics, code between /head and body, code after /body/html -- little surprise to see 10k of markup for 890 bytes of plaintext and nine content images -- almost twice what should be needed in there. Of course that it's also hemorrhaging javascript errors thanks to the stupid "Gee ain't it neat" image rotator and jquery bloat...

    It's just another laundry list of how not to build a website.

    Just to show you what I mean, there is no legitimate reason for that page to be a whole lot more than this for markup:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html
    	xmlns="http://www.w3.org/1999/xhtml"
    	lang="en"
    	xml:lang="en"
    ><head>
    
    <meta
    	http-equiv="Content-Type"
    	content="text/html; charset=utf-8"
    />
    
    <meta
    	name="viewport"
    	content="width=device-width; initial-scale=1.0"
    />
    	
    <link
    	type="text/css"
    	rel="stylesheet"
    	href="screen.css"
    	media="screen,projection,tv"
    />
    
    <title>
    	J.J. Enterprises
    </title>
    
    </head><body>
    
    <div id="pageWrapper">
    
    	<h1>
    		J.J. Enterprises
    		<span><!-- image replacement --></span>
    	</h1>
    	
    	<ul id="topMenu">
    		<li><a href="Index.html">Home</a></li>
    		<li class="last"><a href="contact.html">Contact Us </a></li>
    	</ul>
    	
    	<ul id="mainMenu">
    		<li><a href="Index.html" class="current">Home</a></li>
    		<li><a href="about.html">About Us</a></li>
    		<li class="hasKids">
    			<a href="products.html">Products</a>
    			<ul>
    				<li><a href="product1.html">Pet Series</a></li>
    				<li><a href="product2.html">HDP Series</a></li>
    				<li><a href="product3.html">Pressure Sprayer</a></li>
    				<li><a href="product4.html">knapsack Sprayer</a></li>
    				<li><a href="product5.html">Others</a></li>
    			</ul>
    		</li>
    		<li><a href="contact.html">Contact Us</a></li>	
    	</ul>
    	<!--Starting Slide Show-->
    	
    	<div id="slideShow">	
    	
    		<img
    			src="images/slideShow/1.jpg"
    			alt="put description here"
    		/><br />
    	
    		<img
    			src="images/slideShow/2.jpg"
    			alt="put description here"
    		/><br />
    	
    		<img
    			src="images/slideShow/3.jpg"
    			alt="put description here"
    		/><br />
    	
    		<img
    			src="images/slideShow/4.jpg"
    			alt="put description here"
    		/><br />
    	
    		<img
    			src="images/slideShow/5.jpg"
    			alt="put description here"
    		/>
    			
    	<!-- #slideShow --></div>
    		
    	<ul class="productSeries">
    		<li>
    			<a href="product1.html">
    				<img 
    					src="images/Student.jpg"
    					alt="Pet Series"
    					width="203" height="110"
    				/>
    				Pet Series
    			</a>
    		</li><li>
    			<a href="product2.html">
    				<img
    					src="images/Industry.jpg"
    					alt="HDP Series"
    					width="203" height="110"
    				/>
    				HDP Series
    			</a>
    		</li><li>
    			<a href="product3.html">
    				<img
    					src="images/Mentors.jpg"
    					alt="Pressure Series"
    					width="203" height="110"
    				/>
    				Pressure Series
    			</a>
    		</li><li>
    			<a href="product4.html">
    				<img src="images/University.jpg"
    					alt="Knapsack"
    					width="203" height="110"
    				/>
    			</a>
    		</li>
    	</ul>
    	
    	<div id="content">
    		<h2>About JJ Enterprises:</h2>
    		<p>
    			J.J.Enterprise is the largest sprayer company of pakistan. Established in 1986.Our main Product is: Trigger sprayer bottles of poliethailine and PET bottles, garden sprayer, farm sprayer of all size, knapsack sprayer, power sprayer, hand sprayers,lotion pumps, shampoo pumps and cloth pegs. We supply our goods in all the cities of pakistan. Our goods are very famous in Afghanistan and Iran also. Our all products are high quality and latest technology. We welcome to you, visit us and try our products. We import and export our goods on our own license.
    		</p>
    		<a href="about.html" class="readMore">Read More</a>
    	<!-- #content --></div>
    	
    	<div id="sideBar">
    	
    		<h2>Latest News</h2>
    		<a href="news.html" class="readAll">READ ALL</a>
    		
    		<h3>February 4th, 2011</h3>
    		<p>
    			Mr Amin and Mr Junaid going china on 06 january 2012...
    		</p>
    		<a href="news.html" class="readMore">Read More</a>
    		
    	<!-- #sideBar --></div>
    	
    	<div id="footer">
    		<div>2011 &copy; JJ Enterprises All rights reserved</div>
    		Powered by:
    		<a href="http://www.jjsprayer.com">JUNAID JUMMANI</a>
    	<!-- #footer --></div>
    		
    <!-- #pageWrapper --></div>
    
    <!-- 
    	fictional as yet uncreated slideshow script 
    	assuming that bloated pointless crap is retained
    	(not a fan)
    
    	any slideshow script worth using should be able to attach
    	everything else needed automatically!
    
    -->
    <script
    	type="text/javascript"
    	src="scripts/slideShow.js"
    ></script>
    <script	type="text/javascript">
    	slideShowInit('slideShow'); 
    </script>
    
    </body></html>
    
    Code (markup):
    Apart from maybe a few extra meta, and maybe a extra div or two if ditching the fixed width for semi-fluid (and possibly responsive layout too)... Comes in at 4k, so that's a 38% code reduction. Everything else either belongs in the CSS, or should be set up by the SINGLE script. (Not even sure why you had that bloated idiotic BS known as jQuery in there -- wasn't doing anything useful).
     
    deathshadow, Jul 19, 2012 IP
  14. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #14
    My bad, 62% reduction, 38% the original size :D
     
    deathshadow, Jul 20, 2012 IP