Difference between revisions of "Joomla"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
= Joomla-Installation - kein mysql =
+
= Joomla-Installation - no mysql =
 
If you get the message
 
If you get the message
 
MySQL support  Unavailable
 
MySQL support  Unavailable
Line 8: Line 8:
 
  apt-get install mysql-server-4.1 php4-mysql
 
  apt-get install mysql-server-4.1 php4-mysql
  
= Joomla - Probleme =
+
= Joomla - Problems =
Wenn nach der Installation oberhalb der Webseite mehrere Fehlermeldungen
+
If you get several error messages in the website saying
gezeigt werden mit dem Inhalt "... headers already sent by ...", dann liegt
+
headers already sent by
das daran, dass in einer .php-Datei eine Leerzeile am Ende existiert.
+
the reason is that in a .php file there is a newline at the end. E.g. in /languages/german.php. Logging into the administrator area is also not possible then.
In meinem Fall war das /languages/german.php
 
Das Einloggen im Administrator-Bereich war ebenfalls nicht moeglich.
 

Revision as of 23:12, 27 December 2011

Joomla-Installation - no mysql

If you get the message MySQL support Unavailable The reason may be that MySQL 5 is installed. But you need 4.1.

Solution:

apt-get remove --purge mysql-common
apt-get install mysql-server-4.1 php4-mysql

Joomla - Problems

If you get several error messages in the website saying

headers already sent by

the reason is that in a .php file there is a newline at the end. E.g. in /languages/german.php. Logging into the administrator area is also not possible then.