destor Posted August 6, 2008 Share Posted August 6, 2008 Could someone please tell me why the site loads properly on the main page but not on the subpages? ------------------------------- www promotersfriend dot com ------------------------------- Thanks a lot, Destor Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/ Share on other sites More sharing options...
BioBob Posted August 6, 2008 Share Posted August 6, 2008 Cant explain without more of an explination and maybe some source code, an error, something other than "it doesnt work". My car dont start, why? Well what exactly is or isnt it doing? Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-609099 Share on other sites More sharing options...
destor Posted August 6, 2008 Author Share Posted August 6, 2008 Hi there, thanks for answering. Well, for example, try going to .. Search It's a mess! Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-609100 Share on other sites More sharing options...
wildteen88 Posted August 6, 2008 Share Posted August 6, 2008 You'll need to show some code, we don't know how your site is setup. Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-609531 Share on other sites More sharing options...
destor Posted August 6, 2008 Author Share Posted August 6, 2008 Ok, look can't paste all the code here. I leave my msn : rorroson24 at hotmail dot com Please add me wildteen88. I need to fix this asap. I appreciate your help, Thanks Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-609964 Share on other sites More sharing options...
Jabop Posted August 6, 2008 Share Posted August 6, 2008 No one is going to contact you. Post your code here and the community will attempt to resolve your problem. It is also frowned upon to ask people to help you because you 'need to fix this asap.' Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-609973 Share on other sites More sharing options...
destor Posted August 6, 2008 Author Share Posted August 6, 2008 Wasn't my intention. I just came here looking for some help. I am really sorry. Ok let's start again, the problem on the page is that the index.php is working properly, but the subpages not, can u please take a look Jabop? Thanks again Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-609975 Share on other sites More sharing options...
wildteen88 Posted August 6, 2008 Share Posted August 6, 2008 We need to see some CODE! We cannot suggest anything to you with out knowing how your site functions. You should only post the relevant PHP code. Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610066 Share on other sites More sharing options...
destor Posted August 6, 2008 Author Share Posted August 6, 2008 This is the code of one the pages that doesn't load properly. (http://promotersfriend.com/contact.php) <? require "vars.php"; require "cron.php"; include "header.php"; ?> <link href="styles.css" rel="stylesheet" type="text/css"> <table width="500" border="0" cellspacing="0" cellpadding="4"> <tr> <td><font size="3"><strong>Contact Us</strong></font></td> </tr> <tr> <td><p> </p> <form action="contact2.php" method="post"> <table width="500" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="166">Name:</td> <td width="351"><input name="name" type="text" id="name"></td> </tr> <tr> <td>Email Address:</td> <td><input name="email" type="text" id="email"></td> </tr> <tr> <td>Type of Account:</td> <td><select name="account" id="account"> <option value="Webmaster" selected>Webmaster</option> <option value="Freelancer">Freelancer</option> <option value="Not a member">Not a member</option> </select></td> </tr> <tr> <td>User ID (if you are a member)</td> <td><input name="username" type="text" id="username"></td> </tr> <tr> <td valign="top">Comments:</td> <td><textarea name="comments" cols="35" rows="10" id="comments"></textarea></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Submit"></td> </tr> </table> </form> <p> </p></td> </tr> <tr> <td> </td> </tr> </table> <? include "footer.php"; ?> Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610125 Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Seems like a CSS or HTML problem. Try fixing these: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fpromotersfriend.com%2Fcontact.php http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fpromotersfriend.com%2Fcontact.php Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610127 Share on other sites More sharing options...
destor Posted August 6, 2008 Author Share Posted August 6, 2008 Ok I replaced the style.css with the code that the page gave me, but I don't understand much on the other one (Markup Validation Service) , there are so many errors, where to start ? ??? Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610140 Share on other sites More sharing options...
destor Posted August 6, 2008 Author Share Posted August 6, 2008 the page still loads incorrectly Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610223 Share on other sites More sharing options...
destor Posted August 7, 2008 Author Share Posted August 7, 2008 someone knows what can be the reason? Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610479 Share on other sites More sharing options...
destor Posted August 7, 2008 Author Share Posted August 7, 2008 up Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610708 Share on other sites More sharing options...
destor Posted August 7, 2008 Author Share Posted August 7, 2008 Delete the topic please. Thanks Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610720 Share on other sites More sharing options...
wildteen88 Posted August 7, 2008 Share Posted August 7, 2008 Delete the topic please. Thanks Why have you solved the issue? However I believe the issue is to do with header.php. Can you post the contents of header.php Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-610766 Share on other sites More sharing options...
destor Posted August 7, 2008 Author Share Posted August 7, 2008 Yes it's solved! Please delete this post. Thanks Link to comment https://forums.phpfreaks.com/topic/118355-solved-php-page-wont-load-properly/#findComment-611177 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.