• I’m a ‘complete’ newbie to wordpress. I’ve just installed 2.8.4 and am now trying to go thru the lessons. First step is to go to the admin panel, but the page seems to have been deleted or moved. I have no idea on how to get started.

    please help.

Viewing 15 replies - 1 through 15 (of 22 total)
  • Did yo install through an ftp program? There is always a chance that some files are missing or corrupted. Try re-uploading the basic files like wp-admin.php

    A web address would help a lot, if you’ve got one.

    Thread Starter mliu

    (@mliu)

    I’m sorry, I should have mentioned that I am trying to run this locally on my mac using MAMP. It appears that I may be stuck on step #4 (I’m following these instructions: http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP).

    Where do you access the local site or what file is that? The config-sample.php that comes in the word press zip file?

    The files are located wherever you you put them in step #2.

    Lastly, on the Apache tab, you’ll need to set a document root. This is where all of your files are going to be for your local web server. An example of a document root is /Users/USERNAME/Sites/wordpress/.

    Where that is, I don’t know. I’m not sure if MAMP has a default path or not.

    Step #4 mentions a database setup form… that doesn’t ring any bells. Does WP or MAMP have such a thing? I’ve always edited the wp-config directly. Have I missed something, someone?

    At any rate, the file you need to edit is wp-config-sample.php but you have to re-save it as wp-config.php.

    After that, you should be able to access your site via http://localhost or http://localhost:8888 (See step #2) plus any subdirectory there might be– /mysite, or /wordpress or whatever.

    Thread Starter mliu

    (@mliu)

    Making progress… THANK YOU!

    Now, I can see an index of my wordpress files. But I still do not know where to access my admin categories (managing options, users, user profiles, look/feel of site, etc.).

    Thread Starter mliu

    (@mliu)

    I’m having a hard time trying to figure out why I only see static code pages. I’m not a developer, so code is not my strong suit.

    Where in the documentation do I find out where to access the front end admn tools that would lead to themes and other options?

    What do you mean ‘you see only static code pages’? You can actually see the PHP code? Or you can only see .html pages? Or maybe you see a directory index? That’s beginning to sound like a server configuration problem.

    If you can get to the control panels in /wp-admin you’ll see all of the admin tools there be. It sounds like you can’t get there though. Is that right?

    You are seeing the static code because your php is either not running or is not configured properly. The code is not executing.

    Check your MAMP console to see if all the required applications are running.

    Thread Starter mliu

    (@mliu)

    Hi There:

    I’m thinking that there is a config problem cause when I type in my “local url” in my browser, I get a page with a file hierarchy. When I click on a file, I get a static page that has code on it (some with input fields, though I think those are supposed to be a part of the html page).

    I am trying to learn how to use wordpress locally, so I’ve followed the directions to have MAMP run on my mac (seemed like it all installed properly).

    I began with following the directions here: http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

    Then I went to: http://codex.wordpress.org/WordPress_Lessons and started at the beginning (WordPress for beginners), but I can’t seem to make any forward progress šŸ™

    Thread Starter mliu

    (@mliu)

    Hi ZGani:

    My MAMP panel has two green lights for Apache and MySQL… I’ve used the step by step process at: http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

    Quick test: Open TextEdit and type the following.

    <?php
    phpinfo();
    ?>

    Save the file to your web directory as phpinfo.php (the name doesn’t really matter). Make sure you save as plain text and not rtf. The settings are in the Preferences panel. Now open the file. If you get a pretty table of Apache, PHP, and MySQl configuration values, then you are doing good.

    I get a page with a file hierarchy

    Looks like your Apache isn’t reading index files properly. You need to have a line like this in your httpd.conf file– DirectoryIndex index.php index.html. I sort of thought that MAMP wouldn’t taken care of this for you.

    When I click on a file, I get a static page that has code on it…

    Is this true with all files, or just ones you’ve edited? If the latter, then you probably got a weird character in your file. Sounds like its the former though. That would mean that your server isn’t executing PHP. For that you need at least this line in your httpd.conf–AddType application/x-httpd-php .php. Unfortunately, I’m not sure where MAMP puts that file.

    Thread Starter mliu

    (@mliu)

    Hi Adljdi:

    Ok, here are the results to the php test… this file launches in my browser, but what I see is the exact code that you asked me to type and test.`<?php
    phpinfo();
    ?>`

    I found the httpd.conf file in MAMP… where should I insert the directoryindex line that you suggested above?

    With regard to opening all files and having code display, this happens on all files. So, looks like I’ll need to add the line “Addtype…” as detailed above. Where should this line go?

    Is there some way that I could forward you my MAMP httpd.conf file for you to take a look at?

    Were these lines that I should have added in the MAMP setup process?

    Thank YOU for all your help and patience. It is very much appreciated.

    There really should already be a DirectoryIndex line in your httpd.conf. Try to find it. It should read at least: DirectoryIndex index.html. It needs to read DirectoryIndex index.php index.html.

    Your httpd.conf should already have several AddType lines already. Look for those, then add the one for PHP.

    You’ll probably need a LoadModule line too– LoadModule php5_module path/to/libphp5.so. You need to get the path to libphp5 right for your system. Of course, the name will be different if you have PHP4.

    If you have a mod_php.conf file you can load PHP using that too. Look for something like this in httpd.conf (This one is already uncommented): `

    # Uncomment the following line to enable PHP:
    Include /etc/httpd/mod_php.conf

    `

    I’ve never setup a server using MAMP. I don’t what you are supposed to do during setup, though, I thought that avoiding this cryptic configuration stuff was the reason folks cooked up MAMP and XAMP… ah, well… more fun this way anyway šŸ™‚

    Thread Starter mliu

    (@mliu)

    Hi Again,

    I’ve added all the lines that you suggested, except the LoadModule php5 one as I’m not sure what the ‘libphp5’ is… is that a file? I have a “php5” folder within the MAMP/conf/apache/php5

    I don’t think I have a mod_php file… is that also supposed to be in MAMP somewhere?

    Thanks,

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘trouble getting started’ is closed to new replies.