i'm developing a website and am trying to integrate a code in my template. But when I integrated the code, the website went blank and just give me white background. The contents were gone.
Here is the 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" xml:lang="en" lang="en">
{{head}}
<body class="home">
{{skip-links}}
<div class="page_margins">
<div class="page">
{{header}}
{{main-nav}}
<!-- begin: main content area #main -->
<div id="main">
<!-- begin: #col2 second float column -->
<div id="col2">
<div id="col2_content" class="clearfix">
<!--{{news-box}}-->
<!-- {{events-box}}-->
{{eventsdebox}}
{{articles-box}}
{{success-box}}
</div>
</div>
<!-- end: #col2 -->
<!-- begin: #col3 static column -->
<div id="col3">
<!--<div id="col3_content" class="clearfix">
<div id="home">
<div id="home">
<p class="float_left"><a href="[~399~]">w4</a></p>
</div>
<div id="home">
<p class="float_right"><a href="[~5~]">product</a></p开发者_如何学编程>
</div>
</div>-->
<div id="tintin"> </div>
<div class="image" style="background-image:url('pic007s.jpg');">
<div style="left:25px; top:180px"><a href="http://www.web.com/en/solutions">Text 1</a> </div>
<div style="left:30px; top:80px"><a href="http://www.web.com/en/solutions">Text 2</div>
<div style="left:60px; top:30px"><a href="http://www.web.com/en/solutions">Text 3</div>
<div style="right:60px; top:30px"><a href="http://www.web.com/en/solutions">Text 4</div>
<div style="right:40px; top:80px"><a href="http://www.web.com/en/solutions">Text 5</div>
<div style="right:20px; top:180px"><a href="http://www.web.com/en/solutions">Text 6</div>
<div style="right:40px; top:250px"><a href="http://www.web.com/en/solutions">Text 7</div>
<div style="right:75px; top:300px"><a href="http://www.web.com/en/solutions">Text 8</div>
<div style="left:80px; top:300px"><a href="http://www.web.com/en/solutions">Text 9</div>
<div style="left:50px; top:250px"><a href="http://www.web.com/en/solutions">Text 10</div>
{{teaser-box}}
</div>
<!-- IE column clearing -->
<div id="ie_clearing"> </div>
</div>
<!-- end: #col3 -->
</div>
<!-- end: #main -->
{{footer}}
</div>
</div>
<!-- full skiplink functionality in webkit browsers-->
<script src="assets/templates/ourtemplate/yaml/core/js/webkit-focusfix.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; class=MsoNormal; charset=iso-8859-1"/>
</html>
Try these:
- Try clearing the global cache, log out of the manager and clear your browser cache.
- Could be that you have an incorrectly formatted line of PHP code that makes MODx produce a completely blank page. Review your snippets & plugins! (Even 3rd party plugins could have errors). Here's a php checker tool.
- Check permissions. Make sure elements can be read/loaded by the user.
- Check the server logs for issues and run phpinfo to make sure all is well setup.
精彩评论