Page 1 of 1

error installing cmsms-mle-1.0.2-build4

Posted: Sat May 19, 2007 7:45 pm
by firfelin
Hi,

I am trying to install for the first time a multilingual site, with the cmsms-mle-1.0.2-build4.
I made all the chmod things but all I get when I run the install.php is:
Cannot create /home/www/437f7e1ddef7e60c8315c4b7c015bd37/web/config_lang.php, please change permissions to allow this
what permissions?

any help? thanks in advance

Re: error installing cmsms-mle-1.0.2-build4

Posted: Sat May 19, 2007 8:57 pm
by alby
firfelin wrote: Hi,

I am trying to install for the first time a multilingual site, with the cmsms-mle-1.0.2-build4.
I made all the chmod things but all I get when I run the install.php is:
Cannot create /home/www/437f7e1ddef7e60c8315c4b7c015bd37/web/config_lang.php, please change permissions to allow this
what permissions?

any help? thanks in advance
Try with 777 of /home/www/437f7e1ddef7e60c8315c4b7c015bd37/web (your root folder)

Alby

Re: error installing cmsms-mle-1.0.2-build4

Posted: Sat May 19, 2007 9:04 pm
by firfelin
yep...

but I dont have the right to change the permissions of this root folder

I will try to install it in a subfolder; the url will be less clean:-(

Re: error installing cmsms-mle-1.0.2-build4

Posted: Sat May 19, 2007 9:23 pm
by alby
firfelin wrote: yep...

but I dont have the right to change the permissions of this root folder

I will try to install it in a subfolder; the url will be less clean:-(
Very bad  :-X
In this install step try create, chmod 777 and edit a new file config_lang.php:

Code: Select all

<?php
$hls = array(
        'en' => '<img src="images/lang/lang_en.gif" border="0">',
        'it' => '<img src="images/lang/lang_it.gif" border="0">',
);
define('DEFAULT_LANG', 'it');
?>
where $hls it's a array of lang and DEFAULT_LANG it's home default

Alby

Re: error installing cmsms-mle-1.0.2-build4

Posted: Sat May 19, 2007 10:36 pm
by firfelin
thank you for your help.

So...

I've "manually" create a config_lang.php file with:

Code: Select all

<?php

$hls = array(
	'de' => '<img src="images/lang/lang_de.gif" border="0">',
	'en' => '<img src="images/lang/lang_en.gif" border="0">',
	'fr' => '<img src="images/lang/lang_fr.gif" border="0">',
);

define('DEFAULT_LANG', 'fr');

?>
and chmod it 777

then I run install.php and problems begins again:

Code: Select all

Checking write permission on /home/www/437f7e1ddef7e60c8315c4b7c015bd37/web/images/lang

Code: Select all

Checking write permission on /home/www/437f7e1ddef7e60c8315c4b7c015bd37/web/admin/images/lang
failed

I chmod 777 and it allows me to contimue but then next step achieve all the efforts:

Code: Select all

Installing modules...
Fatal error: Call to a member function MoveNext() on a non-object in /home/www/437f7e1ddef7e60c8315c4b7c015bd37/web/lib/classes/class.globalcontentoperations.inc.php on line 85
...

the installation in a  subfolder seems a pretty easier choice ;D