[TYPO3-mvc] Tx_Extbase_MVC_Exception_InvalidArgumentValue on move to linux server
Christine Gerpheide
cgerpheide at gmail.com
Fri Mar 12 16:17:45 CET 2010
Though maybe that doesn't apply to argument types... Sorry if I replied to
soon! Just saying some silly things can happen with case. Then it does
sound like it could be a phpaccelerator, as Franz says. (we are also doing
just fine developing on windows and moving to linux, as long as the php
accelerator is disabled/configured properly to include comments).
Christine
2010/3/12 Christine Gerpheide <cgerpheide at gmail.com>
> Hi Dmitri,
>
> Well, it could still be a case issue... it's not just that the cases must
> match, but it seems (at least in my extbase version) that all template
> names
> are converted to lowercase before trying to retrieve the template. In our
> case, even though we had an action called addClientAction, we had to name
> the template addclient.html. And, like here, windows is the only one that
> will match "addclient.html" with "addClient.html", which fools you into
> thinking it works with camelcase template names.
>
> Christine
>
> 2010/3/12 Dmitri Pisarev <dimaip at gmail.com>
>
> > Steffen, thanks for your reply!
> >
> > No, I didn't mix up the case, that would be too simple:)
> > The same thing is happening to the CreateClient action and Client
> > parameter, or with any other action that passes arguments:
> >
> >
> > //Tx_Extbase_MVC_Exception_InvalidArgumentType
> > //The argument type for parameter "client" could not be detected.
> > PS: I intentionally write Servicetype in normal case not to confuse
> myself,
> > I write it everywhere like that consistently:
> > \\ServicetypeController.php
> > \\Servicetype.php
> > etc...
> >
> > Dmitri.
> > 12.03.2010 16:49, Steffen Ritter пишет:
> >
> > Dmitri Pisarev schrieb:
> >>
> >>> Hey just a quick question:
> >>> I tried to install my extbase plugin on the server, running linux,
> >>> typo3 4.3.1, and I get the following error when calling any action
> >>> that has some arguments:
> >>> \\Tx_Extbase_MVC_Exception_InvalidArgumentType
> >>> \\The argument type for parameter "servicetype" could not be detected.
> >>>
> >>> On my XAMPP installation under Windows, everything was working fine.
> >>>
> >>> Any ideas?
> >>>
> >>> Dmitri.
> >>>
> >> LOL, that's why you should not use Windows with TYPO3 :)
> >> YOu mixed up the Cases of your File or Folder names
> >> (lower/upper/camelcase). The class you wanted to have as type cannot be
> >> found because of that...
> >> Windows machines do - as we all know - not care about such.
> >>
> >> regards
> >>
> >> Steffen
> >>
> >
> > _______________________________________________
> > TYPO3-project-typo3v4mvc mailing list
> > TYPO3-project-typo3v4mvc at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> >
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
More information about the TYPO3-project-typo3v4mvc
mailing list