---
title: "cc_debug keine ausgabe"
url: "https://www.typo3.net/d/72069-cc-debug-keine-ausgabe"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2008-01-03"
last_reply: "2008-03-05"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# cc_debug keine ausgabe

Extensions · 4 Antworten · gestartet 2008-01-03

## Eröffnungsbeitrag

**blueX** · 2008-01-03 · [Beitrag #1](https://www.typo3.net/d/72069-cc-debug-keine-ausgabe/1)

Hi

ich arbeite mich gerad durch diese Tutorial:
<http://www.traum-projekt.com/forum/73-workshops-und-tutorials/101411-workshop-typo3-extension-programmierung.html>

wenn ich nun eine debugausgabe haben möchte kommt aba nüscht 0o

```php
debug($this->piVars);
```

cc_debug habe ich installiert, muss ich da noch irgendas einstellen damit es funktioniert??

der gesammte code siet so aus:

```php
<?php
/***************************************************************
*  Copyright notice
*
*  (c) 2008 Björn Biege <b.biege@freesh-solutions.de>
*  All rights reserved
*
*  This script is part of the TYPO3 project. The TYPO3 project is
*  free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  The GNU General Public License can be found at
*  http://www.gnu.org/copyleft/gpl.html.
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/

require_once(PATH_tslib.'class.tslib_pibase.php');


/**
 * Plugin 'Tourplan' for the 'fs_tourplan' extension.
 *
 * @author	Björn Biege <b.biege@freesh-solutions.de>
 * @package	TYPO3
 * @subpackage	tx_fstourplan
 */
class tx_fstourplan_pi1 extends tslib_pibase {
	var $prefixId      = 'tx_fstourplan_pi1';		// Same as class name
	var $scriptRelPath = 'pi1/class.tx_fstourplan_pi1.php';	// Path to this script relative to the extension dir.
	var $extKey        = 'fs_tourplan';	// The extension key.
	var $pi_checkCHash = true;
	
	/**
	 * The main method of the PlugIn
	 *
	 * @param	string		$content: The PlugIn content
	 * @param	array		$conf: The PlugIn configuration
	 * @return	The content that is displayed on the website
	 */
	function main($content,$conf)	{
		$this->conf=$conf;
		$this->pi_setPiVarDefaults();
		$this->pi_loadLL();
		
	
		$content='
			<strong>This is a few paragraphs:</strong><br />
			<p>This is line 1</p>
			<p>This is line 2</p>
	
			<h3>This is a form:</h3>
			<form action="'.$this->pi_getPageLink($GLOBALS['TSFE']->id).'" method="POST">
				<input type="hidden" name="no_cache" value="1">
				<input type="text" name="'.$this->prefixId.'[input_field]" value="'.htmlspecialchars($this->piVars['input_field']).'">
				<input type="submit" name="'.$this->prefixId.'[submit_button]" value="'.htmlspecialchars($this->pi_getLL('submit_button_label')).'">
			</form>
			<br />
			<p>You can click here to '.$this->pi_linkToPage('get to this page again',$GLOBALS['TSFE']->id).'</p>
		';
		
		
		debug($this->piVars);
		return $this->pi_wrapInBaseClass($content);
	}
}



if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/fs_tourplan/pi1/class.tx_fstourplan_pi1.php'])	{
	include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/fs_tourplan/pi1/class.tx_fstourplan_pi1.php']);
}

?>
```

MfG
blueX  8-)

## Antworten

### [#2](https://www.typo3.net/d/72069-cc-debug-keine-ausgabe/2) · ernstle · 2008-03-01

Interessiert mich auch. Kein Debug kommt zur Anzeige !
Ernst

### [#3](https://www.typo3.net/d/72069-cc-debug-keine-ausgabe/3) · steffenk · 2008-03-01

man kann zum debuggen auch TYPO3 selber nutzen, in dem man so debuggt:

```php
t3lib_div::debug($var,'eine Message');
```

mit cc_debug wird rechts oben eine Bombe eingeblendet, auf die man klicken kann. Die Debugausgabe findet in einem neuen Fenster statt. Eventuell verhindert ein Popupblocker dieses Fenster.

### [#4](https://www.typo3.net/d/72069-cc-debug-keine-ausgabe/4) · ernstle · 2008-03-05

Danke für die Antwort!
mit t3lib_div::debug hatte ich es auch schon probiert
und auch da keine Debug-Anzeige erhalten.

### [#5](https://www.typo3.net/d/72069-cc-debug-keine-ausgabe/5) · steffenk · 2008-03-05

dann ist die Antwort leicht: er kommt nie an diese Stelle.

---

Quelle: „cc_debug keine ausgabe“, typo3.net, https://www.typo3.net/d/72069-cc-debug-keine-ausgabe
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
