All pastes #135220 Raw Edit

Anonymous

public text v1 · immutable
#135220 ·published 2006-08-16 20:04 UTC
rendered paste body
//route, otherwise even index.php/notes/  shows the same as index.php or /
$Route->connect('/', array('controller' => 'notes', 'action' => 'index'));





/*************************Start HTML******************************************/

<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\controller\controller.php</b> on line <b>598</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>308</b><br />
<br />
<b>Notice</b>:  Uninitialized string offset:  0 in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>316</b><br />
<br />
<b>Notice</b>:  Uninitialized string offset:  0 in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>316</b><br />
<br />
<b>Notice</b>:  Uninitialized string offset:  0 in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>318</b><br />
<br />
<b>Notice</b>:  Uninitialized string offset:  0 in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>321</b><br />
<br />
<b>Notice</b>:  Uninitialized string offset:  0 in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>:  mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: message: Cannot use empty object or column names. Use a single space if necessary. (severity 15) in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>160</b><br />
<br />
<b>Warning</b>:  mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: message: Line 1: Incorrect syntax near ''. (severity 15) in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>160</b><br />
<br />
<b>Warning</b>:  mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: General SQL Server error: Check messages from the SQL Server. (severity 5) in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>160</b><br />
<br />
<b>Warning</b>:  mssql_query() [<a href='function.mssql-query'>function.mssql-query</a>]: Query failed in <b>d:\Inetpub\wwwroot\Pulse\cake\libs\model\dbo\dbo_mssql.php</b> on line <b>160</b><br />
<!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">
<head>
<title>CakePHP : Scaffold :: Index :: Notes</title>
<link rel="shortcut icon" href="/pulse/app/webroot/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="/pulse/app/webroot/css/cake.generic.css" /></head>
<body>
	<div id="container">
		<div id="header">
			<h1>CakePHP Rapid Development</h1>
		</div>
		<div id="content">
			<h1>List Notes</h1>

<table class="inav" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<ul class="actions">
	<li><a href="/pulse/index.php/notes/add" >New Note</a></li>
</ul>		</div>
		<div id="footer">
			&nbsp;
			<a href="http://www.cakephp.org/" target="_new">
				<img src="/pulse/app/webroot/img/cake.power.png" alt="CakePHP : Rapid Development Framework" border="0" />			</a>
		</div>
	</div>
	</body>
</html><!-- 0.3886s --><table id="cakeSqlLog" cellspacing="0" border = "0">
<caption>3 queries took 4 ms</caption>
<thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>SELECT COLUMN_NAME as Field, DATA_TYPE as Type, COL_LENGTH('hermes_notes', COLUMN_NAME) as Length, IS_NULLABLE As [Null], COLUMN_DEFAULT as [Default], COLUMNPROPERTY(OBJECT_ID('notes'), COLUMN_NAME, 'IsIdentity') as [Key], NUMERIC_SCALE as Size FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'notes'</td><td></td><td style = "text-align: right">0</td><td style = "text-align: right">0</td><td style = "text-align: right">2</td></tr>
<tr><td>2</td><td>SELECT COLUMN_NAME as Field, DATA_TYPE as Type, COL_LENGTH('hermes_notes', COLUMN_NAME) as Length, IS_NULLABLE As [Null], COLUMN_DEFAULT as [Default], COLUMNPROPERTY(OBJECT_ID('notes'), COLUMN_NAME, 'IsIdentity') as [Key], NUMERIC_SCALE as Size FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'notes'</td><td></td><td style = "text-align: right">0</td><td style = "text-align: right">0</td><td style = "text-align: right">1</td></tr>
<tr><td>3</td><td>SELECT  [note].[] AS [note__] FROM [hermes_notes] AS [note]   WHERE  1 = 1  </td><td></td><td style = "text-align: right"></td><td style = "text-align: right"></td><td style = "text-align: right">1</td></tr>
</table>
<table id="cakeSqlLog" cellspacing="0" border = "0">
<caption>3 queries took 4 ms</caption>
<thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>SELECT COLUMN_NAME as Field, DATA_TYPE as Type, COL_LENGTH('hermes_notes', COLUMN_NAME) as Length, IS_NULLABLE As [Null], COLUMN_DEFAULT as [Default], COLUMNPROPERTY(OBJECT_ID('notes'), COLUMN_NAME, 'IsIdentity') as [Key], NUMERIC_SCALE as Size FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'notes'</td><td></td><td style = "text-align: right">0</td><td style = "text-align: right">0</td><td style = "text-align: right">2</td></tr>
<tr><td>2</td><td>SELECT COLUMN_NAME as Field, DATA_TYPE as Type, COL_LENGTH('hermes_notes', COLUMN_NAME) as Length, IS_NULLABLE As [Null], COLUMN_DEFAULT as [Default], COLUMNPROPERTY(OBJECT_ID('notes'), COLUMN_NAME, 'IsIdentity') as [Key], NUMERIC_SCALE as Size FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'notes'</td><td></td><td style = "text-align: right">0</td><td style = "text-align: right">0</td><td style = "text-align: right">1</td></tr>
<tr><td>3</td><td>SELECT  [note].[] AS [note__] FROM [hermes_notes] AS [note]   WHERE  1 = 1  </td><td></td><td style = "text-align: right"></td><td style = "text-align: right"></td><td style = "text-align: right">1</td></tr>
</table>
/************************ END HTML ******************************/