Results 1 to 6 of 6

Thread: Changes made to settings in back end do not save

  1. #1
    New user
    Join Date
    12-15-10.
    Posts
    3

    Default Changes made to settings in back end do not save

    Hi all,

    I'm experiencing an odd problem where I'm unable to save any changes made in the System>Settings back end module.

    Any values I change are overwritten with the old values when I click Save or Save and close.

    For example, if I change Account locking time from 300 to 1, once I click Save, 300 reappears in the input text field. If I then go to System log, I can see the message: Global configuration variable "lockPeriod" has been changed from "300" to "1" but this has not happened.

    My Contao website is otherwise functioning fine - does anyone have any suggestions as to what may be causing this problem?

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: Changes made to settings in back end do not save

    Hi pttr,

    Quote Originally Posted by pttr
    Does anyone have any suggestions as to what may be causing this problem?
    The local configuration file "localconfig.php" (and maybe others too) is not writable by the PHP process on which Contao runs.

    Try to check your installation with the Contao System Check Tool. Maybe you'll get there a hint that you will need the Safe Mode Hack (SMH).
    Contao Community Moderator
    → Support options

  3. #3
    New user
    Join Date
    12-15-10.
    Posts
    3

    Default Re: Changes made to settings in back end do not save

    Hi xchs,

    Thanks for the reply, and for identifying the problem. I've just now run the System Check Tool and it does suggest that I run the Safe Mode Hack.

    The System Check Tool also reports that a number of files are "corrupt" which is disturbing.

    I am unable to run the Safe Mode Hack, as FTP is not available on the server, and I'm unable to change servers or to enable FTP. I can make the local configuration file - and any others as necessary - writable, but I note that the System Check Tool says: "Under no circumstances should you try to solve this problem by changing the file permissions!"

    In the short term, I have solved the problem by directly editing the "localconfig.php" file, eg:

    Code:
    $GLOBALS['TL_CONFIG']['lockPeriod'] = 1;
    and this works OK, although it's not an ideal work around long term.

    If I can ask a couple further questions:

    Is there a recommended way to enable Safe Mode type functionality in the absence of FTP?

    What are the dangers if I ignore the System Check Tool warning message and change the "localconfig.php" file permissions (and other files as required)?

    What is the best way to deal with files reported as "corrupt" by System Check Tool - can I simply replace these files from Contao core on source forge?

    Thanks for your attention.

  4. #4
    User
    Join Date
    06-29-09.
    Posts
    271

    Default Re: Changes made to settings in back end do not save

    Can you move to a server that is not as restrictive instead? Seems like less work to me...

  5. #5
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: Changes made to settings in back end do not save

    Quote Originally Posted by pttr
    I am unable to run the Safe Mode Hack, as FTP is not available on the server, and I'm unable to change servers or to enable FTP. [...] Is there a recommended way to enable Safe Mode type functionality in the absence of FTP?
    In such a case, the standard way would be to configure PHP as CGI (or the even better FastCGI).

    Quote Originally Posted by pttr
    What is the best way to deal with files reported as "corrupt" by System Check Tool - can I simply replace these files from Contao core on source forge?
    Yes. If you made no own modifications on these files you can overwrite them as well.
    Contao Community Moderator
    → Support options

  6. #6
    New user
    Join Date
    12-15-10.
    Posts
    3

    Default Re: Changes made to settings in back end do not save

    Can you move to a server that is not as restrictive instead? Seems like less work to me...
    Unfortunately not

    In such a case, the standard way would be to configure PHP as CGI (or the even better FastCGI).
    I understand, thanks.

    Yes. If you made no own modifications on these files you can overwrite them as well.
    Great.

    Cheers for the help!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •