Guest itrobb Posted November 7, 2010 Report Share Posted November 7, 2010 Made a few changes to my layout.tpl earlier, and refreshed the page and there is nothing! Help! All I did was change something in the login form and then everything disappeared but the form, and then I deleted the form and everything disappeared! Anyone? Quote Link to comment Share on other sites More sharing options...
Strider Posted November 7, 2010 Report Share Posted November 7, 2010 Sounds like you caused an error in php. When that happens, it stops everything else from showing. Quote Link to comment Share on other sites More sharing options...
Guest itrobb Posted November 7, 2010 Report Share Posted November 7, 2010 Any advice on what I can try? It's usually something I'd try to work out, but I'm busy. Quote Link to comment Share on other sites More sharing options...
Guest itrobb Posted November 10, 2010 Report Share Posted November 10, 2010 Any suggestions? I tried removing some code I added on my frontpage.tpl, but nothing works! Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 10, 2010 Report Share Posted November 10, 2010 Hopefully you had a backup of your file that you modified. If so, simply upload your backup and it should be fixed. If you did not have a backup, then chalk this one up as lesson learned. Always do backups before modifying any files. And even then you should always modify files on a test site that is closed to public. Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted November 10, 2010 Report Share Posted November 10, 2010 Look at the source of your main page. Looks like you need to close the <style> Quote Link to comment Share on other sites More sharing options...
Guest itrobb Posted November 10, 2010 Report Share Posted November 10, 2010 Hopefully you had a backup of your file that you modified. If so, simply upload your backup and it should be fixed. If you did not have a backup, then chalk this one up as lesson learned. Always do backups before modifying any files. And even then you should always modify files on a test site that is closed to public. Come to think of it, I think I did have a backup, so I'll dig it up later. By the way my site is closed to the public for now. Cheers. And lorathon, I'll try that now. If it works, you're my new best friend Quote Link to comment Share on other sites More sharing options...
Guest itrobb Posted November 10, 2010 Report Share Posted November 10, 2010 Cheers lorathon, it kinda worked. Not sorted yet though, if you click my sig you'll see that it doesn't show everything. Where do I put the </style>? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted November 10, 2010 Report Share Posted November 10, 2010 I don't know your template but it looks like you have the <body></body> completed encapsulated in the <style> tags. I am not much on html but I don't think that will work. from source on your site <?xml version='1.0'?> <style type="text/css"> <---- I would take this and the bottom </style> out <body> <div class="jqmWindow" id="jqmdialog"></div><div id="header"> <div id="logo"> </div> <ul id="css3menu" class="topmenu"> <li class="topfirst"><a href="http://www.freshjetvirtual.com/index.php" title="Home">Home</a></li> <li class="topmenu"><a href="http://www.freshjetvirtual.com/index.php/pages/aboutus" title="About Us"><span>About Us</span></a> <ul> <li><a href="http://www.freshjetvirtual.com/index.php/pages/staff" title="Staff">Staff</a></li> <li><a href="http://www.freshjetvirtual.com/index.php/pages/services" title="Services">Services</a></li> </ul> </li> <li class="topmenu"><a href="http://www.freshjetvirtual.com/index.php/profile" title="Pilot Centre">Pilot Centre</a></li> <li class="topmenu"><a href="#" title="Operations"><span>Operations</span></a> <ul> <li><a href="http://www.freshjetvirtual.com/index.php/pages/ourfleet" title="Fleet">Fleet</a></li> <li><a href="http://www.freshjetvirtual.com/index.php/pilots" title="Pilot Roster">Pilot Roster</a></li> <li><a href="http://www.freshjetvirtual.com/index.php/schedules" title="Schedules">Schedules</a></li> <li><a href="http://www.freshjetvirtual.com/index.php/pages/routemap" title="Route Map">Route Map</a></li> <li><a href="http://www.freshjetvirtual.com/index.php/pages/ourhubs" title="Our Hubs">Our Hubs</a></li> </ul> </li> <li class="topmenu"><a href="http://www.freshjetvirtual.com/index.php/acars" title="Live Flights">Live Flights</a></li> <li class="topmenu"><a href="http://www.freshjetvirtual.com/index.php/pages/contactus" title="Contact Us">Contact Us</a></li> <li class="toplast"><a href="http://www.freshjetvirtual.com/index.php/login" title="Crew Login">Crew Login</a></li> </ul> </body> </html> </style> Quote Link to comment Share on other sites More sharing options...
Guest itrobb Posted November 11, 2010 Report Share Posted November 11, 2010 It worked! Thank you so much! Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted November 11, 2010 Report Share Posted November 11, 2010 Happy to help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.