When importing whatever language i got no translation and log system gives next error message:

details
Type php
Date Wednesday, April 5, 2006 - 09:40
User andres
Location /admin/locale/language/import
Message mime_magic: invalid type 0 in mconvert(). in /var/www/includes/file.inc on line 149.
Severity error
Hostname my computer at home

Some idea, what can i do to fix it?

Comments

Andrés Chandía’s picture

I've tried increasing amount of memory in php.ini but i got new error message

details
Type php
Date Wednesday, April 5, 2006 - 16:41
User andres
Location /admin/locale/language/import
Message Cannot modify header information - headers already sent by (output started at /var/www/includes/common.inc:384) in /var/www/includes/common.inc on line 192.
Severity error

@ch

Andrés Chandía’s picture

Rectification, it worked, i have increased the amount of memory in php.ini to the double of default, 16Mb, it gave me next message when i imported the new language:

warning: mime_magic: invalid type 0 in mconvert(). in /var/www/includes/file.inc on line 149.

warning: Cannot modify header information - headers already sent by (output started at /var/www/includes/common.inc:384) in /var/www/includes/common.inc on line 192.

but then i went back and selected the language and it worked.

commands were:
#locate php.ini
result:
/etc/php4/apache/php.ini
/etc/php4/apache2/php.ini

i edited both of them looking for this string: "memory_limit"

default line was:
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

i changed to:
memory_limit = 16M ; Maximum amount of memory a script may consume (8MB)

then i restarted the apache server and went to my drupal to import the language, and bla bla bla, finally it worked.

good luck to everybody

see example on http://www.chandia.net/

@ch

@ch