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.

Moving 2.1.3 install from cPanel to Plesk

January 27, 2011 6:04am

Subscribe [4]
  • #1 / Jan 27, 2011 6:04am

    Oh the horror of Plesk. The site is mostly working except for gaining access to the control panel - I just get a blank screen.

    I’ve turned on debugging in the index.php file and I get this:

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined property: CI_Loader::$view
    Filename: account/login.php
    Line Number: 6
    
    Fatal error: Call to a member function head_title() on a non-object in C:\Inetpub\vhosts\website.com\httpdocs\themes\cp_themes\default\account\login.php on line 6

    I’ve triple-checked that those files are there. I even re-copied the cp_themes folder over just in case any files copied wacko the first time. Tried hardcoding $config[‘cp_theme’] & $config[‘cp_url’] to no avail.

    If I change the $config[‘cp_theme’] = ‘corporate’; my error is:

    An Error Was Encountered
    Unable to load the requested file: account/login.php

    Any help appreciated.

    Regards
    Martin

  • #2 / Jan 27, 2011 9:24am

    Steven Grant

    894 posts

    try adding some PHP server variables to your config file and see how you get on. May be a paths issue.

  • #3 / Jan 27, 2011 9:35am

    variouspixels

    31 posts

    Hi,

    I had one issue with Plesk related to a plugin not the CP. I unchecked Safe Mode in Host settings and the issue went away. I forgot to find out if unchecking Safe Mode was a bad thing though.


    gemmes

  • #4 / Jan 27, 2011 3:45pm

    Ingmar

    29245 posts

    Safe Mode, or perhaps something like mod_security… definitely looks like a server side issue to me.

  • #5 / Jan 27, 2011 7:23pm

    Hi,

    Thanks for the replies.

    What I find strange is that I installed EE in exactly the same location to make sure it would run ok and it did: perfectly.

    Safe Mode is off from what I can see. I’ve tried using PHP server variables to no avail.

    Still head scratching.

  • #6 / Jan 27, 2011 9:25pm

    I think I figured it out.

    For posterity (and for the unfortunate Plesk user) here’s what I discovered.

    Because Plesk has a site preview function it uses ‘$sitepreview’ in it’s preview URL. EE must think it’s a variable.

    To get access to the CP I had to use single quotes in the config.php file.

    When I eventually got access to the CP and tried to change the paths I got all sorts of php error complaining about the variable ‘$sitepreview’.

  • #7 / Jan 28, 2011 10:05am

    Ingmar

    29245 posts

    Thanks for getting back to us. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases