Elxis CMS Forum

Support => Technical support => Topic started by: regi168 on April 03, 2011, 08:26:25

Title: file permission problem
Post by: regi168 on April 03, 2011, 08:26:25
for director/files security reason  elxsi suggest  permission set  755/644 of all directory/files   

but when I go to control panel / global configration -->  the configration.php shows "unwritable"

so I must use ftp to  change configuration.php to 777, the global configuration shows "writable"  in order to make new change.

the proble is when I make change and save.   the screen all disappear, and turn white, no thing on monitor screen.

I check the configuration.php  it already auto turn permission "511".  when I change permission to 777 again.

go to global configuration to make change.   same problem will happened again.
Title: Re: file permission problem
Post by: ks-net on April 03, 2011, 08:33:29
what is your php version?
Title: Re: file permission problem
Post by: regi168 on April 03, 2011, 08:50:23
PHP 5.2.3

not just configration.php , even just click and look it  will change file permission automatically .  but also others file like language.php.

I go to check the language manager / chinese tranditional.php   just check it . it occurs error.

Quote
Fatal error: require_once() [function.require]: Failed opening required '/home/httpd/vhosts/regi168.com/httpdocs/language/chinese_traditional/chinese_traditional.php' (include_path='.:') in /home/httpd/vhosts/regi168.com/httpdocs/includes/Core/loader.php on line 78

I must use ftp to change it back to 644.
Title: Re: file permission problem
Post by: ks-net on April 03, 2011, 09:36:09
do you have enabled the automatic chmod of new files/folders in elxis clobal config?
OR
applied any permission-reset  on all files/folders  from global config?

Quote
even just click and look it  will change file permission automatically
can you explain this a litle more ...?
Title: Re: file permission problem
Post by: regi168 on April 03, 2011, 09:56:44


can you go  to PM   // I will give you a administrator temperaray account. //   if ok for you

just click golbal configration or go to check language manager / english language file.  just clcki it and save it.

now configration.php and language.php are 644   
language directory are  755

you will see site down right away.

the chmod are still in default.