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.

Unable to load the requested file: _shared/menu/item_parent.php error

August 25, 2011 1:16pm

Subscribe [3]
  • #1 / Aug 25, 2011 1:16pm

    PJCweb

    41 posts

    Ok running into an issue here.  I’m trying to archive an older version of a site onto a new server (which is windows based as opposed to the old linux server).  I’ve installed APE so that my .htaccess files will still work.  The files/database have all been copied over, and the site is running.  However I cannot access the EE control panel because i get the following error:

    An Error Was Encountered

    Unable to load the requested file: _shared/menu/item_parent.php


    I’ve looked through the forums and I’ve seen this isn’t a terribly uncommon problem, however the fixes don’t quite seem to be working for me.  The relevant lines in my config file are set currently as follows:

    $config['cp_url'] = "http://old.mysite.com/_system/index.php";
    $config['cp_theme_url'] = 'http://old.mysite.com/themes';
    $config['theme_folder_path'] = "/oldsites/mysite.com/htdocs/themes/";

    The last (the Theme folder path) is my guess as to the problem.  The windows path is:

    E:\oldsites\mysite.com\htdocs\themes\

    However I’m guessing I can’t just put that in the config file.  How should this line look in a windows environment?  Or is there something else I’m missing?  Also of note is I’m just using the default control panel theme.  Nothing fancy

  • #2 / Aug 25, 2011 11:19pm

    Dan Decker

    7338 posts

    PJCweb,

    Let’s see if we can get you sorted out. “Paths” are native to the host OS, so on Windows Environments, they are just what you outlined, “E:\path\to\my\stuff” Plug the path you mentioned into $config[‘theme_folder_path’] and let’s see if that sets it straight.

    Cheers,

  • #3 / Aug 26, 2011 12:37am

    PJCweb

    41 posts

    No change unfortunately.  Same error.  I don’t know if it’s significant, but i set debug=1 somewhere along the line and if i load the same page on IE i get the same error, but above it i get the following error:

    A PHP Error was encountered
    Severity: Warning
    
    Message: filemtime() [function.filemtime]: stat failed for E:\oldsites\mysite.com\htdocs\themes/cp_themes/default/css/global.css
    
    Filename: libraries/Cp.php
    
    Line Number: 158
  • #4 / Aug 26, 2011 12:45am

    Dan Decker

    7338 posts

    PJCweb,

    Are you able to log in to your control panel at all? If so, you need to set the path value to your themes folder to match Windows style file paths. Admin-> General Configuration - Theme Folder Path should look like “\path\to\theme\folder\”

    Back to your initial issue - E:\oldsites\mysite.com\htdocs\themes\ - try \\oldsites\mysite.com\htdocs\themes\ instead.

    Cheers,

  • #5 / Aug 26, 2011 2:11am

    PJCweb

    41 posts

    No that’s the problem.  I’m getting that error on http://www.mysite.com/_system/index.php which is normally where i’d log in to the control panel. 

    Also, unfortunately still no change after changing to the format you suggested.

  • #6 / Aug 26, 2011 2:25pm

    Austin Siewert

    129 posts

    I’m getting the same error. I upgrade from 2.1.3 to 2.2.2. I noticed in my old default cp_theme folder I have a ton of extra folders (see attached), which references that directory & file. In the latest build, just the css & image directory are on the default theme. What build got rid of all the extra folders? Should I just move over those folder/files or is there something else I can do since I don’t want to do this in the future?

  • #7 / Aug 28, 2011 6:27pm

    Dan Decker

    7338 posts

    PJCweb,

    Let’s take a step back and get a little more info. What version of ExpressionEngine are you using, and are you using MSM?

    Austin,

    Inside cp_themes you should see corporate and default and in each of those images and css. I suspect the folders in your screenshot are hold-overs and no longer necessary.

    Cheers,

  • #8 / Aug 29, 2011 11:22am

    Austin Siewert

    129 posts

    Inside cp_themes you should see corporate and default and in each of those images and css. I suspect the folders in your screenshot are hold-overs and no longer necessary.

    That’s what I suspected. Now how do I stop that error b/c it’s still looking for those files?

  • #9 / Aug 29, 2011 6:27pm

    Dan Decker

    7338 posts

    Austin,

    Just so I’m clear, you are seeing this error after an update, is that correct? Did you encounter any errors during the update process? If your installation is still looking for items from the older version, it makes me think that not everything was transferred in the initial FTP. I’m going to ask you to follow all of the steps outlined in Updating from a Previous Version of ExpressionEngine *except* step 5. Since you’ve already (somewhat) successfully ran the update, you can just remove installer straight away. This process should insure a complete and fresh installation of EE. Let us know if you are still experiencing any issues after this process.

    Cheers,

  • #10 / Aug 30, 2011 10:04am

    PJCweb

    41 posts

    According to the config file, it’s version 210, which i presume is 2.1.  The multi-site manager is installed if i recall, but it’s not actually used on that website.

  • #11 / Aug 30, 2011 8:30pm

    Dan Decker

    7338 posts

    PJCweb,

    Be on the look out for an email from me. I’d like us to get a closer look.

    Cheers,

  • #12 / Sep 07, 2011 11:07am

    PJCweb

    41 posts

    Any luck?

  • #13 / Sep 08, 2011 6:55pm

    Dan Decker

    7338 posts

    Justin,

    I’ll keep working with you until we come to resolution. Once we have it all sorted out, we’ll follow-up here once we have a solution.

    Cheers,

  • #14 / Nov 12, 2011 9:26am

    Austin Siewert

    129 posts

    I just updated from 2.2.2 to 2.3.1. I’m getting the same errors as before.:

    “Unable to load the requested file: _shared/menu/item_parent.php”

    I followed the instructions and uploaded the system and themes files and then renamed the directories. Why is the system still looking for the legacy files?

     

  • #15 / Nov 17, 2011 3:30pm

    Dan Decker

    7338 posts

    Hi Austin Siewert,

    What folders did you rename? Just the system folder, or system and themes? Which theme are you using in the Control Panel?

    Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases