[TYPO3-core] EM: Status about language pack download?

rupert germann rupi at gmx.li
Fri Mar 24 14:45:15 CET 2006


hi Karsten,

some errors:
-------------

Fatal error: Cannot use string offset as an array 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/typo3/mod/tools/em/class.em_index.php 
on line 1117

possible solution:
line 1117:

if(is_array($status[$extKey]) && $localmd5 != $status[$extKey][$lang]['md5']) 
{

seems that the same code is used in line 1082 but I didn't get an error from 
this line. But it would be good to add the is_array() check to this line too. 


--------------
Warning: Missing argument 2 for t3lib_div::mkdir_deep(), called 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/typo3/mod/tools/em/class.em_index.php 
on line 1152 ....

line 1178 contains the same error


------------
when clicking "update" or "check status" I get many debug messages saying:
String (36) 	*variable*	SYSTEM or PUBLIC, the URI is missing

-----------
another small problem is the fact that I can't deselect the saved language 
selection in the selector box. If I click on save after I unselected all 
languages in this box there are still the languages selected which I saved 
before.

-----------------
a problem with the new feature of selecting the mirror by random: If I enter 
the extension manager directly after I've cleared the BE user settings in the 
install tool I get this error:

Warning: array_rand() [function.array-rand]: First argument has to be an array 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/typo3/mod/tools/em/class.em_index.php 
on line 1352

if I click on "check status" in the translation module without having selected 
a language I get many:
Warning: file_get_contents(http://c/m/cms-l10n/cms-l10n.xml) 
[function.file-get-contents]: failed to open stream: Success 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/t3lib/class.t3lib_div.php on line 
2319

and a bunch of:
Warning: Invalid argument supplied for foreach() 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/typo3/mod/tools/em/class.em_index.php 
on line 1062

if I choose the claustal mirror without having selected a language I get many:
Warning: 
file_get_contents(http://ter.rz.tu-clausthal.de/ter/c/m/cms-l10n/cms-l10n.xml) 
[function.file-get-contents]: failed to open stream: HTTP request failed! 
HTTP/1.1 404 Not Found 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/t3lib/class.t3lib_div.php on line 
2319

if I choose the punkt.de mirror without having selected a language I get many:
Warning: Invalid argument supplied for foreach() 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/typo3/mod/tools/em/class.em_index.php 
on line 1062

Warning: Invalid argument supplied for foreach() 
in /home/rgermann/data/www/TYPO3_4-0-0cvs/typo3/mod/tools/em/class.em_index.php 
on line 1068
-------------------

enough for now? ;-)

and yes, I use PHP 5 (5.1.2)



greets
Rupert



On Friday 24 March 2006 12:34, Karsten Dambekalns wrote:
> Hi.
>
> On Friday 24 March 2006 11:41, Michael Stucki wrote:
> > > That script is ready, my code seems to work fine. There is one last
> > > thing to clear up (exact naming of some paths/files), but if this is
> > > decided I'll send a patch for a quick review.
> >
> > Thanks. How long do you expect this to take?
>
> It is done.
>
> Attached is a tar.gz that contains the complete EM and a changed install
> tool file (to make it request the l10n dir in typo3conf). Why no patch?
> Because sf.net CVS is down...
>
> > > I just added an em_unzip class to the EM itself.
> >
> > I would have liked to see this in libunzipped instead, so it can be used
> > by other extensions, too. (Making it a system extension, of course.)
> >
> > But that can still be done for 4.5...
>
> Yes, this seemed too much a change for a feature freeze. :)
>
> Karsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060324/e644a0e3/attachment.pgp 


More information about the TYPO3-team-core mailing list