Forum Replies Created

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

    (@grizdog)

    Holy php, Batman! It’s working!

    I replaced the files with the originals I had on hand. Those stupid little rectangles meant the difference between functionality and uselessness.

    Who’d a’ thunk it.

    Thread Starter grizdog

    (@grizdog)

    Ok. I’ll get replacements for the files I changed.

    Let me make those changes and I’ll let you know in a couple of minutes what the result was.

    Thread Starter grizdog

    (@grizdog)

    I deleted the marks and hit enter to move that line to the next line down. I only did this to make the file easier for me to see, rather than having to scroll left and right.

    I’m using a text editor (Notepad). It sees those marks.

    I also am using an HTML editor. It, however, does not see those marks. They also do not show up in this window when I paste the code (for displaying in this blog).

    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?

    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.

    Thread Starter grizdog

    (@grizdog)

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

    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?

    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)

    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)

    It is version 4.3.3

    Thread Starter grizdog

    (@grizdog)

    I’ll double check it to be sure.

    Thread Starter grizdog

    (@grizdog)

    Yes. It’s version 4.

    Thread Starter grizdog

    (@grizdog)

    I believe I’ve narrowed it down to these errors:

    [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

    [client 127.0.0.1] PHP Notice: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ in C:\Program Files\Apache Group\Apache2\htdocs\wordpress\wp-admin\upgrade-functions.php on line 3

    [client 127.0.0.1] PHP Notice: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ in C:\Program Files\Apache Group\Apache2\htdocs\wordpress\wp-admin\upgrade-functions.php on line 5

    [client 127.0.0.1] PHP Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\wordpress\wp-admin\upgrade-functions.php on line 5

    [client 127.0.0.1] PHP Fatal error: main(): Failed opening required ‘ABSPATH/wp-admin/admin-functions.php’ (include_path=’.;c:\php4\pear’) in C:\Program Files\Apache Group\Apache2\htdocs\wordpress\wp-admin\upgrade-functions.php on line 5

    Thread Starter grizdog

    (@grizdog)

    The error logs are packed, but I can’t tell which are the most recent/relavant. How do I clear the error logs so I can run the install.php and check for all the errors?

    Thread Starter grizdog

    (@grizdog)

    I tried this address: “https://127.0.0.1/wordpress/wp-admin/install.php”, but it still just gave me a blank page.

    I’m going to check the error logs now.

Viewing 15 replies - 16 through 30 (of 51 total)