[FLOW3-general] Importing TYPO3.Form package

indira indira at seethroughweb.com
Fri Sep 28 21:24:25 CEST 2012


Hello everyone:

I imported the TYPO3.Form package because I would like to use the date 
picker that comes with it. However, when I imported it I got this error:

PHP Fatal error:  Uncaught exception 
'TYPO3\FLOW3\Package\Exception\CorruptPackageException' with message 
'Missing package class in package "TYPO3.Form". Please create a file 
"Application/TYPO3.Form/Classes/Package.phpClasses/Package.php" and extend 
Package.' in 
/var/www/html/Packages/Framework/TYPO3.FLOW3/Classes/Package/PackageManager.php:600

So I went into TYPO3.Form/Classes and I created the Package.php file. 

//------- Package.php--------------------

namespace TYPO3\Form;

use TYPO3\FLOW3\Package\Package as BasePackage;
use TYPO3\FLOW3\Annotations as FLOW3;

/**
 * Package base class of the TYPO3.Form package.
 *
 * @FLOW3\Scope("singleton")
 */
class Package extends BasePackage {

}

//----------------------------------------------


Now I am getting this:

PHP Notice:  Undefined index: classesPath in 
/var/www/html/Packages/Framework/TYPO3.FLOW3/Classes/Package/PackageManager.php 
on line 609
PHP Notice:  Undefined index: classesPath in 
/var/www/html/Packages/Framework/TYPO3.FLOW3/Classes/Package/PackageManager.php 
on line 609
Uncaught Exception
  Warning: simplexml_load_file(): I/O warning : failed to load external
  entity "/var/www/html/Packages/Application/TYPO3.Form/Meta/Package.xml"
  in
  
/var/www/html/Packages/Framework/TYPO3.FLOW3/Classes/Package/MetaData/XmlReader.php
  line 35


Thanks in advance for your help, 
Indira.


More information about the FLOW3-general mailing list