Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By Andrés Chandía on
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
2. localization (problem importing translations)
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
Solved: localization (problem importing translations)
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