Zum Inhalt springen

ExtDevEval Uncaught TYPO3 Exception

Erstellt am 6. April 2010 · 2 Antworten · letzte Antwort am 7. April 2010

Tags: PHP, Frage

EvilDragon ·

aloa

beschäftige mich grad mit der Extensionprogrammierung und wollte die Extensin ExtDevEval installieren, was auch klappt wenn ich dies enun aufrufe erhalte ich folgenden fehler:
Bild: img210.imageshack.us/…/zwischenablage02u.th.jpg

es handelt sich um ein aktuelle slokales installiertes Typo3+xampp

ich hoffe jemand kann mir bei den fehler helfen, habe nichts über google gefunden

Hier noch mal das ganze als code:

Uncaught TYPO3 Exception
#1: PHP : Function ereg_replace() is deprecated in C:\xampp\htdocs\typo3\extensionentwicklung\typo3conf\ext\extdeveval\mod1\index.php line 551

t3lib_error_Exception thrown in file
C:\xampp\htdocs\typo3\extensionentwicklung\t3lib\error\class.t3lib_error_errorhandler.php in line 101.

4 t3lib_error_ErrorHandler::handleError(8192, "Function ereg_replace() is deprecated", "C:\xampp\htdocs\typo3\extensionentwicklung\typo3conf\ext\extdeveval\mod1\index.php", 551, array)

3 ereg_replace()


C:\xampp\htdocs\typo3\extensionentwicklung\typo3conf\ext\extdeveval\mod1\index.php:

00549:  function getSelectForExtensionFiles($extList='php,inc') {
00550:   if ($this->MOD_SETTINGS['extSel']) {

00551:    $path = PATH_site.$this->localExtensionDir.ereg_replace('\/$','',$this->MOD_SETTINGS['extSel']).'/';

00552:    if (@is_dir($path)) {
00553:     $phpFiles = t3lib_div::removePrefixPathFromList(t3lib_div::getAllFilesAndFoldersInPath(array(),$path,$extList,0,($this->MOD_SETTINGS['extSel']==='_TYPO3'?0:99)),$path);


2 tx_extdeveval_module1::getSelectForExtensionFiles("php,inc")


C:\xampp\htdocs\typo3\extensionentwicklung\typo3conf\ext\extdeveval\mod1\index.php:

00211:    case 8:
00212:     $extList = $this->MOD_SETTINGS['function']==8 ? 'xml' : 'php,inc';

00213:     $this->content.=$this->doc->section('Select Local Extension:',$this->getSelectForLocalExtensions().'
'.$this->getSelectForExtensionFiles($extList));

00214:     $this->content.=$this->doc->divider(5);
00215:    break;


1 tx_extdeveval_module1::main()


C:\xampp\htdocs\typo3\extensionentwicklung\typo3conf\ext\extdeveval\mod1\index.php:

00621: $SOBE->checkExtObj();
00622: 

00623: $SOBE->main();

00624: $SOBE->printContent();
00625:
master celebrator ·

Hast du PHP 5.3 bei dir laufen?
ereg_replace() ist veraltet, wenn du es gegen preg_replace() austauscht sollte es gehen.
Auf meiner lokalen T3 installation (4.2.12 + PHP 5.2.x) läuft die Ext.

EvilDragon ·

habs ersetzt, kam nun auch zur extenseion und dateiauswahl aber dann kommt folgender fehler:

Fatal error: Class 't3lib_error_Exception' not found in C:\xampp\htdocs\typo3\extensionentwicklung\typo3conf\ext\extdeveval\mod1\class.tx_extdeveval_tunecode.php on line 202

Nach dem entfernen des & in der Zeile klappt es nun.