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.

CP error on copy of site

November 26, 2012 1:50pm

Subscribe [3]
  • #1 / Nov 26, 2012 1:50pm

    srj.agency

    13 posts

    I’ve followed the steps in the guide about copying a live EE-instance to a development server.

    When I point my browser to ./admin.php I get the regular login-screen. But when I log in with the admin credentials I get the following error (I set $debug = 1):

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/www/intranet/apps/themes/) is not within the allowed path(s): (/home/p42660/:/tmp:/var/tmp:/usr/local/lib/php/)
    
    Filename: libraries/Core.php
    
    Line Number: 183

    The path in there (/home/www/intranet/apps/themes/) is from the “live” instance of EE. I’ve searched both the database and all files, but I can’t seem to find where to change that path. I’m quite positive that, if I can change that path to a path that is correct for the development-instance, the error will go away.

    Any thoughts? Thanks 😊

  • #2 / Nov 26, 2012 7:01pm

    wbdzynr

    137 posts

    You might try adding the path_third_themes into your config.php file and see if that helps?
    http://ellislab.com/expressionengine/user-guide/general/hidden_configuration_variables.html#path-third-themes

    Todd

  • #3 / Nov 27, 2012 10:52am

    srj.agency

    13 posts

    Hi Todd,

    Thanks for your reply. Unfortunately no success :(.

    Do you perhaps know where or how I could find where that path in the error is being stored?


    Thanks!

  • #4 / Nov 27, 2012 11:04am

    ParisJC

    150 posts

    If you know the proper path for that themes folder, you can change it manually by altering the config.php file at:

    /system/ExpressionEngine/config/config.php

    You can also change it within EE’s control panel under Admin/General Configuration.

    (If I’ve understood your problem correctly.)

  • #5 / Nov 27, 2012 12:00pm

    wbdzynr

    137 posts

    You said you get that error after trying to log in.  Are you able to access any of your control panel?

    Todd

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases