My Website does not show Contents

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    sad My Website does not show Contents

    Hey,

    i have windows webserver 2008 installed on my rootserver and my fiesta server is running without problems but the website does not show contents like from News or Signup. I've installed IIS 7.5 Express and PHP Version 5.3.16. What do i have to do?

    I have no answer for this D: Please Help

    Website Screenshot:
    without-content.jpg

    If you need more informations to help me then ask me please.


    - - -

    Quote Originally Posted by Isari View Post
    Hey People,

    does anyone have a tutorial for me?

    How do i have to install and configure IIS and PHP that the website works?

    Or would someone help me via TeamViewer?

    Please i need Help.
    Last edited by Isari; 25-09-12 at 06:10 AM.


  2. #2
    Apprentice Vithril is offline
    MemberRank
    Apr 2010 Join Date
    19Posts

    Re: My Website does not show Contents

    If you were the author of the code I doubt you would have trouble finding your bug, however you have found exceptions? Or if you show me a piece of code where you think is wrong would be of great help in the search for your problem

  3. #3
    I can has title? hamisgood87 is offline
    MemberRank
    Feb 2012 Join Date
    GoogleLocation
    447Posts

    Re: My Website does not show Contents

    http://forum.ragezone.com/f593/relea...mepage-829645/ obvi they didnt make it themselves. search next time please. Also you prolly have no content and that's why its not showing.

  4. #4
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    Re: My Website does not show Contents

    I think the problem isnt in the codes because i tried bakeys site, invisible site and isya online site idk wheres the problem i think in php.ini or anything. since a year i had the website from bakey and it runs perfectly. so what do i have to do in php.ini or iis to fix this problem.

    help please! :) im desperate

    settings.php
    I only have to enter my data in this file or not?
    index-php-file.png
    Last edited by Isari; 11-09-12 at 01:21 PM.

  5. #5
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    Re: My Website does not show Contents

    hey again,

    if i install php on my windows server, do i have to edit anything in php.ini? Or do i have todo anything in IIS 7.5 to fix this Problem?
    any help is welcome

  6. #6
    I can has title? hamisgood87 is offline
    MemberRank
    Feb 2012 Join Date
    GoogleLocation
    447Posts

    Re: My Website does not show Contents

    got teamviewer or something -.-

  7. #7
    Electro, dude. Bakey is offline
    MemberRank
    Oct 2010 Join Date
    403Posts

    Re: My Website does not show Contents

    Pretttyyyy sure PHP 5.3 is the problem. These websites use mssql functions which are in 5.2 or lower.

  8. #8
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    Re: My Website does not show Contents

    Okay i will install PHP version 5.2 or lower and i really hope it will work then.

    Thanks.

    -- -- --

    Hey Bakey, i have tried some PHP versions but it still shows no content.
    I really do not know what it could be. :(

    Which PHP version would you recommend?
    Last edited by Isari; 13-09-12 at 05:00 PM. Reason: Still show no contents.

  9. #9
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    ! My Website does not show Contents

    Hey again, maybe this will help you to help me.

    - The mssql password is correct, and the databases are running without problems.
    - I suspect the problem is in PHP or IIS but probably in PHP, because the website also does not run in xampp.

    I bet it's just a little thing, but a little thing that i overlooked.

    @Bakey
    Would you please help me set up the site via Teamviewer ?
    If you want to help me then add me in Skype please.

    Skype: isari.irisa
    E-Mail: isari.irisa@web.de
    Site: Link to my contentless website

    I am grateful for any help.




    Quote Originally Posted by VaL3 View Post
    If you were the author of the code I doubt you would have trouble finding your bug, however you have found exceptions? Or if you show me a piece of code where you think is wrong would be of great help in the search for your problem
    I could not find errors in the website, i think there is not the same error on all Websites.
    I tried the following websites:

    Last edited by Isari; 13-09-12 at 06:12 PM.

  10. #10
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    Re: My Website does not show Contents

    Can no one help me ?

  11. #11
    I can has title? hamisgood87 is offline
    MemberRank
    Feb 2012 Join Date
    GoogleLocation
    447Posts

    Re: My Website does not show Contents

    I you could add content the old fashioned way :3

  12. #12
    Member cieto12345 is offline
    MemberRank
    Dec 2011 Join Date
    77Posts

    Re: My Website does not show Contents

    So your news.php works: http://irisa-online.servegame.com/modules/news.php
    I guess that there is an error with your ajax load function.

    For example you have this body code: <body onload="$('#content').load('modules/news.php');">
    But you don't have any div-element content.

    Try to add this under your div in which serverstatus is posted:
    <div id="content"></div>

    Then it should work.

    Here is your example:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    	<head>
    	<script type="text/javascript" src="changeStyle.js"></script>
    		<title>Website</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=unicode" />
    		<link rel="stylesheet" type="text/css" href="css/main.css" />
    		<link rel="stylesheet" type="text/css" href="css/bar.css" />
    		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
    		<!--<script type="text/javascript" src="js/jquery.confirm.js"></script>
    		<script type="text/javascript" src="js/jquery.corner.js"></script>-->
    		<!--<script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>-->
    		
    		<!--
    		<script type="text/javascript">                                         
    			$(document).ready(function() {
    				$("#main").corner("20px");
    				$(".details").corner("5px");
    				$(".roundedButton").corner("20px");
    				$(".submenu").corner("5px bottom");
    				$(".info, .success, .warning, .error, .validation").corner("5px");
    				$("#menu, #footer").corner("10px");
    				$("#sidebar, #content").corner("10px");
    			});
    		</script>-->
    
    	</head>
    	<body onload="$('#content').load('modules/news.php');"></div>
    
    		<div id="wrapper">
    			
    				<div id="header"></div>
    				<div id="wrapper2">
    				<div id="menu">
    					
    					<a class="link" href="index.php?module=news" onclick="event.preventDefault(); $('#content').load('modules/news.php');">Neues</a><img src="http://forum.ragezone.com/images/devider.png" />
    					<a class="link" href="http://invisible-online.forumieren.com/"forum/index.php">Forum</a><img src="http://forum.ragezone.com/images/devider.png" />
    					<a class="link" href="index.php?module=signup">Anmelden</a><img src="http://forum.ragezone.com/images/devider.png" />
    					<a class="link" href="index.php?module=guides" onclick="event.preventDefault(); $('#content').load('modules/guides.php');">Connect Guide</a><img src="http://forum.ragezone.com/images/devider.png" />
    					<a class="link" href="index.php?module=contact" onclick="event.preventDefault(); $('#content').load('modules/contact.php');">Kontakt</a>
    				</div>
    				
    				<div id="main" >
    									<div id="sidebar" style="-moz-box-shadow: 0px 0px 10px #8b008b;	-webkit-box-shadow: 0px 0px 10px #8b008b;">
    						<div class="title"><a href="index.php?module=top" onclick="event.preventDefault(); $('#content').load('modules/top.php');">Top 100 Spieler</a></div><br /><div class="title"><a href="index.php?module=topguilds" onclick="event.preventDefault(); $('#content').load('modules/topguilds.php');">Top 100 Gilden</a></div><br /><div class="title"><a href="index.php?module=downloads" onclick="event.preventDefault(); $('#content').load('modules/downloads.php');">Downloads</a></div><br /><div class="title"><a href="index.php?module=newuser" onclick="event.preventDefault(); $('#content').load('modules/newuser.php');">Neuste User</a></div><br /><div class="title"><a href="usercp/index.php?">UserCp</a></div><br /><div class="title"><a href="index.php?module=media" onclick="event.preventDefault(); $('#content').load('modules/media.php');">Media</a></div><br />						<div class="title">Server Information</div>
    						<p>
    							<b>Exp rate:</b> x20<br />
    							<b>Item Drop:</b> 25%<br />
    							<b>Lvl Cap:</b> 130<br />
    						</p>
    						<p>
    							<b>Start Geld:</b> 100 Silber<br />
    						</p>
    							<div id="content"></div>
    In addition... you are missing some </div>, </body> and </html>. Seems to be so that the half is missing in your file.

  13. #13
    Apprentice Vithril is offline
    MemberRank
    Apr 2010 Join Date
    19Posts

    Re: My Website does not show Contents

    Try to check this one on ur folder "changeStyle.js" when u load the page this script get a 404 error.

  14. #14
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    ! My Website does not show Contents

    Thank you for the reply.

    @cieto12345,

    i really think the code is not the problem, it only could be PHP because my Website does not load PHP Codes but HTML Codes.

    Nevertheless i tried "<div id="content"></div>" in the Sidebar. But it only shows News because the Text is from news.txt file and it does not show contents like mall or signup.

    I also tried my old Website but with this Website i have the same problem. So it can really be just PHP.

    See index.php code from this Website in the following Spoiler.

    Spoiler:
    Code:
    <?php $crapVarr = 'F@#&$^*FG^&F^#$&#&D$%%#$D%&$^%#&'; include "_init.php";?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    	<head>
    	<script type="text/javascript" src="changeStyle.js"></script>
    		<title>Irisa Gaming</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<link rel="stylesheet" type="text/css" href="css/main.css" />
    		<link rel="stylesheet" type="text/css" href="css/bar.css" />
    		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    		<script type="text/javascript" src="js/jquery.confirm.js"></script>
    		<script type="text/javascript" src="js/jquery.corner.js"></script>
    		<script type="text/javascript">                                         
    			$(document).ready(function() {
    				$("#main").corner("20px");
    				$(".details").corner("5px");
    				$(".roundedButton").corner("20px");
    				$(".submenu").corner("5px bottom");
    				$(".info, .success, .warning, .error, .validation").corner("5px");
    				$("#menu, #footer").corner("10px");
    				$("#sidebar, #content").corner("10px");
    			});
    		</script>
    
    	</head>
    	<body>
    <div id="athens_bar">
    	<div id="athens_bar_content">
    			<div id="athens_bar_logo"><a href="#"><img src="images/bar_logo.png" /></a></div>
    			<div id="athens_bar_menu">
    			<div><a href="#"><img src="images/bar_home.png" /></a></div>
    			<div><a href="#"><img src="images/bar_forum.png" /></a></div>
    <background="/images/background.jpg">
    		</div>
    	</div>
    </div>
    
    		<div id="wrapper">
    			<div id="header"></div>
    			
    			<div id="menu">
    				<a class="link" href="index.php?module=news">News</a><img src="images/devider.png" />
    				<a class="link" href="http://eden-east.com/forum">Board</a><img src="images/devider.png" />
    				<a class="link" href="index.php?module=signup">SignUp</a><img src="images/devider.png" />
    				<a class="link" href="index.php?module=downloads">Downloads</a><img src="images/devider.png" />
    				<a class="link" href="index.php?module=contact">Contact Us</a>
    			</div>
    			
    			<div id="main">
    				<div id="sidebar">
    					<div class="title"><a href="index.php?module=mall">Cash Shop</a></div><br />
    <!--				<div class="title"><a href="index.php?module=items">Items Database</a></div><br /> -->
    					<div class="title"><a href="index.php?module=top">Top 100 Players</a></div><br />
    					<div class="title"><a href="index.php?module=topguild">Top 10 Guilds</a></div><br />
    					<div class="title"><a href="index.php?module=goals">Our Goals</a></div><br />
    					<div class="title">Server Information</div>
    					<p>
    						<b>Experience:</b> x20<br />
    						<b>Item Drop:</b> x3<br />
    						<b>Money:</b> x35<br />
    					</p>
    					<p>
    						<b>Starting Money:</b> 100s<br />
    					</p>
    					
    					<?php
    					$mssql_link = mssql_connect( 'XXXXXX\SQLEXPRESS', 'sa', 'XXXXXXXX' );
    					if ( !$mssql_link )
    					{
    						showMessage( 'info', 'Registration is temporarly offline' );
    					}
    					else
    					{
    					
    					}
    					?>
    					
    					<div class="title">Server Status</div>
    					<p>
    						<b>Login:</b> <?php echo serverStatusCheck( '127.0.0.1', '9010' ); ?><br />
    						<b>World:</b> <?php echo serverStatusCheck( '127.0.0.1', '9110' ); ?><br />
    						<b>Zone #1:</b> <?php echo serverStatusCheck( '127.0.0.1', '9120' ); ?><br />
    						<b>Zone #2:</b> <?php echo serverStatusCheck( '127.0.0.1', '9122' ); ?><br />
    						<b>Zone #3:</b> <?php echo serverStatusCheck( '127.0.0.1', '9124' ); ?><br />
                            <!-- <b>Online Players:</b> <?php echo $onlinePlayers; ?><br /> -->
    					</p>
    					
    					<div class="title">Vote4Us</div>
    					<p>
    						<center>
    							<a href="http://***************/"><img border="0" src="http://pics.livejournal.com/samaritanyn/pic/0006xbhs.gif" alt="***************" /></a>
    						</center>
    						<br />
    					</p>
    				</div>
    				<div id="content">
    					<?php
    						switch( $_GET['module'] )
    						{
    							case "news":
    									include "modules/news.php";
    								break;
    							
    							case "signup":
    									include "modules/signup.php";
    								break;
    								
    							case "downloads":
    									include "modules/downloads.php";
    								break;
    								
    							case "contact":
    									include "modules/contact.php";
    								break;
    								
    							case "goals":
    									include "modules/goals.php";
    								break;
    								
    							case "top":
    									include "modules/top.php";
    								break;
    							
    							case "items":
    									include "modules/items.php";
    								break;
    								
    							case "mall":
    									include "modules/mall.php";
    								break;
    							
    							case "topguild":
    									include "modules/topguild.php";
    								break;
    															
    							default:
    									include "modules/downloads.php";
    								break;
    
    							default:
    									include "modules/guides.php";
    								break;
    
    							default:
    									include "modules/news.php";
    								break;
    
    						}
    					?>
    				</div>
    			</div>
    			
    			<div id="footer">Copyright (C) 2012 Irisa Online. All rights are reserved.<br /></div>
    		</div>
    	</body>
    </html>


    If anyone can tell me which PHP Version i should install on my Windows Web Server 2008 R2 for IIS 7.5 Express then reply to this post please.

    Thank you very much.

    Isari

  15. #15
    Apprentice Isari is offline
    MemberRank
    Sep 2012 Join Date
    9Posts

    Re: My Website does not show Contents

    It would be nice if someone would help via Teamviewer. :)



Page 1 of 2 12 LastLast

Advertisement