spindelvev
Member
Posted 5 years ago #
I edited and uploaded the file wp-config.php but all I get is this error code;
hide_errors(); $installed = $wpdb->get_results("SELECT * FROM $wpdb->users"); if ($installed) die('
'.__('Already Installed').'
'.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'
'); $wpdb->show_errors(); switch($step) { case 0: ?>
followed by an endless stream of peculiar code. I haven't installed wordpress before and I have no clue how to "clear my old database tables". At the end of the page there's a username and a password but if I try to log in with those it just takes me back to the same page.
How, exactly, are you accessing the install.php file?
Through a browser, right? (ie http://yourdomain/BlogDir/wp-admin/install.php)
If not through a browser, use a browser.
If through a browser, confirm you have PHP enabled at your web host.
spindelvev
Member
Posted 5 years ago #
Through explorer. I clicked the link in the "Installation: Famous 5-minute install" list.
I'm ridiculously ignorant about all of this but what exactly is PHP?
A: Use a webbrowser to run install.php.
B: PHP is what makes it all work and needs to be installed on your webserver.
spindelvev
Member
Posted 5 years ago #
I enabeled "php error messages" and "php register globals" and tried opening install.php in explorer rather than firefox where I get the error message, but nothing happens at all in explorer, it doesn't even open a new page.
[...]confirm you have PHP enabled at your web host
spindelvev
Member
Posted 5 years ago #
And I answered; I enabled "php error messages" and "php register globals".
That's all I can find that has to do with enabling anything that has to do with PHP.
Yet that means naught to me. :-(
Suppose you create a new file named test.php. In it, you have the following:
<?php phpinfo() ?>
Upload it to your host.
Do you see lots of stuff when you browse to test.php?
spindelvev
Member
Posted 5 years ago #
Yes, the headline is "PHP Version 4.4.1" and there's a huge table with lots of.. stuff in it. Codes and information.
Yay!
Ok, would you be willing to copy/paste your wp-config.php here? (xx out the password of course (and username if so inclined))
"Installation: Famous 5-minute install"
HA,
I am new to wordpress and had the same problem. the install left a step out. if you access the main page of your site you may get a better error messagr, I did.
YOU need to create a data base FIRST.
from a Linux command line type:
mysql
mysql>CREATE DATABASE wordpress;
mysql>GRANT ALL PRIVILEGES ON wordpress.* to userid@localhost IDENTIFIED BY 'password' WITH GRANT OPTION;
mysql>quit;
Note: you must change userid and password to real values and use the same values in wp-config.php then do the 5 min install.
It worked for me.
k9we