Hello everybody.
I'm just telling my experiences with setting up CMS Made Simple Multilingual version in case someone else faces the same problem. Actually, installation itself was smooth. Setting the correct write permissions for the directories/files is important, so make sure you do them properly before running the installation script. The installation script was able to modify the database tables accordingly and config_lang.php was modified as well. However, only default language option was added to the config_lang.php.
After installation was finished, I faced the 404 error on the main page of the CMS. I was able to access the admin area though, but I noticed that I was not able to add/modify pages. From the installation FAQ (
http://dev.cmsmadesimple.org/docman/vie ... 53/faq.txt) I read that the problem could occur if the database tables were not modified properly by the installation script. I checked the tables, but they seemed to be alright. I finally opened up the source files and started to trace the source of the 404 error. As a result, I discovered that the $hls was not set at all. Later I learnt that the $hls is supposed to be set in config_lang.php, but it was not added there by the installer. Therefore I had to add it manually, resulting to following contents of the config_lang.php:
Code: Select all
$hls = array(
'en' => 'En',
'fi' => 'Fi',
);
define('DEFAULT_LANG', 'en');
You may have something else there instead of Finnish language. I hope this information helps someone
I have attached a flag of Finland as it was not present in the install bundle by default.
Teemu
[gelöscht durch Administrator]