[TYPO3-dev] new DOMDocument error

Nikola Vignjevic nik at nao-company.com
Tue Aug 12 19:01:47 CEST 2014


Hi folks,

I just try my first steps in MVC Extension development and have already a problem.

the simple Line:

$dom = new DOMDocument("1.0");

throws a Error:

Fatal error: Class 'XXX\YYYYYYYYY\Controller\DOMDocument' not found in /var/www/virtual/test.de/my_domain/htdocs/typo3conf/ext/xxx_yyyyyyyy/Classes/Controller/CentralController.php on line 118

If I try the same line without typo3, everything is fine, and I didn't write:

$dom = new XXX\YYYYYYYYY\Controller\DOMDocument();

So why he is looking there? It actually have to be a simple part of PHP and not part of typo3 MVC or so. Where is my mistake?

Please a little hint..

Nik



More information about the TYPO3-dev mailing list