Error Buddy

Do you have an error message from your application? Then find the answer with Error Buddy. You can search over 40000 source code files and troubleshooting documents using our beta lucene/nutch search interface or if you prefer, search as normal using google. With LXR technology you can drill right down into the line of source code where it came from with full cross-referencing.

If after searching you didn't get your ideal answer, or you are still unclear what the error means, you can choose to post that question to the community forums following the link included in the search results.

corestack/ phpMyAdmin-2.6.1-pl3/ header_printview.inc.php [1.6]
001 <?php
002 /* $Id: header_printview.inc.php,v 2.4 2004/01/23 15:56:39 rabus Exp $ */
003 // vim: expandtab sw=4 ts=4 sts=4:
004 
005 /**
006  * Gets a core script and starts output buffering work
007  */
008 require_once('./libraries/common.lib.php');
009 require_once('./libraries/ob.lib.php');
010 if ($cfg['OBGzip']) {
011     $ob_mode = PMA_outBufferModeGet();
012     if ($ob_mode) {
013         PMA_outBufferPre($ob_mode);
014     }
015 }
016 
017 // Check parameters
018 
019 PMA_checkParameters(array('db', 'full_sql_query'));
020 
021 
022 // garvin: For re-usability, moved http-headers
023 // to a seperate file. It can now be included by header.inc.php,
024 // queryframe.php, querywindow.php.
025 
026 require_once('./libraries/header_http.inc.php');
027 
028 /**
029  * Sends the beginning of the html page then returns to the calling script
030  */
031 // Gets the font sizes to use
032 PMA_setFontSizes();
033 // Defines the cell alignment values depending on text direction
034 if ($text_dir == 'ltr') {
035     $cell_align_left  = 'left';
036     $cell_align_right = 'right';
037 } else {
038     $cell_align_left  = 'right';
039     $cell_align_right = 'left';
040 }
041 ?>
042 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
043     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
044 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
045 
046 <head>
047 <title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title>
048 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
049 <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php?lang=<?php echo $lang; ?>&amp;js_frame=print" />
050 </style>
051 </head>
052 
053 
054 <body bgcolor="#ffffff">
055 <h1><?php echo $strSQLResult; ?></h1>
056 <p>
057     <b><?php echo $strHost; ?>:</b> <?php echo $cfg['Server']['verbose'] ? $cfg['Server']['verbose'] : $cfg['Server']['host'] . ((!empty($cfg['Server']['port'])) ? ':' . $cfg['Server']['port'] : ''); ?><br />
058     <b><?php echo $strDatabase; ?>:</b> <?php echo htmlspecialchars($db); ?><br />
059     <b><?php echo $strGenTime; ?>:</b> <?php echo PMA_localisedDate(); ?><br />
060     <b><?php echo $strGenBy; ?>:</b> phpMyAdmin&nbsp;<?php echo PMA_VERSION; ?>&nbsp;/ MySQL&nbsp;<?php echo PMA_MYSQL_STR_VERSION; ?><br />
061     <b><?php echo $strSQLQuery; ?>:</b> <?php echo htmlspecialchars($full_sql_query); ?>;
062     <?php if (isset($num_rows)) { ?><br />
063     <b><?php echo $strRows; ?>:</b> <?php echo $num_rows; ?>
064     <?php } ?>
065 </p>
066 
067 
068 <?php
069 
070 /**
071  * Sets a variable to remember headers have been sent
072  */
073 $is_header_sent = TRUE;
074 ?>
075 <?php
076 /* $Id: header_printview.inc.php,v 2.4 2004/01/23 15:56:39 rabus Exp $ */
077 // vim: expandtab sw=4 ts=4 sts=4:
078 
079 /**
080  * Gets a core script and starts output buffering work
081  */
082 require_once('./libraries/common.lib.php');
083 require_once('./libraries/ob.lib.php');
084 if ($cfg['OBGzip']) {
085     $ob_mode = PMA_outBufferModeGet();
086     if ($ob_mode) {
087         PMA_outBufferPre($ob_mode);
088     }
089 }
090 
091 // Check parameters
092 
093 PMA_checkParameters(array('db', 'full_sql_query'));
094 
095 
096 // garvin: For re-usability, moved http-headers
097 // to a seperate file. It can now be included by header.inc.php,
098 // queryframe.php, querywindow.php.
099 
100 require_once('./libraries/header_http.inc.php');
101 
102 /**
103  * Sends the beginning of the html page then returns to the calling script
104  */
105 // Gets the font sizes to use
106 PMA_setFontSizes();
107 // Defines the cell alignment values depending on text direction
108 if ($text_dir == 'ltr') {
109     $cell_align_left  = 'left';
110     $cell_align_right = 'right';
111 } else {
112     $cell_align_left  = 'right';
113     $cell_align_right = 'left';
114 }
115 ?>
116 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
117     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
118 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
119 
120 <head>
121 <title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title>
122 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
123 <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php?lang=<?php echo $lang; ?>&amp;js_frame=print" />
124 </style>
125 </head>
126 
127 
128 <body bgcolor="#ffffff">
129 <h1><?php echo $strSQLResult; ?></h1>
130 <p>
131     <b><?php echo $strHost; ?>:</b> <?php echo $cfg['Server']['verbose'] ? $cfg['Server']['verbose'] : $cfg['Server']['host'] . ((!empty($cfg['Server']['port'])) ? ':' . $cfg['Server']['port'] : ''); ?><br />
132     <b><?php echo $strDatabase; ?>:</b> <?php echo htmlspecialchars($db); ?><br />
133     <b><?php echo $strGenTime; ?>:</b> <?php echo PMA_localisedDate(); ?><br />
134     <b><?php echo $strGenBy; ?>:</b> phpMyAdmin&nbsp;<?php echo PMA_VERSION; ?>&nbsp;/ MySQL&nbsp;<?php echo PMA_MYSQL_STR_VERSION; ?><br />
135     <b><?php echo $strSQLQuery; ?>:</b> <?php echo htmlspecialchars($full_sql_query); ?>;
136     <?php if (isset($num_rows)) { ?><br />
137     <b><?php echo $strRows; ?>:</b> <?php echo $num_rows; ?>
138     <?php } ?>
139 </p>
140 
141 
142 <?php
143 
144 /**
145  * Sets a variable to remember headers have been sent
146  */
147 $is_header_sent = TRUE;
148 ?>

Powered by Lucene and the LXR engine.