2
Login block missing - Solution found: MySQL Character setAs mentioned above, the problem was that the login block wasn't shown on the default page after a new installation of Xoops. Hence it wa impossible to login as administrator.
Searching for help I found information on how to enable different debugging features by modifying the database tables directly. See the following link (very useful!):
Turn on debug in MySQL tablesAfter enabling the PHP debug mode, the default screen showed the following warning:
Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_login.html" in file class/smarty/Smarty.class.php line 1084A search on this turned out more links to related problems. See the following link:
unable to read resourceOnly header and footer after installMySQL 4.1.7 utf8 problemI checked that MySQL had write access to a tmp folder. That looked OK in my case.
The XOOPS database in my installation was set to use the utf-8 unicode collation.
To solve the problem, I dropped all the tables in the XOOPS database, changed the collation to latin1-danish, copied a fresh copy of all the XOOPS files to my webserver (still on localhost) and reinstalled Xoops.
That did it! The login block is now shown on the default page and I can log in as administrator.
There seems to be some discussion in the forum on whether this is related to certain versions of MySQL. One post suggests that the version I am running (MySQL 4.1.9-max) should not cause the problem. But in my case it did help to change the character set anyway.
Perhaps the experts of XOOPS can elaborate on the problem and possibly state suggestions for the character set in the otherwise excellent installation script and description of the installation.
I hope others may benefit from this experience. Even if it isn't exactly the same problem I can recommed to switch the debugging modes on and search on in forums and on Google for whatever error-message is shown.