[TYPO3-dev] extension upload to TER under TYPO3 6.0

Franz Holzinger franz at ttproducts.de
Sat Apr 20 22:43:08 CEST 2013


Hello,

Le 16. 04. 13 17:26, Philipp Gampe a écrit :
> Hi Franz,
>
> Franz Holzinger wrote:
>
>> You mean this:
>> https://github.com/etobi/Typo3ExtensionUtils/blob/master/bin/t3xutils.php
>
> Correct. Just run it as $ php t3xutils.php <command>
>
>> How can I use bin/t3xutils.php as the startingpoint and not the
>> bin/t3xutils.phar? This is called inside of the class Worker. And Worker
>> belongs to Ext. Where must the change be made when not inside of Ext?
>
> There will be no changes, because the license does not allow this. Ext
> *must* call the binary!

I am using this for bug fixing. I hope this is ok.

Wnen I call the php file (not the phar),

ext upload 'mysecretpassword'

Then I get this output:

/var/www/path/web/typo3conf/ext/ext1/Cool/Modules/Ext/Services/../../Typo3ExtensionUtils/bin/t3xutils.php: 
Zeile 1: ?php: Datei oder Verzeichnis nicht gefunden
/var/www/path/web/typo3conf/ext/ext1/Cool/Modules/Ext/Services/../../Typo3ExtensionUtils/bin/t3xutils.php: 
Zeile 3: Syntaxfehler beim unerwarteten Wort `__DIR__'
/var/www/path/web/typo3conf/ext/ext1/Cool/Modules/Ext/Services/../../Typo3ExtensionUtils/bin/t3xutils.php: 
Zeile 3: `require(__DIR__ . '/../lib/autoload.php');'

The php file has a wrong syntax.

Or must I use the phar file also for testing? How can I debug the reason 
for the failure of the extension upload?

- Franz






More information about the TYPO3-dev mailing list