ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Control Panel Settings Not Saving

October 01, 2009 12:51am

Subscribe [2]
  • #1 / Oct 01, 2009 12:51am

    Devon Shaw

    11 posts

    To start, I’ve gone through this thread:

    http://ellislab.com/forums/viewthread/89133/

    and this one:

    http://ellislab.com/forums/viewthread/97987/

    and am still having issues. Same thing as the users above. Upgraded from 1.5.2 and now certain control panel settings (not all of them, oddly) aren’t sticking. Most notably “Default CP Theme”, “Publish Tab Behavior”, and “Use Category URL Titles in Links.” I’ve checked the following:

    - config.php and config_bak.php are set at 666.
    - attempted to resolve by changing /system/ to 777, didn’t work, changed it back.
    - issue doesn’t resolve no matter which admin_session_type setting I manually change in config.php.
    - attempted to re-upload cp.admin.php in forced ASCII transfer.
    - attempted to re-upload default cp theme.

    I’m at a loss after a very frustrating evening of upgrades, particularly since I’m saddled with over a decade of database material that I can’t simply wipe and start from scratch. This isn’t the only lingering issue, but for now it’s the most important one.

  • #2 / Oct 01, 2009 1:43am

    John Henry Donovan

    12339 posts

    Devon,

    What do you have in your config.php file at the moment?

    Before posting remember to edit out any sensitive information like usernames and passwords.

    After your upgrade did you manually clear your cache?

    FTP into system/cache and delete everything inside of it including the folders. Leave index.html intact.

  • #3 / Oct 01, 2009 2:01am

    Devon Shaw

    11 posts

    Cleared the cache manually every time I tried one of the above tricks. Here’s my config.php (beware, it’s long):

    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "168";
    $conf['license_number'] = "0000-0000-0000-0000";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "mysql.mysite.com";
    $conf['db_username'] = "";
    $conf['db_password'] = "";
    $conf['db_name'] = "";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['encryption_type'] = "sha1";
    $conf['system_folder'] = "system";
    $conf['cp_url'] = "http://www.mysite.com/system/";
    $conf['site_index'] = "";
    $conf['site_name'] = "My Site";
    $conf['site_url'] = "http://www.mysite.com/";
    $conf['theme_folder_url'] = "http://www.mysite.com/themes/";
    $conf['doc_url'] = "http://eedocs.pmachine.com/";
    $conf['webmaster_email'] = "[email protected]";
    $conf['webmaster_name'] = "Webmaster";
    $conf['weblog_nomenclature'] = "section";
    $conf['max_caches'] = "300";
    $conf['captcha_url'] = "http://www.mysite.com/images/captchas/";
    $conf['captcha_path'] = "/home/mysite/images/captchas/";
    $conf['captcha_font'] = "y";
    $conf['captcha_rand'] = "y";
    $conf['captcha_require_members'] = "n";
    $conf['enable_db_caching'] = "n";
    $conf['enable_sql_caching'] = "n";
    $conf['force_query_string'] = "n";
    $conf['show_queries'] = "n";
    $conf['template_debugging'] = "n";
    $conf['include_seconds'] = "n";
    $conf['cookie_domain'] = "";
    $conf['cookie_path'] = "";
    $conf['cookie_prefix'] = "";
    $conf['user_session_type'] = "c";
    $conf['admin_session_type'] = "cs";
    $conf['allow_username_change'] = "y";
    $conf['allow_multi_logins'] = "y";
    $conf['password_lockout'] = "y";
    $conf['password_lockout_interval'] = "1";
    $conf['require_ip_for_login'] = "y";
    $conf['require_ip_for_posting'] = "y";
    $conf['allow_multi_emails'] = "n";
    $conf['require_secure_passwords'] = "n";
    $conf['allow_dictionary_pw'] = "y";
    $conf['name_of_dictionary_file'] = "";
    $conf['xss_clean_uploads'] = "y";
    $conf['redirect_method'] = "redirect";
    $conf['deft_lang'] = "english";
    $conf['xml_lang'] = "en";
    $conf['charset'] = "utf-8";
    $conf['send_headers'] = "y";
    $conf['gzip_output'] = "n";
    $conf['log_referrers'] = "y";
    $conf['max_referrers'] = "500";
    $conf['is_system_on'] = "y";
    $conf['time_format'] = "us";
    $conf['server_timezone'] = "UM8";
    $conf['server_offset'] = "";
    $conf['daylight_savings'] = "y";
    $conf['default_site_timezone'] = "";
    $conf['default_site_dst'] = "n";
    $conf['honor_entry_dst'] = "y";
    $conf['mail_protocol'] = "mail";
    $conf['smtp_server'] = "";
    $conf['smtp_username'] = "";
    $conf['smtp_password'] = "";
    $conf['email_debug'] = "n";
    $conf['email_charset'] = "utf-8";
    $conf['email_batchmode'] = "n";
    $conf['email_batch_size'] = "";
    $conf['mail_format'] = "plain";
    $conf['word_wrap'] = "y";
    $conf['email_console_timelock'] = "5";
    $conf['log_email_console_msgs'] = "y";
    $conf['cp_theme'] = "default";
    $conf['email_module_captchas'] = "n";
    $conf['log_search_terms'] = "y";
    $conf['un_min_len'] = "2";
    $conf['pw_min_len'] = "5";
    $conf['allow_member_registration'] = "y";
    $conf['allow_member_localization'] = "y";
    $conf['req_mbr_activation'] = "email";
    $conf['new_member_notification'] = "n";
    $conf['mbr_notification_emails'] = "";
    $conf['require_terms_of_service'] = "y";
    $conf['use_membership_captcha'] = "n";
    $conf['default_member_group'] = "5";
    $conf['profile_trigger'] = "member";
    $conf['member_theme'] = "default";

    Continued…

  • #4 / Oct 01, 2009 2:02am

    Devon Shaw

    11 posts

    $conf['enable_avatars'] = "y";
    $conf['allow_avatar_uploads'] = "y";
    $conf['avatar_url'] = "http://www.mysite.com/images/avatars/";
    $conf['avatar_path'] = "/home/mysite/images/avatars/";
    $conf['avatar_max_width'] = "100";
    $conf['avatar_max_height'] = "100";
    $conf['avatar_max_kb'] = "70";
    $conf['enable_photos'] = "y";
    $conf['photo_url'] = "http://www.mysite.com/images/member_photos/";
    $conf['photo_path'] = "/home/mysite/images/member_photos/";
    $conf['photo_max_width'] = "250";
    $conf['photo_max_height'] = "250";
    $conf['photo_max_kb'] = "150";
    $conf['allow_signatures'] = "y";
    $conf['sig_maxlength'] = "500";
    $conf['sig_allow_img_hotlink'] = "n";
    $conf['sig_allow_img_upload'] = "n";
    $conf['sig_img_url'] = "http://www.mysite.com/images/signature_attachments/";
    $conf['sig_img_path'] = "/home/mysite/images/signature_attachments/";
    $conf['sig_img_max_width'] = "480";
    $conf['sig_img_max_height'] = "80";
    $conf['sig_img_max_kb'] = "30";
    $conf['prv_msg_upload_path'] = "/home/mysite/images/pm_attachments/";
    $conf['prv_msg_max_attachments'] = "3";
    $conf['prv_msg_attach_maxsize'] = "250";
    $conf['prv_msg_attach_total'] = "100";
    $conf['prv_msg_html_format'] = "safe";
    $conf['prv_msg_auto_links'] = "y";
    $conf['prv_msg_max_chars'] = "6000";
    $conf['site_404'] = "";
    $conf['save_tmpl_revisions'] = "n";
    $conf['max_tmpl_revisions'] = "5";
    $conf['save_tmpl_files'] = "y";
    $conf['tmpl_file_basepath'] = "/home/mysite/system/template_files/";
    $conf['secure_forms'] = "y";
    $conf['deny_duplicate_data'] = "y";
    $conf['redirect_submitted_links'] = "n";
    $conf['enable_censoring'] = "n";
    $conf['censored_words'] = "";
    $conf['censor_replacement'] = "";
    $conf['banned_ips'] = "";
    $conf['banned_emails'] = "";
    $conf['banned_usernames'] = "";
    $conf['banned_screen_names'] = "";
    $conf['ban_action'] = "bounce";
    $conf['ban_message'] = "";
    $conf['ban_destination'] = "http://www.yahoo.com/";
    $conf['enable_emoticons'] = "y";
    $conf['emoticon_path'] = "http://www.mysite.com/images/smileys/";
    $conf['recount_batch_total'] = "1000";
    $conf['enable_image_resizing'] = "y";
    $conf['image_resize_protocol'] = "gd2";
    $conf['image_library_path'] = "";
    $conf['thumbnail_prefix'] = "thumb";
    $conf['word_separator'] = "underscore";
    $conf['use_category_name'] = "n";
    $conf['reserved_category_word'] = "category";
    $conf['auto_convert_high_ascii'] = "n";
    $conf['new_posts_clear_caches'] = "y";
    $conf['auto_assign_cat_parents'] = "y";
    $conf['remap_pm_urls'] = "n";
    $conf['remap_pm_dest'] = "";
    $conf['new_version_check'] = "y";
    $conf['publish_tab_behavior'] = "hover";
    $conf['enable_throttling'] = "n";
    $conf['banish_masked_ips'] = "y";
    $conf['max_page_loads'] = "10";
    $conf['time_interval'] = "8";
    $conf['lockout_time'] = "30";
    $conf['banishment_type'] = "message";
    $conf['banishment_url'] = "";
    $conf['banishment_message'] = "You have exceeded the allowed page load frequency.";
    $conf['enable_search_log'] = "y";
    $conf['max_logged_searches'] = "500";
    $conf['allow_extensions'] = "y";
    $conf['mailinglist_enabled'] = "y";
    $conf['mailinglist_notify'] = "n";
    $conf['mailinglist_notify_emails'] = "";
    $conf['memberlist_order_by'] = "total_posts";
    $conf['memberlist_sort_order'] = "desc";
    $conf['memberlist_row_limit'] = "20";
    $conf['forum_is_installed'] = "y";
    $conf['forum_trigger'] = "board";
    ?>
  • #5 / Oct 01, 2009 2:05am

    John Henry Donovan

    12339 posts

    Devon,

    K quick test for you. If you comment out ‘$conf[‘cp_theme’] = “default”;’ in your config file, are you able to get the relevant change to stick in the CP now?

  • #6 / Oct 01, 2009 2:24am

    Devon Shaw

    11 posts

    Yes, it does.

  • #7 / Oct 01, 2009 2:45am

    John Henry Donovan

    12339 posts

    Devon,

    From 1.6 onwards nearly all of those config variables have been added to the actual database, so you can scale back a lot of what you have there.

    By all means backup whatever you have in there first.

    Here is a sample config.php for EE v1.6.0.

    EE Wiki : Config.php for v1.6.0

    In addition to that add in some forum config variables

    $conf['forum_is_installed'] = "y";
    $conf['forum_trigger'] = "board";
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases