Results 1 to 2 of 2

Thread: Using Admin / Repair / Rebuild Config File truncates it

  1. #1
    rdtaylor is offline Sugar Community Member
    Join Date
    Sep 2006
    Location
    Brisbane, Queensland, Australia
    Posts
    40

    Default Using Admin / Repair / Rebuild Config File truncates it

    Kinda badly named function...maybe it should be named "Truncate config file and render CRM system unusable"

    I have done this three times, and it truncates the config file every time.

    This is what the tail end of the config file looks like after the function has been used:

    ---
    [root@kremlin html]# tail config.php
    9 => 'js',
    10 => 'vbs',
    11 => 'html',
    12 => 'htm',
    ),
    'upload_dir' => 'cache/upload/',
    'upload_maxsize' => 3000000,
    'use_php_code_json' => true,
    'use_real_names' => true,
    'verify_client_ip' => f[root@kremlin html]#
    ---

    As you can see, there is not even a carriage return after the "f" on the verify_client_ip parameter.

    If I manually fix it up like so:

    ---
    [root@kremlin html]# tail config.php
    12 => 'htm',
    ),
    'upload_dir' => 'cache/upload/',
    'upload_maxsize' => 3000000,
    'use_php_code_json' => true,
    'use_real_names' => true,
    'verify_client_ip' => false,
    )
    ?>
    ---

    my system starts working again...

    What's going on here?

    I asked about this when I first installed the system, and no one seemed to think there was a real issue here. I can now truncate my config file easily EVERY time I use the "rebuild" function...

    cheers
    Rob

  2. #2
    twe2002 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    12

    Default Re: Using Admin / Repair / Rebuild Config File truncates it

    Same happened on my system. Repair config files actually breaks it. Version 4.5c
    TWE2002

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •