1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 db name change

Discussion in 'XenForo Questions and Support' started by by_carizma, Feb 14, 2016.

  1. by_carizma

    by_carizma Member

    Hi, (Google translate)

    We do manual restore backups of my website.

    I create a new database and user. Then I import site loaded..

    There are no problems opening websites..

    www.seatclubworld.com

    public_html/error_logs but it gives error codes


    [14-Feb-2016 19:16:30 Europe/Istanbul] PHP Warning: require(/home/seateski/public_html/library/XenForo/Autoloader.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/seatyeni/public_html/showthread.php on line 11

    [14-Feb-2016 19:16:30 Europe/Istanbul] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/seateski/public_html/library/XenForo/Autoloader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/seatyeni/public_html/showthread.php on line 11

    before user domain name : seateski
    new user domain name : seatyeni

    MY NEW CONFİG.PHP

    <?php

    $config['db']['host'] = 'localhost';

    $config['db']['port'] = '3306';

    $config['db']['username'] = 'seatyeni_sql';

    $config['db']['password'] = '******';

    $config['db']['dbname'] = 'seatyeni_sql';

    $config['superAdmins'] = '4,36,1195';

    $config['cache']['enabled'] = true;
    $config['cache']['frontend'] = 'Core';
    $config['cache']['frontendOptions']['cache_id_prefix'] = ' ';
    $config['cache']['backend'] = 'File';
    $config['cache']['backendOptions'] ['cache_dir'] = '/home/seatyeni/public_html/internal_data/cache/';

    ini_set('max_execution_time', 120);

    //$config['enableMail'] = false;
    //$config['enableListeners'] = false;
    //$config['debug'] = true;
    //$config['debug'] = 1;
    //$config['enableTfa'] = false;
    //$config['enableListeners'] = false;

    BEFORE CONFİG.PHP

    <?php
    //$config['enableListeners'] = false;



    $config['db']['host'] = 'localhost';

    $config['db']['port'] = '3306';

    $config['db']['username'] = 'seateski_xf';

    $config['db']['password'] = '****';

    $config['db']['dbname'] = 'seateski_xf';

    $config['superAdmins'] = '4,36,1195';

    $config['cache']['enabled'] = true;
    $config['cache']['frontend'] = 'Core';
    $config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
    $config['cache']['backend'] = 'File';
    $config['cache']['backendOptions'] ['cache_dir'] = '/home/seateski/public_html/internal_data/cache/';

    ini_set('max_execution_time', 120);

    //$config['enableMail'] = false;
    //$config['enableListeners'] = false;
    //$config['debug'] = true;
    //$config['debug'] = 1;

    before db name: seateski_xf
    before db cache_id_prefix'] = 'xf_';
    new db name : seatyeni
    new db prefix : no



    public_html/error_log
    How do I fix the registry errors?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to edit the 301config.php file with the new location.
     
  3. by_carizma

    by_carizma Member

  4. whynot

    whynot Well-Known Member

    In which folder is it?
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    It should be in the directory where the VB files were located.
     
    whynot likes this.
  6. whynot

    whynot Well-Known Member

    Is this thread about an import from VB?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    No, it's related to a move/domain change of an existing XF installation which was imported from VB.
     
    whynot likes this.

Share This Page