I recently converted a Wordpress theme to my Drupal site following the instructions in this thread; http://drupal.org/node/313510

Per the instructions I put the following into the <Head> section of the theme's page.tpl;

<title><?php print $head_title; ?></title>
  <?php print $head; ?>
  <?php print $styles; ?>
  <?php print $scripts; ?>

The problem was the <?php print $scripts; ?> was giving me a blank white page. Removing it gave me my theme back.

So that problem was solved.

The remaining problem is in the admin blocks page. No cross hair handles to move the blocks around. It seems you need the scripts function for the handles to appear.

What to do?

Comments

rolodmonkey’s picture

You need the $scripts variable in order to include any JavaScript.

Have you checked the 'Recent log entries' to see if Drupal caught any errors when you got the WSOD (White Screen of Death)?

If there isn't anything in the Drupal logs, do you have access to the apache error logs?

--

Read more at iRolo.net

ckleiman’s picture

This may sound like a dumb question, but, where can I find the Drupal logs? When I click Logging and Alerts in System Admin I get nothing.

rolodmonkey’s picture

Do you have the 'Database Logging' module turned on? If not, you should. Then, go to Admin -> Reports -> Recent Log Entries (/admin/reports/dblog).

--

Read more at iRolo.net

ckleiman’s picture

Apache error log white screen of death:

[Tue Apr 26 14:43:25 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/default.css, referer: http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/style.css?m

Apache error log site ok

[Tue Apr 26 14:46:19 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/default.css, referer: http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/style.css?m

I notice the same error log for both scenarios so I found the default.css file and put where supposed to be and still same problem only now it says can't find base.css in /Asian_Pro_Night/ so I put that file there and now it says it still can't find.

When I remove the scripts from the page.tpl the site comes back as usual.

rolodmonkey’s picture

Two things:

1. The CSS is included with the $styles variable, so these errors are almost definitely not related to your problem.
2. A missing CSS file shouldn't cause the whole page to go blank, unless the missing CSS is causing you to print white text on a white background, or something similar.

--

Read more at iRolo.net

jaypan’s picture

What do you see when you look at the page source on the white screen of death?

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

The source code is identical. Only problem is just a white screen of death.

rolodmonkey’s picture

We are not talking about the PHP "source" code. When you load the page, go to View -> Source in your browser. Is there anything there?

--

Read more at iRolo.net

ckleiman’s picture

Yes, I was talking about the View page source in browser. The source code is all there. Just like when working. Only problem, white screen of death.

BTW, if this helps, I'm doing all this experimenting on my computer localhost using Wampserver. I want to test and verify b4 uploading to my server.

rolodmonkey’s picture

I have a funny feeling, please post all of your code from page.tpl.php.

--

Read more at iRolo.net

ckleiman’s picture

<!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" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
  

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php print $head_title; ?></title>
<?php print $head; ?>
  <?php print $styles; ?>
    
  
<meta name="description" content="" />

<link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/styles/default.css" type="text/css" media="screen,projection" /><link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/layouts/2c-r-fixed.css" type="text/css" />



<!-- Generated by Asian_Pro_Night WP Theme -->

	<link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/user.css" type="text/css" media="screen,projection" /></head>

<body class="home blog layout-2c-r-fixed no-js style-default">


<div id="top-menu" class="clearfix">

</div><!-- #top-menu -->

<div id="header">
	

<div id="branding" class="clearfix">

<div class="logo">	
	
				
			
    <img border="0" src="http://127.0.0.1/drupal-6.11/sites/all/themes/Asian_Pro_Night/images/logo_Asian_Gold_4.png"></td>



	
</div>
	</div><!-- #branding -->

</div><!-- #header -->

<div id="nav">
	<div id="nav-content" class="clearfix">
	<ul class="sf-menu menu clearfix">	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/40" title="Audio">Audio</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/34 35 36 33 32" title="Control Systems">Control</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/42 43 44" title="HDMI Matrix Switchers">HDMI Matrix Switchers</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/21 20" title="Component, VGA and RGBHV Matrix Switchers">Matrix Switchers</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/12 13" title="Multiple Input Video Scalers">Video Scalers</a>
	
</li>
</ul>		<ul class="quick-nav clearfix">
					
						
						
			</ul>

	</div><!-- #nav-content -->
</div><!-- #nav -->

<div id="wrapper">
	
	  
	<div id="main" class="clearfix">
    <div id="container" class="clearfix">


<div id="content" class="section"><?php print $breadcrumb; ?>
<?php if ($mission): ?><div id="mission"><?php print $mission; ?></div><?php endif; ?>

<div id="content">
<?php if ($title): ?><h1 class="title"><?php print $title; ?></h1><?php endif; ?>
<?php if ($tabs): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
<?php if ($show_messages): print $messages; endif; ?>
<?php print $help; ?>

<?php print $content; ?>

</div>
 
	
	







<div id="bottom-content-1">
	</div>

<div id="bottom-content-2">
	</div>


</div><!-- #content -->
    
</div><!-- #container -->


<div id="primary" class="aside main-aside sidebar">
  
	<ul class="xoxo">
					<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Main Menu</h5>
				<div class="widgetcontent">

				<div class="textwidget">
					<p><?php print $right; ?></p>
				</div>
				</div>
			</li>
			<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Viewed best in Firefox browser</h5>
				<div class="widgetcontent"><ul><li><br><a target="blank" href='http://www.mozilla.com?from=sfx&amp;uid=0&amp;t=561'><img src='http://sfx-images.mozilla.org/firefox/3.6/125x125.png' alt='Spread Firefox Affiliate Button' border='0' </li></a></ul>

				</div>
			</li>
		<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Infocomm 2011 Orlando Convention Center</h5>
				<div class="tags widgetcontent"><a target="_blank" href="http://www.infocommshow.org">
<img border="0" src="http://www.asianproav.com/images/IC11.jpg" width="150" height="180"></a>


								</div>
			</li>
			</ul>
</div><!-- #primary -->
<div id="secondary" class="aside main-aside sidebar">
    <ul class="xoxo">
        <!-- Widgetized sidebar, if you have the plugin installed.  -->
        		<li></li>		
            </ul>
	  
</div><!-- #secondary -->

	</div><!-- #main -->
	
	    
    <div id="footer">
		<div class="footer-sidebar-container clearfix">
							<ul id="footer-sidebar-1" class="footer-sidebar clearfix xoxo">
										<li></li>
									</ul>
					</div>
		
		<div class="footer-message">
		
		<p><center>Copyright 2011 Asian Pro AV. All Rights Reserved.</center></p>		
		</div><!-- .footer-message -->
    </div>
</div><!-- #wrapper -->
<?php print $closure; ?>

</body>
</html>
   
rolodmonkey’s picture

Where is the $scripts variable?

--

Read more at iRolo.net

ckleiman’s picture

if I put this variable in I get the white screen so you're looking at the "working" page.tpl

As soon as I put it in the <Head> section right after the style variable and refresh the browser I get the white screen.

It doesn't seem to matter if I put the scripts variable in the <head><body> or elsewhere it still gives me the white screen. Just remove it and my site comes back without moving side handles on the blocks page.

Can the block order be changed in the data base?

rolodmonkey’s picture

You need to find out why the $scripts variable is breaking your site. It is responsible for a lot more than just re-arranging blocks.

I think there may have been a misunderstanding earlier. When you add the $scripts variable, do you get any HTML output at all, or is the View -> Source completely blank?

And again, when you add the $scripts variable, does anything new show up in the error logs, either Admin -> Reports -> Recent log entries, or the apache error logs?

--

Read more at iRolo.net

rolodmonkey’s picture

Also, please post all of the generated HTML between your opening tag and your closing tag.

--

Read more at iRolo.net

ckleiman’s picture

<!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" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Asian Pro AV</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if lt IE 7]>
            <script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);
              var BlankImgPath = "/drupal-6.11/modules/pngbehave";
 	    </script>
        <style type="text/css">img { behavior: url(/drupal-6.11/modules/pngbehave/iepngfix.htc)} </style>
        <script type="text/javascript" src="/drupal-6.11/modules/pngbehave/iepngfix_tilebg.js"></script>
    <![endif]-->
<link rel="alternate" type="application/rss+xml" title="Asian Pro AV RSS" href="http://localhost/drupal-6.11/?q=rss.xml" />

<link rel="shortcut icon" href="/drupal-6.11/misc/favicon.ico" type="image/x-icon" />
  <link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/gallery/gallery.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/gallery/gallery_filter.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/node/node.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/poll/poll.css?m" />

<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/switchtheme/switchtheme.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/defaults.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/system.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/system-menus.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/user/user.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/sites/all/themes/Asian_Pro_Night/style.css?m" />
    
  
<meta name="description" content="" />

<link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/styles/default.css" type="text/css" media="screen,projection" /><link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/layouts/2c-r-fixed.css" type="text/css" />



<!-- Generated by Asian_Pro_Night WP Theme -->

	<link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/user.css" type="text/css" media="screen,projection" /></head>

<body class="home blog layout-2c-r-fixed no-js style-default">


<div id="top-menu" class="clearfix">

</div><!-- #top-menu -->

<div id="header">
	

<div id="branding" class="clearfix">

<div class="logo">	
	
				
			
    <img border="0" src="http://127.0.0.1/drupal-6.11/sites/all/themes/Asian_Pro_Night/images/logo_Asian_Gold_4.png"></td>



	
</div>
	</div><!-- #branding -->

</div><!-- #header -->

<div id="nav">
	<div id="nav-content" class="clearfix">
	<ul class="sf-menu menu clearfix">	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/40" title="Audio">Audio</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/34 35 36 33 32" title="Control Systems">Control</a>

	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/42 43 44" title="HDMI Matrix Switchers">HDMI Matrix Switchers</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/21 20" title="Component, VGA and RGBHV Matrix Switchers">Matrix Switchers</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/12 13" title="Multiple Input Video Scalers">Video Scalers</a>
	
</li>
</ul>		<ul class="quick-nav clearfix">
					
						
						
			</ul>

	</div><!-- #nav-content -->

</div><!-- #nav -->

<div id="wrapper">
	
	  
	<div id="main" class="clearfix">
    <div id="container" class="clearfix">


<div id="content" class="section">
<div id="content">

<div id="node-4" class="node clear-block">


  <h2><a href="/drupal-6.11/?q=node/4" title="New Mini-Touch wireless touch panel">New Mini-Touch wireless touch panel</a></h2>

  <div class="meta">
  
    </div>

  <div class="content">
    <p><H2></h2><br />
<body></body></p>
<div class="imgright2">
<img src="http://www.asianproav.com/images/Mini_TP3.jpg" border="0" width="400" height="400" title="Mini-Touch wireless touch panel" />
</div>
<p>
The new Mini-Touch from Asian Pro is a stand alone remote control featuring a small footprint with a 4.3” color LCD display.<br /><br />

In stand alone mode the Mini-Touch can send IR (Infrared) codes to control up to 16 IR devices as well as IR codes and serial command strings via RF (radio frequency) to control devices by RS232 protocol. A Wi-Fi version controls devices over Ethernet.<br /><br /></p>
  </div>

  <ul class="links inline"><li class="node_read_more first last"><a href="/drupal-6.11/?q=node/4" title="Read the rest of New Mini-Touch wireless touch panel.">Read more</a></li>
</ul></div>
</div>
 
	
	







<div id="bottom-content-1">
	</div>

<div id="bottom-content-2">
	</div>


</div><!-- #content -->
    
</div><!-- #container -->


<div id="primary" class="aside main-aside sidebar">
  
	<ul class="xoxo">
					<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Main Menu</h5>
				<div class="widgetcontent">

				<div class="textwidget">
					<p><div id="block-user-1" class="block block-user">

  <div class="content">
    <ul class="menu"><li class="leaf first"><a href="http://www.asianproav.com" title="">Home</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=contact">Contact</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=node/46" title="iPad control">iPad</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=node/35" title="About Asian Pro AV">Overview</a></li>

<li class="collapsed"><a href="/drupal-6.11/?q=taxonomy/term/45%2030%2046%2029" title="">Software Downloads</a></li>
<li class="leaf"><a href="http://www.asianproav.com/fgallery1/index.html" title="Graphical User Interfaces (GUIs)">Touch Panel graphics</a></li>
<li class="leaf"><a href="http://asianproav.com/?q=node/26" title="Programming Webinars">Webinar Schedule</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=node/34" title="">Where to buy</a></li>
<li class="leaf last"><a href="/drupal-6.11/?q=gallery2" title="Visit your embedded Gallery2.">Gallery</a></li>
</ul>  </div>
</div>
</p>
				</div>
				</div>

			</li>
			<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Viewed best in Firefox browser</h5>
				<div class="widgetcontent"><ul><li><br><a target="blank" href='http://www.mozilla.com?from=sfx&amp;uid=0&amp;t=561'><img src='http://sfx-images.mozilla.org/firefox/3.6/125x125.png' alt='Spread Firefox Affiliate Button' border='0' </li></a></ul>

				</div>
			</li>
		<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Infocomm 2011 Orlando Convention Center</h5>

				<div class="tags widgetcontent"><a target="_blank" href="http://www.infocommshow.org">
<img border="0" src="http://www.asianproav.com/images/IC11.jpg" width="150" height="180"></a>


								</div>
			</li>
			</ul>
</div><!-- #primary -->
<div id="secondary" class="aside main-aside sidebar">
    <ul class="xoxo">
        <!-- Widgetized sidebar, if you have the plugin installed.  -->

        		<li></li>		
            </ul>
	  
</div><!-- #secondary -->

	</div><!-- #main -->
	
	    
    <div id="footer">
		<div class="footer-sidebar-container clearfix">
							<ul id="footer-sidebar-1" class="footer-sidebar clearfix xoxo">
										<li></li>
									</ul>

					</div>
		
		<div class="footer-message">
		
		<p><center>Copyright 2011 Asian Pro AV. All Rights Reserved.</center></p>		
		</div><!-- .footer-message -->
    </div>
</div><!-- #wrapper -->

</body>
</html>
   
jaypan’s picture

Again, what does the source code look on the page when it is the white screen of death?

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

I've posted it already. Look above your post and you'll see.

jaypan’s picture

Where? You hadn't shown any html source before the post where you said you had posted it already.

Load the code that gives you the WSOD, then right click the page and click 'view source' (just 'source' in some browsers). Copy and paste that here.

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

<!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" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Asian Pro AV</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if lt IE 7]>
            <script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);
              var BlankImgPath = "/drupal-6.11/modules/pngbehave";
 	    </script>
        <style type="text/css">img { behavior: url(/drupal-6.11/modules/pngbehave/iepngfix.htc)} </style>
        <script type="text/javascript" src="/drupal-6.11/modules/pngbehave/iepngfix_tilebg.js"></script>
    <![endif]-->
<link rel="alternate" type="application/rss+xml" title="Asian Pro AV RSS" href="http://localhost/drupal-6.11/?q=rss.xml" />

<link rel="shortcut icon" href="/drupal-6.11/misc/favicon.ico" type="image/x-icon" />
  <link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/gallery/gallery.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/gallery/gallery_filter.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/node/node.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/poll/poll.css?m" />

<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/switchtheme/switchtheme.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/defaults.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/system.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/system-menus.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/user/user.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/sites/all/themes/Asian_Pro_Night/style.css?m" />
    <script type="text/javascript" src="/drupal-6.11/misc/jquery.js?m"></script>
<script type="text/javascript" src="/drupal-6.11/misc/drupal.js?m"></script>
<script type="text/javascript" src="/drupal-6.11/sites/default/files/jstimer/timer.js?m"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/drupal-6.11/" });
//--><!]]>
</script>
  
<meta name="description" content="" />

<link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/styles/default.css" type="text/css" media="screen,projection" /><link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/css/layouts/2c-r-fixed.css" type="text/css" />



<!-- Generated by Asian_Pro_Night WP Theme -->

	<link rel="stylesheet" href="http://localhost/drupal-6.11/sites/all/themes/Asian_Pro_Night/user.css" type="text/css" media="screen,projection" /></head>

<body class="home blog layout-2c-r-fixed no-js style-default">


<div id="top-menu" class="clearfix">

</div><!-- #top-menu -->

<div id="header">
	

<div id="branding" class="clearfix">

<div class="logo">	
	
				
			
    <img border="0" src="http://127.0.0.1/drupal-6.11/sites/all/themes/Asian_Pro_Night/images/logo_Asian_Gold_4.png"></td>



	
</div>
	</div><!-- #branding -->

</div><!-- #header -->

<div id="nav">

	<div id="nav-content" class="clearfix">
	<ul class="sf-menu menu clearfix">	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/40" title="Audio">Audio</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/34 35 36 33 32" title="Control Systems">Control</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/42 43 44" title="HDMI Matrix Switchers">HDMI Matrix Switchers</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/21 20" title="Component, VGA and RGBHV Matrix Switchers">Matrix Switchers</a>
	<li class="cat-item cat-item-1"><a href="http://localhost/drupal-6.11/?q=taxonomy/term/12 13" title="Multiple Input Video Scalers">Video Scalers</a>

	
</li>
</ul>		<ul class="quick-nav clearfix">
					
						
						
			</ul>

	</div><!-- #nav-content -->
</div><!-- #nav -->

<div id="wrapper">
	
	  
	<div id="main" class="clearfix">
    <div id="container" class="clearfix">

<div id="content" class="section">
<div id="content">

<div id="node-4" class="node clear-block">


  <h2><a href="/drupal-6.11/?q=node/4" title="New Mini-Touch wireless touch panel">New Mini-Touch wireless touch panel</a></h2>

  <div class="meta">
  
    </div>

  <div class="content">

    <p><H2></h2><br />
<body></body></p>
<div class="imgright2">
<img src="http://www.asianproav.com/images/Mini_TP3.jpg" border="0" width="400" height="400" title="Mini-Touch wireless touch panel" />
</div>
<p>
The new Mini-Touch from Asian Pro is a stand alone remote control featuring a small footprint with a 4.3” color LCD display.<br /><br />
In stand alone mode the Mini-Touch can send IR (Infrared) codes to control up to 16 IR devices as well as IR codes and serial command strings via RF (radio frequency) to control devices by RS232 protocol. A Wi-Fi version controls devices over Ethernet.<br /><br /></p>
  </div>

  <ul class="links inline"><li class="node_read_more first last"><a href="/drupal-6.11/?q=node/4" title="Read the rest of New Mini-Touch wireless touch panel.">Read more</a></li>

</ul></div>
</div>
 
	
	







<div id="bottom-content-1">
	</div>

<div id="bottom-content-2">
	</div>


</div><!-- #content -->
    
</div><!-- #container -->


<div id="primary" class="aside main-aside sidebar">
  
	<ul class="xoxo">
					<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Main Menu</h5>
				<div class="widgetcontent">

				<div class="textwidget">
					<p><div id="block-user-1" class="block block-user">

  <div class="content">

    <ul class="menu"><li class="leaf first"><a href="http://www.asianproav.com" title="">Home</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=contact">Contact</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=node/46" title="iPad control">iPad</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=node/35" title="About Asian Pro AV">Overview</a></li>
<li class="collapsed"><a href="/drupal-6.11/?q=taxonomy/term/45%2030%2046%2029" title="">Software Downloads</a></li>
<li class="leaf"><a href="http://www.asianproav.com/fgallery1/index.html" title="Graphical User Interfaces (GUIs)">Touch Panel graphics</a></li>
<li class="leaf"><a href="http://asianproav.com/?q=node/26" title="Programming Webinars">Webinar Schedule</a></li>
<li class="leaf"><a href="/drupal-6.11/?q=node/34" title="">Where to buy</a></li>

<li class="leaf"><a href="/drupal-6.11/?q=gallery2" title="Visit your embedded Gallery2.">Gallery</a></li>
<li class="leaf last"><a href="http://localhost/drupal-6.11/gallery2/" title="Design Drawings">System Layouts</a></li>
</ul>  </div>
</div>
</p>
				</div>
				</div>
			</li>
			<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Viewed best in Firefox browser</h5>

				<div class="widgetcontent"><ul><li><br><a target="blank" href='http://www.mozilla.com?from=sfx&amp;uid=0&amp;t=561'><img src='http://sfx-images.mozilla.org/firefox/3.6/125x125.png' alt='Spread Firefox Affiliate Button' border='0' </li></a></ul>

				</div>
			</li>
		<li class="widgetcontainer clearfix">
				<h5 class="widgettitle">Infocomm 2011 Orlando Convention Center</h5>
				<div class="tags widgetcontent"><a target="_blank" href="http://www.infocommshow.org">
<img border="0" src="http://www.asianproav.com/images/IC11.jpg" width="150" height="180"></a>


								</div>
			</li>
			</ul>
</div><!-- #primary -->
<div id="secondary" class="aside main-aside sidebar">
    <ul class="xoxo">
        <!-- Widgetized sidebar, if you have the plugin installed.  -->
        		<li></li>		
            </ul>
	  
</div><!-- #secondary -->

	</div><!-- #main -->
	
	    
    <div id="footer">
		<div class="footer-sidebar-container clearfix">
							<ul id="footer-sidebar-1" class="footer-sidebar clearfix xoxo">
										<li></li>
									</ul>
					</div>
		
		<div class="footer-message">

		
		<p><center>Copyright 2011 Asian Pro AV. All Rights Reserved.</center></p>		
		</div><!-- .footer-message -->
    </div>
</div><!-- #wrapper -->

</body>
</html>
   
jaypan’s picture

Ok. That page loads fine on my system, which means that something in one of your javascript files is wiping everything out. Try disabling your modules one at a time and refreshing, to track down which module is adding javascript that is causing the WSOD. From there the javascript itself can be debugged.

As a side note, what browser are you using?

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

Am using Firefox latest version. Will do as u suggested and let u know. Thanks for your help.

Can't even get to Admin modules page. Keeps timing out even though have increase timeout in php.ini so tried on my live site. The script function didn't take out the site but still gave me WSOD on Admin Blocks page. Tried disabling modules one by one with same result.

Everything else on site seems to be ok so if this the only problem rather than spend more time to fix than its worth is it possible to reorder the blocks in the database?

jaypan’s picture

Try increasing the memory in php.ini.

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

Now that I stop and think about it the countdown module didn't work with this theme either. It would show ok, but, the seconds weren't counting live so it just showed a static time. Yes, I think you're on to something about this being a javascript conflict.

rolodmonkey’s picture

When posting the source code, both PHP and HTML, please only post the <head> part, for now. That is almost definitely where the problem lies. Posting the entire page is making this thread a lot harder to read.

--

Read more at iRolo.net

ckleiman’s picture

I've noticed the following in the <head>section. Without the scripts function I see the following when I view source;

<link rel="shortcut icon" href="/drupal-6.11/misc/favicon.ico" type="image/x-icon" />
  <link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/gallery/gallery.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/gallery/gallery_filter.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/node/node.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/poll/poll.css?m" />

<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/switchtheme/switchtheme.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/defaults.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/system.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/system/system-menus.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/modules/user/user.css?m" />
<link type="text/css" rel="stylesheet" media="all" href="/drupal-6.11/sites/all/themes/Asian_Pro_Night/style.css?m" />

When I add the scripts function I get the WSOD and everything above plus the following:


<script type="text/javascript" src="/drupal-6.11/misc/jquery.js?m"></script>
<script type="text/javascript" src="/drupal-6.11/misc/drupal.js?m"></script>
<script type="text/javascript" src="/drupal-6.11/sites/default/files/jstimer/timer.js?m"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/drupal-6.11/" });
//--><!]]>

Is this normal that the Scripts function would add these additional lines? What do you think?

rolodmonkey’s picture

Okay, now we are getting somewhere. This final script tag is never closed, and that is why the rest of the page is not being rendered.

What version of Drupal are you running?

Are all of your modules up-to-date?

Do you have any custom modules that did not come from drupal.org?

Did you modify any of the template functions?

--

Read more at iRolo.net

rolodmonkey’s picture

I just checked and this doesn't make any sense. For settings, the ending script tag is output on the same line as the $embed_suffix. There is no way that one would be output and not the other.

Are you sure you copied all of the code that was added by the scripts variable?

--

Read more at iRolo.net

ckleiman’s picture

Sorry, I didn't copy completely. Here is rest of output from WSOD:

<script type="text/javascript" src="/drupal-6.11/misc/jquery.js?m"></script>
<script type="text/javascript" src="/drupal-6.11/misc/drupal.js?m"></script>
<script type="text/javascript" src="/drupal-6.11/sites/default/files/jstimer/timer.js?m"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/drupal-6.11/" });
//--><!]]>
</script>

Am using Drupal 6.11 with following modules enabled;
Gallery embed 6.x-1.0
PNG Behave 6.x-1.7
Nodes in Block 6.x-1.2
Quick Tabs 6.x-2.0-rc3
PDF 6.x-1.10
Taxonomy 6.x-2.3
Countdown 6.x-1.0
Agenda 6.x-1.4

I also have a few of the core modules enabled all version 6.11

Hope this helps.

rolodmonkey’s picture

Okay, I am stumped. This is probably something that an experienced developer could solve in 5 minutes if they were sitting at your machine. Unfortunately, I can't spend any more time on this. Maybe someone else can help?

In the meantime, here are some things you can do:

  • Update Drupal core, you are way behind.
  • Make sure that all of your modules are up-to-date.
  • Go to the issue queue for each of the contrib modules and search to see if others have had a similar problem.
  • Make sure that jQuery is installed.
  • Make sure that the version of JQuery that you have is compatible with the contrib modules.
  • Make sure that any other required external libraries are installed

--

Read more at iRolo.net

ckleiman’s picture

I agree. We can't continue to spend time on things like this or we'd both go broke. You've given me some good ideas to check out when I have more time. Thanks for all your efforts!

jaypan’s picture

As I said before, you need to track down the problem. Disable your modules one at a time, refreshing the page on which this is happening. You should be able to track down the issue this way.

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

Appreciate all your help. At this point I'm debating upgrading to Drupal 7 or switching to Wordpress for a number of reasons this being just one.

I'm frustrated with how Drupal makes things so complicated. I just want a simple CMS and don't have time for all this bs.

At least with Wordpress upgrades can be done automatically.

Also, the theme is a WP theme so no problems with script functions etc. if used in WP

What r ur thoughts?

jaypan’s picture

The easiest way to tell if Drupal isn't right for you is if you are feeling that it's not right for you. Sound like you're feeling that way - why not play with Wordpress for a while.

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

Good suggestion. That's exactly what I'm doing. Unfortunately, its a bit like starting all over, again. But, like u say, I need to find out for myself.

ckleiman’s picture

I was curious if you'd tried WordPress and, if so, what were your thoughts compared to Drupal?

jaypan’s picture

I've played with it myself. Enough to know how to use the admin interface, and I played with coding for it. It's a really strong platform, if it wasn't, there wouldn't be the sheer number of users using it.

It's much easier to use than Drupal. It's also much easier to code for than Drupal. But, with that ease, comes lack of flexibility and extensibility. Basically, the more functionality and extensibility you add to a system, the more difficult it become to use. Since it sounds like you are having some troubles working with Drupal, you will probably find Wordpress easier to use. The only question will be whether or not it will have the flexibility and functionality you need. Most of the time, it is.

So play with it for a bit and see what you think. Worst case scenario, you come back to Drupal with a new perspective on it.

Contact me to contract me for D7 -> D10/11 migrations.

ckleiman’s picture

You're right about Wordpress being far easier to use. The theme I'm using comes with super fish drop down menus that are way cool and easy to create. The search engine index, script upgrades and module installations are done automatically. I especially like the way WP refreshes the pages almost seamless and super quick. Creating tabs was another breeze. Just install a module and insert short codes into the html.

I think u call tell I've decided Wordpress is right for me. Thanks for your input and supporting me on this decision.