[Flow] Failed to compile PHP files in directory next to Domain directory

Søren Malling soren.malling at gmail.com
Tue Jun 24 09:53:02 CEST 2014


Hi Rocky,

The folder containing your classes has to be named "Classes" instead of
"Class"

I hope this helps you

Cheers

Søren


On Tue, Jun 24, 2014 at 7:45 AM, Rocky <rockysynergy at gmail.com> wrote:

> Hi,
>
> I created folder Utility in FlowDir/Packages/Application/
> Mycompany.Package/Class/Mycompany/Package/. In the Utility folder I had
> Debug.php which reads likes below
> <?php
> namespace Mycompany\Package\Unitlity;
>
> use TYPO3\Flow\Annotations as Flow;
> Class Debug {
> // My code here
> static public function CuoWu() {
> }
> }
>
> In one of my Controller files, I have below code:
> \Mycompany\Package\Utility::CuoWu();
>
> But I get fatal error saying: "PHP Fatal error:  Class
> 'Mycompany\\Package\\Utility\\Debug_Original' not found in
> /vagrant/Typo3Flow/Data/Temporary/Development/Cache/
> Code/Flow_Object_Classes/Mycompany_Package_Utility_Debug.php on line 34".
> The problem is gone if I edit the Mycompany_Package_Utility_Debug.php by
> adding _Original to the class name. What configuration I need to make to
> make the class compile right please?
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>


More information about the Flow mailing list