• Resolved grizdog

    (@grizdog)


    I’ve been trying to get WordPress to run on my Apache2 server. I’ve installed php and I know it works, because it functions as expected for other files that were set up to test php.

    This is running on a Window XP machine.

    I also checked the php.ini file to make sure that the memory was 16M.

    I still get nothing but a blank screen when I try to run the install.php.

    I’ve been through these forum and they only address the memory issue. I’ve also reviewed all the tutorials for installing WordPress, but they all show the process as proceeding flawlessly. Nothing addresses this issue.

    Why doesn’t this work?

Viewing 15 replies - 16 through 30 (of 43 total)
  • Thread Starter grizdog

    (@grizdog)

    Yes. It’s version 4.

    Thread Starter grizdog

    (@grizdog)

    I’ll double check it to be sure.

    Thread Starter grizdog

    (@grizdog)

    It is version 4.3.3

    Thread Starter grizdog

    (@grizdog)

    This is line 3 of the wp-config.php file:

    define(‘DB_NAME’, ‘wordpress’); // The name of the database

    These are lines 3 and 5 from the upgrade-functions.php:

    if ( file_exists(ABSPATH . ‘wp-content/install.php’) )
    require_once(ABSPATH . ‘/wp-admin/admin-functions.php’);

    Thread Starter grizdog

    (@grizdog)

    I did create a database with the name “wordpress” in mysql. I am able to view it with “mysqlshow”, so I know it is there. I also gave its user all privilages.

    How does WP find the database? I see that it has access details in the wp-config file, but how does it know “where” to find it? I don’t see any paths noted anywhere.

    Thread Starter grizdog

    (@grizdog)

    These lines also exist at the bottom of my wp-config file:

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);?>

    Are they related to the errors I found?

    [client 127.0.0.1] PHP Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\wordpress\wp-config.php on line 3

    Double check your wp-config.php file. Is there a missing quote anywhere.

    You beat me too it. Everything you’ve posted seemed correct. My only other guess would be to get the orginal wp-config file from the archive and copy it back over and edit it again. Microsoft line breaks do funny things to some code.

    Thread Starter grizdog

    (@grizdog)

    There does not appear to be any missing quotes. I did check it several times to be sure.

    Also did this line
    if ( file_exists(ABSPATH . 'wp-content/install.php') ) have a semicolon on the end of it in the upgrade-functions.php

    Thread Starter grizdog

    (@grizdog)

    The first lines of that file (which come directly after the one we are discussing) look like this:

    if ( file_exists(ABSPATH . ‘wp-content/install.php’) )
    require (ABSPATH . ‘wp-content/install.php’);
    require_once(ABSPATH . ‘/wp-admin/admin-functions.php’);
    require_once(ABSPATH . ‘/wp-admin/admin-db.php’);
    require_once(ABSPATH . ‘/wp-admin/upgrade-schema.php’);
    require_once(ABSPATH . WPINC . ‘/registration.php’);

    It appears that the second line is the completion of the first, which does contain the semicolon.

    Try adding the wp-config file again and see if that helps.

    My only other guess would be to get the orginal wp-config file from the archive and copy it back over and edit it again. Microsoft line breaks do funny things to some code

    Thread Starter grizdog

    (@grizdog)

    I have noticed that in the original files there are these little rectangles where there should be a carriage return, but this is all in the original php files that I got from WP.

    What do you make of that?

    Those are unix style carriage returns. Microsoft doesn’t understand them. When you were editing your wp-config file did you hit enter at the end of the lines or just edit in between the quotes.

    What are you using to edit your config file? It sounds like you’re using something other than a text editor (you’re not using Microsoft Word are you?)

Viewing 15 replies - 16 through 30 (of 43 total)
  • The topic ‘Still Nothing to See…’ is closed to new replies.