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.

Installation issue - browser cannot find system/index.php file

October 04, 2011 1:07pm

Subscribe [3]
  • #1 / Oct 04, 2011 1:07pm

    johndove523

    30 posts

    This question may be related to a resolved thread.

    I am new to EE and I am experiencing basically the same problem as the related thread above. Until now, I have used EE v.2 entirely locally via WAMP. Now, I am attempting the install on the live server (http://www.caspca.org/ee/). In the system folder/index.php file, I have set the full path to:

    $system_path = 'http://caspca.org/ee/system/index.php';

    resulting in the error:

    “Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php”.  - - I have tried all kinds of variations on this path, but even the absolute path does not work.

    Like the similar thread above, I have no admin.php file. Can someone please help?

    Thanks,

    John

     

  • #2 / Oct 04, 2011 1:31pm

    johndove523

    30 posts

    BTW, I have already ran the EE install wizard and it indicates I am good to go (see attached .jpg)

  • #3 / Oct 05, 2011 7:28am

    Sue Crocker

    26054 posts

    Hi, johndove523.

    You don’t need the /index.php on that particular setting.

    Which version of EE are you attempting this with?

    Try:

    $system_path = 'http://caspca.org/ee/system';

     

  • #4 / Oct 05, 2011 9:35am

    johndove523

    30 posts

    Hi Sue,

    Yeah, that doesn’t work either. Believe me, I’ve tried every variation of that system path that I can think of, but I can’t get the installation page. I am running EE v.2.2.2. Let me fill out a bit more of what I’ve done that may help you help me, because (according to the Mijingo EE installation video that’s guiding me through this process), I may have done some thing out of order here, so I’m a bit confused.

    1. I am watching the Mijingo EE installation video: http://mijingo.com/installing-expressionengine (specifically, I am right at the 10:10 mark in the video after setting the index.php $system_path that’s not working for me).

    2. ***this is my main point of confusion*** - Before starting the installation video, I already successfully installed EE on the live server (caspca.org) after working with the ISP to get everything set up for EE (see my last post in this thread, the attached “EEready.jpg” screen shot).

    3. (back to the installation video) - the installation wizard step (at 10:10 in the video) comes AFTER other preliminary steps like making files/folders writable (666/777, etc.) but I’ve already run the installation wizard BEFORE I started the video (or did anything else), so it seems that I’ve maybe done some things out of sequence here.

    I don’t know if this makes any difference, but I thought it was worth mentioning.

    Also, referring back to my original post here and the related resolved thread, I saw something in there about changing a setting in a config.php file, which the installation video does not address at all.

    That’s about everything I can tell you presently. Hopefully, this post provides the clues to get me into the admin panel.

    Thanks,

    John

  • #5 / Oct 05, 2011 9:38am

    Sue Crocker

    26054 posts

    Hi, John.

    Let’s back up a bit. Is there a reason you’re putting EE in the ee folder instead of being off of the root?

  • #6 / Oct 05, 2011 9:39am

    johndove523

    30 posts

    (referring to the EEready.jpg I posted) - or perhaps I’m confusing meeting the requirements of installation with the actual installation.

  • #7 / Oct 05, 2011 9:41am

    johndove523

    30 posts

    Hi Sue,

    Yes. The caspca.org site is live and cannot be disrupted while I’m developing the new EE site. I planned on developing the new EE site in its own directory on the live server, then moving it to the root when finished.

    John

  • #8 / Oct 05, 2011 10:11am

    Sue Crocker

    26054 posts

    Actually, you can continue to use the existing site and develop in EE. You just need to make sure that your .htaccess file loads index.htm before it loads index.php.

    DirectoryIndex index.htm index.php

    Is what you add to your .htaccess file.

    That way if someone goes to the root of your site, it will load index.htm instead of your index.php file. Plus we can talk about replacing your static .htm files with EE files using the Pages module and removing index.php via .htaccess. 😊

  • #9 / Oct 05, 2011 10:16am

    johndove523

    30 posts

    Sue,

    Good to know, but I can’t develop anything until I can get access to the admin panel. I’m still stuck with my original problem here. Are you telling me that EE HAS to be installed in the root? I didn’t think that was the case.

    John

  • #10 / Oct 05, 2011 10:26am

    Sue Crocker

    26054 posts

    No, you don’t need to install in the root, but what I’d like to have you try is to do a clean install in the root, ignoring for now your saved content from WAMP. Can you try that first?

  • #11 / Oct 05, 2011 10:53am

    johndove523

    30 posts

    I guess I can do that but I’d really rather not unless you’re pretty positive that will solve anything. RE:

    You just need to make sure that your .htaccess file loads index.htm before it loads index.php.

    DirectoryIndex index.htm index.php

    Is what you add to your .htaccess file.

    You’ll have to guide me through this, but I’m afraid something is going to go wrong and wreak havoc on the live site. First, I don’t know where the .htaaccess file is. Second, in making some changes to the .htaccess at some point in the Mijingo video series (my first go-around with the video training), the changes were not effective working strictly in WAMP. With all due respect, I know you’re trying to help me and I greatly appreciate it, but I feel like we’re kind of shooting in the dark here.

    Here is one other thing I forgot to mention that may come to bear in this problem. Before I ran the install wizard successfully, I ran it UNsuccessfully because I didn’t know the MySQL Server Address (see attached eeCapture1.jpg). ISP tech support suggested I enter “localhost” for the address, which I did, and then everything worked. I didn’t understand this, however, how localhost has anything to do with the live database on the live server. I inquired about this and received this response from ISP tech support:

    > When you are trying to install the application and bind it with MYSQL,
    > you are on the actual server, on LCP2.irides.com (216.147.201.150);
    > while you were trying to make a connection to the MYSQL service, it
    > appears that the service itself blocks all connections that come
    > externally, but allows other > connections to come from its local server; with that said, all > connections that come from its local host and are, obviously, hosted
    > on the same server will be allowed.

    Because I had installed EE successfully locally (on WAMP) prior to attempting to install it on the live server, and IF, in fact, ‘localhost’ was correctly input in the MySQL Server Address field, is it possible that my $system_path is not working because localhost is pointing to something it shouldn’t be pointed to (in phpMyAdmin perhaps? from before working completely in a local environment)?

  • #12 / Oct 05, 2011 11:14am

    johndove523

    30 posts

    (continuation from last post, referring again to screen shot eeCapture1.jpg)...

    I did not create a database in (WAMP) myPhpAdmin called ‘caspca_db’, which is the actual live DB name.

    POST UPDATED:

    I did not create a database in (WAMP) myPhpAdmin called ‘caspca_db’, which is the actual live DB name.

    I just did create that db. It didn’t work.

  • #13 / Oct 05, 2011 12:04pm

    johndove523

    30 posts

    ANOTHER RELATED POST: http://ellislab.com/forums/viewthread/174645/#829330

    This thread may hold the answer for me as well, not sure. These instructions are a little over my head.

    Follow-ups WELCOME! (please!) : )

    John

  • #14 / Oct 05, 2011 12:15pm

    johndove523

    30 posts

    As suggested in the second related post URL directly above, I went to:

    /ee/system/expressionengine/config/config.php

    when opened in Dreamweaver, the config.php file was blank. I added:

    $config['cp_url'] = "http://caspca.org/ee/system/index.php";

    , saved and uploaded.

    Still getting the same error, “...system folder path does not appear to be set correctly…”

  • #15 / Oct 05, 2011 3:56pm

    johndove523

    30 posts

    This issue is fixed. The whole problem was that I was simply modifying the wrong index.php file. I was modifying the /ee/system/index.php, not the (sub folder) root /ee/index.php, and (I don’t know how it happened) but the correct index.php file had an incorrect path that was giving me the error and blocking the install.

    This issue is resolved. Thanks for the help Sue!

    John

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

ExpressionEngine News!

#eecms, #events, #releases