Results 1 to 6 of 6

Thread: config_override.php

  1. #1
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default config_override.php

    Hello,
    values from sugar self created config_override.php are not active.

    For example:
    1) Change Listview items per page value from 20 to 50 in System settings. After that was created new file config_override.php.
    2) After reloading System settings page we see the default value 20, but in a config_override.php is a value 50..

    That seems as Sugar not including new created config_override.php file...

    Is there any way to check values what are globally included from config files?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: config_override.php

    What is the version of your sugarcrm instance?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Re: config_override.php

    SugarCRM 6.0.0 PRO

  4. #4
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Re: config_override.php

    Hello,
    we need a resolution for this problem.
    Can anybody solve this issue?

    Thank you
    PHP Code:
    <?
    echo "Core Net Solutions, s.r.o.";
    echo 
    "Certified SugarCRM partner";
    ?>

  5. #5
    Ramblin is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    98

    Default Re: config_override.php

    your first line should have <?php not just <?

  6. #6
    frantisek.preissler's Avatar
    frantisek.preissler is offline Sugar Community Member
    Join Date
    Apr 2010
    Location
    Near Prague in Czech republic
    Posts
    33

    Default Re: config_override.php

    config_override.php

    PHP Code:
    <?php
    /***CONFIGURATOR***/
    $sugar_config['default_module_favicon'] = false;
    $sugar_config['stack_trace_errors'] = false;
    $sugar_config['developerMode'] = true;
    $sugar_config['dbconfigoption']['collation'] = 'utf8_general_ci';
    $sugar_config['default_time_format'] = 'H.i';
    $sugar_config['list_max_entries_per_page'] = '200';
    $sugar_config['lock_homepage'] = true;
    $sugar_config['upload_maxsize'] = '9000000';
    $sugar_config['default_currency_symbol'] = '€ ';
    /***CONFIGURATOR***/
    The value $sugar_config['list_max_entries_per_page'] = '200'; is set as last save System Settings, every lists are only 50 items per page (the value from config.php).
    That seems as the config_override.php is not included to the config object
    PHP Code:
    <?
    echo "Core Net Solutions, s.r.o.";
    echo 
    "Certified SugarCRM partner";
    ?>

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Store value in config_override.php
    By Cedric K in forum Developer Help
    Replies: 2
    Last Post: 2010-12-08, 01:08 PM
  2. R5 config.php & config_override.php
    By salesagility in forum Help
    Replies: 2
    Last Post: 2009-04-20, 10:01 AM
  3. config_override.php
    By jazardezign in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-08-06, 10:59 PM
  4. Replies: 4
    Last Post: 2006-04-07, 03:49 PM

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
  •