Results 1 to 2 of 2

Thread: Moving installation from root to subfolder

  1. #1
    New user
    Join Date
    07-13-09.
    Posts
    12

    Default Moving installation from root to subfolder

    I want to move my current (working) Contao installation from the root to a subfolder. I adjusted the websitePath in the localconfig.php, and the RewriteBase in the .htaccess and moved all files from the root to the subfolder. But when I load the website from the new location I get the following errors:

    Warning: require(/www/htdocs/domainname/http/system/functions.php) [function.require]: failed to open stream: No such file or directory in /www/htdocs/domainname/http/system/initialize.php on line 39

    Fatal error: require() [function.require]: Failed opening required '/www/htdocs/domainname/http/system/functions.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/htdocs/domainname/http/system/initialize.php on line 39
    Strange that the error points to the old root configuration.

    It can't be the .htaccess file I think, because when I remove it the error is still the same.

    What can it be? I hope someone can help me out.

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: Moving installation from root to subfolder

    did you removed the .htaccess from the parent folder? (i.e. the old website root)

    I guess no
    Consulenza Contao CMS https://www.intco.it

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
  •