IvanovSI
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Theme only loading header.phpLast post, Found the problem.
The person who was working on the site felt that extra Javascript files should not be placed in the folder with the theme, but rather store them in a separate folder in the index folder of the site.
Thank you for you help.
Forum: Fixing WordPress
In reply to: Theme only loading header.phpYes the main website is running the exact same code and its fine. And I honestly have no clue, but I think it might be.
*Edit Just did a completely new and fresh install of wordpress and made sure it was the newest version (3.4.2) and still the same problem.
Forum: Fixing WordPress
In reply to: Theme only loading header.phpThe link I posted is the Main Online Website, Im trying to create an offline version of it, a sandbox so I can update the site with worrying about breaking it
<? get_header(); ?> <div class="products"> <a href="http://nyce-control.dev/products"><img src="/wp-content/uploads/2012/10/control-products-e1349390601493.png" /></a> </div><!--products--> <? /* <div id="main" class="post"> <? get_a_post(35); the_content(); ?> </div><!-- /main --> */ ?> <? include(TEMPLATEPATH . '/news-signup.php'); get_footer(); ?>That is the Index.php
Also I think theres a database problem on top of this, when ever I import the data base from the main site it only loads the header.php
*Edit, So What I ment, was when I import the database with PhpMyAdmin it messes everything up(As in a complete blank page), but if I do it with WordPress it does not(As in there is at least some text and it loads the footer.
Also any other pages just load the header, what I mean by that is if I go to the page and view the page source I only see the code that is in the header. Code is in the first post
Forum: Fixing WordPress
In reply to: Theme only loading header.phpMade a little progress … I dropped the Database then ran wordpress and re-made them. Now It shows a little bit of text, all of it unformated from the Foot and and Header. When I checked the Page Source I noticed that only 3 files are being loaded. Header.php, Index.php and Footer.php
Page Source as it is right now<!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" xml:lang="en" lang="en"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>SandBox 1 — Just another WordPress site</title> <meta name='robots' content='noindex,nofollow' /> <link rel='index' title='SandBox 1' href='http://sandbox/wordpress' /> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> <link rel="stylesheet" type="text/css" media="screen, projection" href="/wp-content/themes/nyce/style.css?" /> <link rel="stylesheet" type="text/css" media="print" href="/wp-content/themes/nyce/print.css" /> <link rel="pingback" href="http://sandbox/wordpress/xmlrpc.php" /> <link rel="alternate" type="application/rss+xml" title="SandBox 1" href="http://sandbox/wordpress/?feed=atom" /> <script src="/javascripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script src="/javascripts/cufon.js" type="text/javascript"></script> <script src="/javascripts/futura-med.font.js" type="text/javascript"></script> <script type="text/javascript"> Cufon.replace('h1, h4, #menu-nav li a, #prod-list a, .product h3', { hover: true }); $(document).ready(function(){ $("div.box").hide(); $("div.headlines").show(); $("li#headlines a").click( function() { $("div.signup").hide(); $("div.headlines").show(); $("li#signup").removeClass("active"); $("li#headlines").addClass("active"); return false; }); $("li#signup a").click( function() { $("div.headlines").hide(); $("div.signup").show(); $("li#headlines").removeClass("active"); $("li#signup").addClass("active"); return false; }); }); </script> </head> <!-- Stops loading everything past here --> <body id="www_nycetechnology_com" class="home blog logged-in home"> <div class="header container"> <div id="header"> <div id="logo"><a href="http://sandbox/wordpress">SandBox 1</a></div> <h4>Just another WordPress site</h4> <span class="reset"> </span> <!-- t <!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" xml:lang="en" lang="en"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>SandBox 1 — Just another WordPress site</title> <meta name='robots' content='noindex,nofollow' /> <link rel='index' title='SandBox 1' href='http://sandbox/wordpress' /> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> <link rel="stylesheet" type="text/css" media="screen, projection" href="/wp-content/themes/nyce/style.css?" /> <link rel="stylesheet" type="text/css" media="print" href="/wp-content/themes/nyce/print.css" /> <link rel="pingback" href="http://sandbox/wordpress/xmlrpc.php" /> <link rel="alternate" type="application/rss+xml" title="SandBox 1" href="http://sandbox/wordpress/?feed=atom" /> <script src="/javascripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script src="/javascripts/cufon.js" type="text/javascript"></script> <script src="/javascripts/futura-med.font.js" type="text/javascript"></script> <script type="text/javascript"> Cufon.replace('h1, h4, #menu-nav li a, #prod-list a, .product h3', { hover: true }); $(document).ready(function(){ $("div.box").hide(); $("div.headlines").show(); $("li#headlines a").click( function() { $("div.signup").hide(); $("div.headlines").show(); $("li#signup").removeClass("active"); $("li#headlines").addClass("active"); return false; }); $("li#signup a").click( function() { $("div.headlines").hide(); $("div.signup").show(); $("li#headlines").removeClass("active"); $("li#signup").addClass("active"); return false; }); }); </script> </head> <!-- Stops loading everything past here --> <body id="www_nycetechnology_com" class="home blog logged-in home"> <div class="header container"> <div id="header"> <div id="logo"><a href="http://sandbox/wordpress">SandBox 1</a></div> <h4>Just another WordPress site</h4> <span class="reset"> </span> <!-- Removing this removes the main menu--> <div class="menu"><ul><li class="page_item page-item-2"><a href="http://sandbox/wordpress/?page_id=2" title="About">About</a></li><li class="page_item page-item-8"><a href="http://sandbox/wordpress/?page_id=8" title="Blank Filler Pa">Blank Filler Pa</a></li><li class="page_item page-item-5"><a href="http://sandbox/wordpress/?page_id=5" title="Blank Filler Pag">Blank Filler Pag</a></li><li class="page_item page-item-3"><a href="http://sandbox/wordpress/?page_id=3" title="Blank Filler Page">Blank Filler Page</a></li></ul></div> </div></div><!-- /header --> <div class="content container"> <div id="content"><div class="inner"><!-- Main Index Page--> <div class="products"> </div><!--products--> <!--Blank.. Well it was before this--><!-- Footer--> <span class="reset"></span> </div></div></div><!-- /content --> <div class="footer container"> <div id="footer"> <div class="alignleft"> <p class="bigger"><span>NYCE Control Inc.</span> Invisible Sensors for Life.</p> <!-- Change which menu is on the bottom (Changed 11.21.2012) Iavor Ivanov. Set it to menu naw --> </div> <div class="alignright"> <p>© 2012 NYCE Control Inc . All Rights Reserved.<br /></p> </div> </div></div><!-- /footer --> </body> </html> he main menu--> <div class="menu"><ul><li class="page_item page-item-2"><a href="http://sandbox/wordpress/?page_id=2" title="About">About</a></li><li class="page_item page-item-8"><a href="http://sandbox/wordpress/?page_id=8" title="Blank Filler Pa">Blank Filler Pa</a></li><li class="page_item page-item-5"><a href="http://sandbox/wordpress/?page_id=5" title="Blank Filler Pag">Blank Filler Pag</a></li><li class="page_item page-item-3"><a href="http://sandbox/wordpress/?page_id=3" title="Blank Filler Page">Blank Filler Page</a></li></ul></div> </div></div><!-- /header --> <div class="content container"> <div id="content"><div class="inner"><!-- Main Index Page--> <div class="products"> </div><!--products--> <!--Blank.. Well it was before this--><!-- Footer--> <span class="reset"></span> </div></div></div><!-- /content --> <div class="footer container"> <div id="footer"> <div class="alignleft"> <p class="bigger"><span>NYCE Control Inc.</span> Invisible Sensors for Life.</p> </div> <div class="alignright"> <p>© 2012 NYCE Control Inc . All Rights Reserved.<br /></p> </div> </div></div><!-- /footer --> </body> </html>Any help would be useful, also this is an offline server so I can try really crazy things to fix it..
Interesting thing If I copy the code I pasted above put it in notpade and make and Html it looks like what the site does right now
Forum: Fixing WordPress
In reply to: Theme only loading header.phpI changed all the short tags to be fulls ones, nothing changed