Elxis CMS Forum

Support => Administration => Topic started by: LVTRUTH on June 06, 2007, 22:50:39

Title: unable to save changes in Global Config
Post by: LVTRUTH on June 06, 2007, 22:50:39
I've tried changing a few things such as the metadata etc. but I can't save or apply the changes. Hope someone could help
Title: Re: unable to save changes in Global Config
Post by: Ivan Trebješanin on June 06, 2007, 23:15:28
Have you checked permissions for configuration.php? Are you using FTP in admin panel?
Title: Re: unable to save changes in Global Config
Post by: Patricia on June 06, 2007, 23:36:19
CHMOD your file to 777 making Config.php writable. Actually, it should be written it is, at the top of the page.

Good luck.
Title: Re: unable to save changes in Global Config
Post by: Ivan Trebješanin on June 07, 2007, 00:08:25
BUT... don't forget to CHMOD it back to 644 after making changes
Title: Re: unable to save changes in Global Config
Post by: eliasan on June 07, 2007, 00:33:53
Just a reminder...

If users have FTP access enabled on Elxis  AND  they are owners of the file, then they can apply changes to configuration.php, even if it is set to 644.

I emphasize the "owners of the file", because under normal circuimstances the configuration.php file  belongs to user nobody:nobody and no to the account holder.

For users that have SSH access on their servers, they can easily change the ownership of the configuration.php file back to them by issuing the command:

cd [to elxis directory]
chown [user]:[group] configuration.php

for example
chown myaccount:myaccount configuration.php
Title: Re: unable to save changes in Global Config
Post by: LVTRUTH on June 07, 2007, 22:03:58
I have no ftp users on my site its just me and I'm opening up another site using elxis, but I am having trouble with the same thing. I never once changed my CHMOD so it's still 777 I believe.
Title: Re: unable to save changes in Global Config
Post by: eliasan on June 07, 2007, 22:14:24
Propably you didn't understand what I was trying to say.

You can send me a PM with:
- web site URL
- data for accessing administration
- FTP access data

 
Title: Re: unable to save changes in Global Config
Post by: Ivan Trebješanin on June 07, 2007, 22:15:56
Don't believe man, check! ;)
if your configuration.php has 644 permissions (most often), you won't be able to write new settings. So make SURE it's 777!!!
Title: Re: unable to save changes in Global Config
Post by: Patricia on June 08, 2007, 05:49:02
There is a big chance your files are set to 644 if you never had to CHMOD any of them for security reasons. So make sure you change the configuration.php file permission to 777. And change it back to 644 when you're done as Ivan graciously recommended.

And have fun with your Elxis installations, it's a pretty good and quite easy to use CMS, you'll have a blast!
Title: Re: unable to save changes in Global Config
Post by: datahell on June 08, 2007, 07:37:04
777 means that you add execution permissions on the file (like you would do to run a unix shell script, a windows .exe file etc). Please use just 666 for writable files (or 644 and the owner is you).
Title: Re: unable to save changes in Global Config
Post by: Ivan Trebješanin on June 08, 2007, 11:39:19
But for folders it's 755 for nonwritable, and 777 for writable, if I remember well...
Title: Re: unable to save changes in Global Config
Post by: datahell on June 08, 2007, 18:44:18
You need permission to execute for folders. I spoken about files.

All these are subject to who is trying to write where. You can for example have 444 to files.

Stay to these as a general guide:
files: 644/666, folders: 755/777
Title: Re: unable to save changes in Global Config
Post by: LVTRUTH on June 09, 2007, 02:25:50
Well Eliasan looked at my site and its totally screwed up he said. So I guess I'll be contacting you guys in the near future to get things right for me. I love this program too much to give it up just for one little problem.(although it will turn into a big one later on)

Thanks for all your help