PHP Screwing Up

masterjake

New Member
Messages
73
Reaction score
0
Points
0
OK now I'm lost. I thought DIV tags were the reason my site was screwing up but I rebuilt it using only tables and STILL. Everytime I include a php code like

Code:
<?php
include("file.php");
?>

it always ****s up the page and my html won't render. Here's a preview

http://masterjakeonline.com/index.php

Help =/
Edit:
Oh yeah, and if you Right click - view source on that page you will notice it stops, the first lines of code right after that is

Code:
<?php
include("thefile.php");
?>

so as soon as it's reaching the php code it stops rendering... WHY??? =/
 
Last edited:

xmakina

New Member
Messages
264
Reaction score
0
Points
0
Your src has two /'s

The error is probably in "thefile.php". Put lots of echos after each line and look for when the echos stop. Check your filepaths as well
 

masterjake

New Member
Messages
73
Reaction score
0
Points
0
IDK because I just put this in the included file

<?php

echo "hello";
echo "hello again";
echo "etc etc etc";

?>

and it still doesnt include it. somethings effed up with php including because if i just echo code or something instead of including a file it will work but when i try including a php file it ****s up. whats wrong =/?
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
You should definitely show us what's inside thefile.php. As many have said before (in this thread or the other one), I'm pretty sure the error comes from inside of it, not the including itself.
 
Last edited:

freecrm

New Member
Messages
629
Reaction score
0
Points
0
IDK because I just put this in the included file

<?php

echo "hello";
echo "hello again";
echo "etc etc etc";

?>

and it still doesnt include it. somethings effed up with php including because if i just echo code or something instead of including a file it will work but when i try including a php file it ****s up. whats wrong =/?

Really stupid question here but is this the entire content of the included file?

i.e. - is this part of a <body> or just as is?

I know this is basics but lots of people get it wrong and it causes all sorts of problems.
 

masterjake

New Member
Messages
73
Reaction score
0
Points
0
That's whats in the included file yes and since so many people want to see it all I'll include the entire source.

index.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="http://masterjake.x10hosting.com/default.css" media="screen"/>
<title>Master Jake Online</title>
</head>

<body>
<center>

<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="container">

<table border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="2">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
	<td class="header">Master Jake Online</td>
</tr>
</table>

</td><td rowspan="2" valign="top">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
	<td class="main_right" valign="top" align="left">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
		<td class="padded" valign="top" align="left"> 
			
<?php
include("http://masterjake.x10hosting.com/include/right_table.php");
?>

		</td>
</tr>
</table>

	</td></tr>
</table>

</td></tr>
<tr><td valign="top">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
	<td class="subnav" valign="top" align="left">

<?php
include("http://masterjake.x10hosting.com/include/navigation.php");
?>

	</td>
</tr>
</table>

</td><td valign="top">
	
<table border="0" cellspacing="0" cellpadding="0">
<tr>	
	<td class="main" align="left" valign="top">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
		<td class="padded" align="left" valign="top">

<blockquote>Last update: <b>Sunday, October 19, 2008</b></blockquote><br>
			<h1>Master Jake Online Released</h1>
			<p class="meta">Posted by <b>Master Jake</b> on <b>Sunday, October 19, 2008</b></p>
<p>Welcome! If you are an active member of the Master Jake Community then you have been itching for the release of the new Multi-Genre website from the Master Jake Website Series. The newest site, Master Jake Online, is the first ever website from Jake Chappell that includes multi-genre activity and content a long with it's very first .com domain. All websites by Jake Chappell are considered BETA due to their openness to the ideas of viewers for expansion and remodeling. This means, your opinion <b>DOES MATTER</b> greatly here. Post your opinion today on the "Post Your Opinion" page. Thanks and enjoy!</p><br>
<h1>How Can You Help?</h1>
<p class="meta">Posted by <b>Master Jake</b> on <b>Sunday, October 19, 2008</b></p>
<p>Probably the biggest way you can help the website is by using and enjoying it. Become an active member of the Master Jake Community and encourage others to be active. This method will bring more users to Master Jake Online quickly and will allow the website to expand in variety and entertainment. Another way to help the website would of course be donating. By donating to the website you are helping to pay for the domain and services as well as helping Jake Chappell as the creator to buy new equipment. You can find the donate button below.<br><br>
<center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBDUrABb5/A5s+Wma3Vg8wM2wUX0WQyFDmSsCPYrE+Id2/gETKKGwN1etRf0e6+cfwvkVXwAami+X4CJXYLMf9YY8eaM4wBz8AYRHRwnQqi24lBDAjcQDMxuu9MUZ5bls+Ub0MiT9BaO4XVbvAtn+URGkbheGTw5pzO+vVApF+2tDELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIdPaVvIYZ2zuAgZDuB2lmvIZP49WKfk+oyBHllQpK2dJpnstLaLWBXWlotYxDurZRs6cDiN7r0ijbhki50BFxL9dxOUkAiuTGRnLCVKcexvfHyt3py/jIbQvW23TncSNZCFTRQhwc4kv8Iy6Kjn/ojQpCDscISJI79Z5FSax9XUlz1hRrxCllggkyqe8c+T8ZYki4uIrxStJz/gSgggOHMIIDgzCCAuygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheX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MLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wODEwMTkwODAzMzhaMCMGCSqGSIb3DQEJBDEWBBRd2sMsNttqXjco6mk/Owa12qaixTANBgkqhkiG9w0BAQEFAASBgA/k3o6HcdWJoPeqWolqQ9Pi4ya5avxm74vI+Esa/9nXTKhhg5l1yjj/9QF9/zALJK0fpj5RqcCPUm92vA+86vV3J+Xo/ADDAyIiVI53iKmfwuNNrNbPpJH1NRfe0MzQH0UfNovifLavIGl0ew9V+IxX22TGEib4dg+dTqov9I9m-----END PKCS7-----
">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</center>
</p>
				
		</td>
</tr>
</table>

	</td>
</tr>
</table>

</td></tr>
</table>
	
<?php
include("http://masterjake.x10hosting.com/include/body_footer.php");
?>

</td></tr>
</table>

</center>
</body>

</html>

right_table.php
Code:
<?php

echo "hello";
echo "hello again";
echo "etc etc etc";

?>

navigation.php
Code:
<h1>Main Menu</h1>
<ul>
<li><a href="http://masterjake.x10hosting.com/index.php">Home</a></li>
</ul>

body_footer.php
Code:
<div class="clearer"><span></span></div>
<div class="footer">
<span class="left">Copyright &copy; 2008 Jake Chappell. All rights reserved.</span>
<span class="right">Design by <a href="http://arcsin.se/">Arcsin</a></span>
<div class="clearer"><span></span></div>
</div>

NOTE: The files are so small because this is for my new site which I was kindly working on until this php problem complicated things. Also, I've built many sites before exactly like this without problems.
 

natsuki

New Member
Messages
112
Reaction score
0
Points
0
try removing or commenting the include("....rightable.php");.... temporarily and see if it loads the rest of the includes
 

TheMan177

New Member
Messages
179
Reaction score
0
Points
0
You've got code including external urls, such as:
Code:
include("http://masterjake.x10hosting.com/include/right_table.php");

If I remember correctly, PHP forbids inclusions of remote files by default. What happens when you try using a server path? If this is the problem you should be getting errors such is this in your error log:
Code:
[Tue Oct 21 03:40:36 2008] [error] [client 10.1.1.9] ALERT - Include filename ('http://apache.local/test1.php') is an URL that is not allowed (attacker '10.1.1.9', file '/var/www/htdocs/test1.php', line 1)
 
Last edited:

masterjake

New Member
Messages
73
Reaction score
0
Points
0
The "external url" is my website... and I can't find the error log so I'm assuming it's not throwing errors to create one.

On other hand, I took at the include right table part, it just renders the page down to the next include then stops again.

It's deffinately x10Hosting, I tried this on my localhost XAMPP php server and it worked perfectly. You guys might wanna look into it.
 

natsuki

New Member
Messages
112
Reaction score
0
Points
0
then it must be the include that is the problem, either some php related restriction is doing it or some server thing... or as TheMan177 said it might be a url_fopen issue or something .....
 

masterjake

New Member
Messages
73
Reaction score
0
Points
0
How do i fix it?
Edit:
I just replaced

Code:
<?php
include("something.php");
?>

with

Code:
<?php
require("something.php");
?>

and it works now. Why didn't someone tell me about this method v_v
 
Last edited:

xmakina

New Member
Messages
264
Reaction score
0
Points
0
because require isn't the same as include.

Require will fail the whole page if it can't load the file, include will just produce an error.

Although it's bizarre that require works when include doesn't....
 

dickey

New Member
Messages
128
Reaction score
0
Points
0
PHP:
<?php
include("http://masterjake.x10hosting.com/include/body_footer.php");
?>
I think the error comes from this.
try:
PHP:
<?php
include "/include/body_footer.php";
?>

instead.

Try to change your includes to unix-like directory syntax. remember '../' and './' works also. this avoids domain related problems.

Edit:
That's whats in the included file yes and since so many people want to see it all I'll include the entire source.

index.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="http://masterjake.x10hosting.com/default.css" media="screen"/>
<title>Master Jake Online</title>
</head>

<body>
<center>

<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="container">

<table border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="2">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
    <td class="header">Master Jake Online</td>
</tr>
</table>

</td><td rowspan="2" valign="top">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
    <td class="main_right" valign="top" align="left">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
        <td class="padded" valign="top" align="left"> 
            
<?php
include("http://masterjake.x10hosting.com/include/right_table.php");
?>

        </td>
</tr>
</table>

    </td></tr>
</table>

</td></tr>
<tr><td valign="top">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
    <td class="subnav" valign="top" align="left">

<?php
include("http://masterjake.x10hosting.com/include/navigation.php");
?>

    </td>
</tr>
</table>

</td><td valign="top">
    
<table border="0" cellspacing="0" cellpadding="0">
<tr>    
    <td class="main" align="left" valign="top">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
        <td class="padded" align="left" valign="top">

<blockquote>Last update: <b>Sunday, October 19, 2008</b></blockquote><br>
            <h1>Master Jake Online Released</h1>
            <p class="meta">Posted by <b>Master Jake</b> on <b>Sunday, October 19, 2008</b></p>
<p>Welcome! If you are an active member of the Master Jake Community then you have been itching for the release of the new Multi-Genre website from the Master Jake Website Series. The newest site, Master Jake Online, is the first ever website from Jake Chappell that includes multi-genre activity and content a long with it's very first .com domain. All websites by Jake Chappell are considered BETA due to their openness to the ideas of viewers for expansion and remodeling. This means, your opinion <b>DOES MATTER</b> greatly here. Post your opinion today on the "Post Your Opinion" page. Thanks and enjoy!</p><br>
<h1>How Can You Help?</h1>
<p class="meta">Posted by <b>Master Jake</b> on <b>Sunday, October 19, 2008</b></p>
<p>Probably the biggest way you can help the website is by using and enjoying it. Become an active member of the Master Jake Community and encourage others to be active. This method will bring more users to Master Jake Online quickly and will allow the website to expand in variety and entertainment. Another way to help the website would of course be donating. By donating to the website you are helping to pay for the domain and services as well as helping Jake Chappell as the creator to buy new equipment. You can find the donate button below.<br><br>
<center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBDUrABb5/A5s+Wma3Vg8wM2wUX0WQyFDmSsCPYrE+Id2/gETKKGwN1etRf0e6+cfwvkVXwAami+X4CJXYLMf9YY8eaM4wBz8AYRHRwnQqi24lBDAjcQDMxuu9MUZ5bls+Ub0MiT9BaO4XVbvAtn+URGkbheGTw5pzO+vVApF+2tDELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIdPaVvIYZ2zuAgZDuB2lmvIZP49WKfk+oyBHllQpK2dJpnstLaLWBXWlotYxDurZRs6cDiN7r0ijbhki50BFxL9dxOUkAiuTGRnLCVKcexvfHyt3py/jIbQvW23TncSNZCFTRQhwc4kv8Iy6Kjn/ojQpCDscISJI79Z5FSax9XUlz1hRrxCllggkyqe8c+T8ZYki4uIrxStJz/gSgggOHMIIDgzCCAuygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0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lldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wODEwMTkwODAzMzhaMCMGCSqGSIb3DQEJBDEWBBRd2sMsNttqXjco6mk/Owa12qaixTANBgkqhkiG9w0BAQEFAASBgA/k3o6HcdWJoPeqWolqQ9Pi4ya5avxm74vI+Esa/9nXTKhhg5l1yjj/9QF9/zALJK0fpj5RqcCPUm92vA+86vV3J+Xo/ADDAyIiVI53iKmfwuNNrNbPpJH1NRfe0MzQH0UfNovifLavIGl0ew9V+IxX22TGEib4dg+dTqov9I9m-----END PKCS7-----
">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</center>
</p>
                
        </td>
</tr>
</table>

    </td>
</tr>
</table>

</td></tr>
</table>
    
<?php
include("http://masterjake.x10hosting.com/include/body_footer.php");
?>

</td></tr>
</table>

</center>
</body>

</html>
right_table.php
Code:
<?php

echo "hello";
echo "hello again";
echo "etc etc etc";

?>
navigation.php
Code:
<h1>Main Menu</h1>
<ul>
<li><a href="http://masterjake.x10hosting.com/index.php">Home</a></li>
</ul>
body_footer.php
Code:
<div class="clearer"><span></span></div>
<div class="footer">
<span class="left">Copyright &copy; 2008 Jake Chappell. All rights reserved.</span>
<span class="right">Design by <a href="http://arcsin.se/">Arcsin</a></span>
<div class="clearer"><span></span></div>
</div>
NOTE: The files are so small because this is for my new site which I was kindly working on until this php problem complicated things. Also, I've built many sites before exactly like this without problems.

Funny how you say this is your site source when in the link you provided it uses frameset. :)
 
Last edited:

masterjake

New Member
Messages
73
Reaction score
0
Points
0
That's because I use domain fowarding and that's how it displays my site as a .com

=D

Anyway, I know the "include/stuff.php" works instead of full domain, I just used full to save time since I was going to be working with multi-directories and didn't want to edit each pages include directories.

I'm pretty sure I tried "include/something.php" and it failed too, but either way, require fixed it so it's all good =D
 
Top