• Resolved grizdog

    (@grizdog)


    So, after many moons of trying to get my php files to execute, I finally got it all working (with tons of help!).

    Now, after I’ve gone through the install.php process and logged in with my username and password, I get a directory of files. Wasn’t I supposed to see something different, like an admin page or console of some sort?

    As per the discoveries of my last issue with getting my php files to execute, I did check to make sure that I did not remove those notorious little rectangles. The wp-admin.php file is original.

    I will investigate to see if any other pages are different, but I have reason to believe that I made no other changes to any other files accept the wp-config.php file (and one other, which I corrected).

    Does anyone have any input as to why I did not find myself in the wp-admin file or the index.php of that folder?

    Thanks.

Viewing 15 replies - 1 through 15 (of 21 total)
  • Check your logs again after logging in.

    Thread Starter grizdog

    (@grizdog)

    Ok. I will.

    I did click on one of the files in front of me (as I was in the directory, not in a php file). It seems to bring up that page, but I thought it should do it as soon as I logged in.

    Is that normal?

    I’ll check those logs now to see if anything new has come up.

    If you click on the index.php file, are you taken to the blog? (should be taken there, not the login page)

    If so, I’m guessing your directory tree isn’t set up to see “php” as a valid file extension to look for with indexes.

    If I remember right – you’re on localhost? You can use .htaccess to add index.php to the tree, but if you’re on localhost, there’s another way to do it…I think it’s in the Apache files. I’d have to look it up – been so long since I’ve had to do this!

    Thread Starter grizdog

    (@grizdog)

    There doesn’t appear to be any new errors in there. They look like the same errors that existed during the previous issue.

    Yeah – it’s in the httpd.conf file in Apache. You need to set “index.php” as a file that the server should look for.

    Thread Starter grizdog

    (@grizdog)

    Clicking the index.php takes me to the dashboard where it says “Welcome to WordPress”.

    Thread Starter grizdog

    (@grizdog)

    Let me check on that. Do you know where abouts in that file I should be looking.

    Let me go poke around to see what I can find.

    Here – I’m looking at mine – I don’t know what line number it is, but do a search for “<IfModule dir_module> DirectoryIndex”. The first item in the list should be “index.php”

    Thread Starter grizdog

    (@grizdog)

    Let me check that. I’ll get back to you in a minute.

    Thread Starter grizdog

    (@grizdog)

    About how far down in the file was it? Maybe I can find it manually.

    Thread Starter grizdog

    (@grizdog)

    I’ve found other IfModule’s, but nothing like the one you’ve mentioned. I’ll look again.

    Thread Starter grizdog

    (@grizdog)

    These are the only commands I’ve found in the httpd.conf file that resemble the one you’ve posted:

    <IfModule mpm_winnt.c>
    ThreadsPerChild 250
    MaxRequestsPerChild 0
    </IfModule>

    <IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
    </IfModule>

    <IfModule mod_ssl.c>
    Include conf/ssl.conf
    </IfModule>

    Should I just add it in myself at the end of the file?

    hmm…let me see here…

    in the Apache program, “apache/conf/httpd.conf” file….line… (yes – I’m getting there, typing this post very slowly!)

    Lines 235-241:

    #
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    #
    <IfModule dir_module>
    DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
    </IfModule>

    That’s what mine looks like. Comes after the part where you do “Allow Override” stuff.

    I’d say, yeah sure – if you don’t have that in there, then it can’t hurt to toss it in. If it doesn’t work, you can always take it back out!

    Thread Starter grizdog

    (@grizdog)

    I tried making the change and shutting down/ restarting the apache server, but it still doesn’t seem to recognize the index.php.

    It’s not preventing me from moving forward at this point, but I still need to get this resolved. When I start to make this public, others will need to see the index.php and not the directory.

    Did you clear your browser cache when you retried the page?

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘When I log into my WP for the first Time…’ is closed to new replies.