The MU forums have moved to WordPress.org

Error 500 after clicking submit on the install script (24 posts)

  1. projectdesigns
    Member
    Posted 17 years ago #

    Ok I really need some help, this is really getting frusterating.

    Environment:
    windows server 2000
    apache
    php
    mysql

    I have created the wordpress database and the wordpress user and gave the user all permissions to the database.

    I move the files from the wordpress mu zip to to htdocs/wordpress/

    I then go to http://localhost.localdomain/wordpress/index.php

    I get the install script everything looks fine, I fill in the database information my mail etc.

    Then I click submit and I get this a Page can not be displayed error 500

    Please some one tell me what I'm doing wrong.

  2. andrea_r
    Moderator
    Posted 17 years ago #

    Try putting the files just in htdocs, not in a subfolder.

  3. projectdesigns
    Member
    Posted 17 years ago #

    Thanks for the quick response.

    I moved the wordpress files to htdocs instead of having them in a wordpress folder. I still get the same error.

  4. SteveAtty
    Member
    Posted 17 years ago #

    What is in the Apache Error logs?

  5. projectdesigns
    Member
    Posted 17 years ago #

    [Mon Oct 22 11:03:33 2007] [notice] Child 920: Released the start mutex
    [Mon Oct 22 11:03:33 2007] [notice] Child 2160: Acquired the start mutex.
    [Mon Oct 22 11:03:33 2007] [notice] Child 2160: Starting 250 worker threads.
    [Mon Oct 22 11:03:34 2007] [notice] Child 920: Waiting for 250 worker threads to exit.
    [Mon Oct 22 11:03:34 2007] [notice] Child 920: All worker threads have exited.
    [Mon Oct 22 11:03:34 2007] [notice] Child 920: Child process is exiting
    [Mon Oct 22 11:03:34 2007] [notice] Child 2160: Starting thread to listen on port 80.
    [Mon Oct 22 11:05:32 2007] [error] [client 10.51.0.4] File does not exist: E:/apache/htdocs/wordpress
    [Mon Oct 22 11:08:32 2007] [error] [client 127.0.0.1] File does not exist: E:/apache/htdocs/wordpress
    [Mon Oct 22 11:10:12 2007] [error] [client 127.0.0.1] File does not exist: E:/apache/htdocs/wordpress

  6. andrea_r
    Moderator
    Posted 17 years ago #

    looks like it's missing a trailing slash.

  7. projectdesigns
    Member
    Posted 17 years ago #

    So how do I fix that?

  8. andrea_r
    Moderator
    Posted 17 years ago #

    When you filled out the fields on install, did you plunk in the address correctly?

    Also, when you moved the files up to the root and tried to re-install, did you remember to drop the db tables?

  9. projectdesigns
    Member
    Posted 17 years ago #

    I'm not sure what address field you are talking about?

    I entered the database name (wordpress) the user (wordpress) and the user's password correctly. The database location should be localhost right?

    The only address that it asks for gets filled in automaticly, which was localhost.localdomain but since the server is now connected to the domain on my schools network it is now dragonpress.dragon.k12.pa.us

    What do you mean by drop the DB tables, since I don't know what that means I don't think I did it.

  10. andrea_r
    Moderator
    Posted 17 years ago #

    "The only address that it asks for gets filled in automaticly, which was localhost.localdomain but since the server is now connected to the domain on my schools network it is now dragonpress.dragon.k12.pa.us"

    That was the one I meant.

    "What do you mean by drop the DB tables, since I don't know what that means I don't think I did it."

    That means go to the database with something like phpmyadmin. Look at it. Does it have any tables in it? If not, that's fine - you've now found out it didn't get that far in the install process. If it did there are commands there to select all the tables and one that says "drop". It means it deletes everything in the db and this will force a re-install.

  11. projectdesigns
    Member
    Posted 17 years ago #

    Hi,

    I'm not at the server anymore, and wont be until tomorrow, however I am almost positive that there were no tables in the database.

  12. andrea_r
    Moderator
    Posted 17 years ago #

    Well, what I would do is edit the index-install file and put in a bunch of echoes before each function. Then you can see where the process fails and troubleshoot as needed. It could be all kinds of things, so you have to narrow it down. Maybe turn on error reporting too.

  13. projectdesigns
    Member
    Posted 17 years ago #

    Ok, I went throught the index-install.php file and add echo "check"; right after every function.

    When I load the http://dragonpress.dragon.k12.pa.us/index.php

    I get the install script at the top it has all the of the checks and then one check at the bottom, so I'm assuming everything it working. I fill in the information needed, click submit and then instead of taking me to the usual page can not be displayed error 500 I get a page that says checkcheckcheckcheckcheck. So I don't know what that did, I hope that gives you some more infomration, I really need to get this up and running.

  14. SteveAtty
    Member
    Posted 17 years ago #

    I'm amazed that the 500 error isn't throwing something more obvious into the Apache error logs as 500 is an internal server error and should be recording something. All you seem to be getting is page not found.

    What is the corresponding line in the apache server log (rather than the apache error log)

  15. projectdesigns
    Member
    Posted 17 years ago #

    I don't see a server log, but this is from the access log (is that the same thing?)

    10.51.0.4 - - [22/Oct/2007:10:57:41 -0400] "GET /wordpress/index.php HTTP/1.1" 200 5008
    10.51.0.4 - - [22/Oct/2007:10:57:41 -0400] "GET /wordpress/wp-includes/images/wordpress-mu.png HTTP/1.1" 200 3063
    10.51.0.4 - - [22/Oct/2007:10:58:06 -0400] "POST /wordpress/index.php HTTP/1.1" 500 -
    10.51.0.4 - - [22/Oct/2007:11:05:32 -0400] "GET /wordpress/index.php HTTP/1.1" 404 217
    10.51.0.4 - - [22/Oct/2007:11:05:38 -0400] "GET /index.php HTTP/1.1" 200 5008
    10.51.0.4 - - [22/Oct/2007:11:05:38 -0400] "GET /wp-includes/images/wordpress-mu.png HTTP/1.1" 200 3063
    10.51.0.4 - - [22/Oct/2007:11:05:57 -0400] "POST /index.php HTTP/1.1" 500 -
    127.0.0.1 - - [22/Oct/2007:11:08:32 -0400] "GET /wordpress/wp-admin/ HTTP/1.1" 404 217
    10.51.0.4 - - [22/Oct/2007:11:08:53 -0400] "GET / HTTP/1.1" 200 5008
    10.51.0.4 - - [22/Oct/2007:11:08:53 -0400] "GET /wp-includes/images/wordpress-mu.png HTTP/1.1" 304 -
    127.0.0.1 - - [22/Oct/2007:11:10:12 -0400] "GET /wordpress/wp-admin/ HTTP/1.1" 404 217
    10.51.0.4 - - [22/Oct/2007:12:01:16 -0400] "POST /index.php HTTP/1.1" 500 -
    10.51.0.4 - - [23/Oct/2007:11:06:44 -0400] "GET / HTTP/1.1" 200 5008
    10.51.0.4 - - [23/Oct/2007:11:06:44 -0400] "GET /wp-includes/images/wordpress-mu.png HTTP/1.1" 304 -
    10.51.0.4 - - [23/Oct/2007:11:06:51 -0400] "GET /index-install.php HTTP/1.1" 302 -
    10.51.0.4 - - [23/Oct/2007:11:06:51 -0400] "GET /index.php HTTP/1.1" 200 5008
    10.51.0.4 - - [23/Oct/2007:11:07:13 -0400] "POST /index.php HTTP/1.1" 500 -
    10.51.0.4 - - [23/Oct/2007:11:15:19 -0400] "GET /index.php HTTP/1.1" 200 5162
    10.51.0.4 - - [23/Oct/2007:11:15:19 -0400] "GET /wp-includes/images/wordpress-mu.png HTTP/1.1" 304 -
    10.51.0.4 - - [23/Oct/2007:11:15:56 -0400] "POST /index.php HTTP/1.1" 200 40
    10.51.0.4 - - [23/Oct/2007:11:22:41 -0400] "GET /index.php HTTP/1.1" 200 5162
    10.51.0.4 - - [23/Oct/2007:11:46:32 -0400] "GET / HTTP/1.1" 200 5162
    10.51.0.4 - - [23/Oct/2007:11:46:32 -0400] "GET /wp-includes/images/wordpress-mu.png HTTP/1.1" 304 -

  16. SteveAtty
    Member
    Posted 17 years ago #

    Thats the one - so the 500 errors are occuring on the POST requests... hmmmm

  17. projectdesigns
    Member
    Posted 17 years ago #

    Alright so is that a PHP problem or something else...

  18. projectdesigns
    Member
    Posted 17 years ago #

    I think what I am going to do is remove everything, Wordpress
    MySQL, PHP, Apache. And then install WAMP5 on the server. That way everything will be already configured and all ready to go.

    Is there any problems with wordpress MU and WAMP5?

  19. SteveAtty
    Member
    Posted 17 years ago #

    I have Wamp5 on my laptop for WPMU development - works fine

  20. andrea_r
    Moderator
    Posted 17 years ago #

    I know it works with XAMP.

  21. projectdesigns
    Member
    Posted 17 years ago #

    Good, I think by having WAMP5 do all of the configuration that will fix the problem, I think somewhere I messed something up with the config.

    @andrea_r
    haha I do not have a Apple Server (I wish I did : ).

  22. andrea_r
    Moderator
    Posted 17 years ago #

    I don't either. I used this:
    http://www.apachefriends.org/en/xampp-windows.html

    (forgot the extra p)

  23. baur
    Member
    Posted 16 years ago #

    I've same problem

    here are log error from Apache:

    [Fri Mar 06 15:39:53 2009] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
    [Fri Mar 06 15:39:53 2009] [notice] Server built: Jun 14 2008 19:02:12
    [Fri Mar 06 15:39:53 2009] [notice] Parent: Created child process 2492
    [Fri Mar 06 15:39:55 2009] [notice] Child 2492: Child process is running
    [Fri Mar 06 15:39:55 2009] [notice] Child 2492: Acquired the start mutex.
    [Fri Mar 06 15:39:55 2009] [notice] Child 2492: Starting 250 worker threads.
    [Fri Mar 06 15:39:55 2009] [notice] Child 2492: Starting thread to listen on port 443.
    [Fri Mar 06 15:39:55 2009] [notice] Child 2492: Starting thread to listen on port 80.
    [Fri Mar 06 15:41:35 2009] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/w
    [Fri Mar 06 15:42:01 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_blogs' doesn't exist for query SELECT * FROM wp_blogs WHERE domain = 'inkara.com' made by require, include, include_once, require_once, require_once, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:01 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE site_id = 1 AND meta_key = 'site_name' made by require, include, include_once, require_once, require_once, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:01 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_blogs' doesn't exist for query SELECT blog_id FROM wp_blogs LIMIT 0,1 made by require, include, include_once, require_once, require_once, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:01 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'fileupload_maxk' AND site_id = 1 made by require, include, include_once, require_once, include_once, require_once, require_once, get_site_option, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:02 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'bp-xprofile-base-group-name' AND site_id = 1 made by require, include, include_once, require_once, include_once, get_site_option, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:02 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'bp-xprofile-fullname-field-name' AND site_id = 1 made by require, include, include_once, require_once, include_once, get_site_option, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:02 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_site' doesn't exist for query SELECT path FROM wp_site WHERE id = 1 made by require, include, include_once, require_once, get_template_directory, get_template, apply_filters, call_user_func_array, bp_core_force_buddypress_theme, bp_core_set_uri_globals, bp_core_get_site_path, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:02 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'active-member-theme' AND site_id = 1 made by require, include, include_once, require_once, get_template_directory, get_template, apply_filters, call_user_func_array, bp_core_force_buddypress_theme, get_site_option, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:02 2009] [error] [client 127.0.0.1] WordPress database error Table 'wpmu.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'active-member-theme' AND site_id = 1 made by require, include, include_once, require_once, get_stylesheet_directory, get_stylesheet, apply_filters, call_user_func_array, bp_core_force_buddypress_stylesheet, get_site_option, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE user_id = 1 AND blog_id = 1' at line 1 for query SELECT count(id) FROM WHERE user_id = 1 AND blog_id = 1 made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, BP_Blogs_Blog->save, BP_Blogs_Blog->exists, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( user_id, blog_id ) VALUES ( 1, 1 )' at line 1 for query INSERT INTO ( user_id, blog_id ) VALUES ( 1, 1 ) made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, BP_Blogs_Blog->save, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = 1 AND meta_key = 'name'' at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = 'name' made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( blog_id, meta_key, meta_value ) VALUES ( 1, 'name', 'Inkara.com Blogs' )' at line 1 for query INSERT INTO ( blog_id, meta_key, meta_value ) VALUES ( 1, 'name', 'Inkara.com Blogs' ) made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = 1 AND meta_key = 'description'' at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = 'description' made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( blog_id, meta_key, meta_value ) VALUES ( 1, 'description', 'Just another Inkar' at line 1 for query INSERT INTO ( blog_id, meta_key, meta_value ) VALUES ( 1, 'description', 'Just another Inkara.com weblog' ) made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = 1 AND meta_key = 'last_activity'' at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = 'last_activity' made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:07 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( blog_id, meta_key, meta_value ) VALUES ( 1, 'last_activity', '1236332527' )' at line 1 for query INSERT INTO ( blog_id, meta_key, meta_value ) VALUES ( 1, 'last_activity', '1236332527' ) made by require, include, step3, wpmu_create_blog, add_user_to_blog, do_action, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE user_id = 1 AND blog_id = 1' at line 1 for query SELECT count(id) FROM WHERE user_id = 1 AND blog_id = 1 made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, BP_Blogs_Blog->save, BP_Blogs_Blog->exists, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( user_id, blog_id ) VALUES ( 1, 1 )' at line 1 for query INSERT INTO ( user_id, blog_id ) VALUES ( 1, 1 ) made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, BP_Blogs_Blog->save, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = 1 AND meta_key = 'name'' at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = 'name' made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( blog_id, meta_key, meta_value ) VALUES ( 1, 'name', 'Inkara.com Blogs' )' at line 1 for query INSERT INTO ( blog_id, meta_key, meta_value ) VALUES ( 1, 'name', 'Inkara.com Blogs' ) made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = 1 AND meta_key = 'description'' at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = 'description' made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( blog_id, meta_key, meta_value ) VALUES ( 1, 'description', 'Just another Inkar' at line 1 for query INSERT INTO ( blog_id, meta_key, meta_value ) VALUES ( 1, 'description', 'Just another Inkara.com weblog' ) made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE blog_id = 1 AND meta_key = 'last_activity'' at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = 'last_activity' made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:08 2009] [error] [client 127.0.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( blog_id, meta_key, meta_value ) VALUES ( 1, 'last_activity', '1236332528' )' at line 1 for query INSERT INTO ( blog_id, meta_key, meta_value ) VALUES ( 1, 'last_activity', '1236332528' ) made by require, include, step3, wpmu_create_blog, do_action, call_user_func_array, bp_blogs_record_blog, bp_blogs_update_blogmeta, referer: http://inkara.com/wpmu/
    [Fri Mar 06 15:42:20 2009] [alert] [client 127.0.0.1] C:/xampp/htdocs/wpmu/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://inkara.com/wpmu/index.php
    [Fri Mar 06 15:51:47 2009] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/inkara
    [Fri Mar 06 15:51:55 2009] [alert] [client 127.0.0.1] C:/xampp/htdocs/wpmu/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

  24. SteveAtty
    Member
    Posted 16 years ago #

    Start at the bottom and work up. Turn on mod_rewrite first and check your file permissions.

About this Topic

  • Started 17 years ago by projectdesigns
  • Latest reply from SteveAtty