Could be you have the files uploaded into the wrong place.
If you have a subfolder called stained-glass-mosaic-blog under the public_html folder then you should have folders such as wp-admin/wp-content/wp-includes in that subfolder. I’m guessing you have a folder called wordpress under stained-glass-mosaic-blog.
Review Uploading WordPress to a remote host.
Hi Michael
yes i uploaded the ‘WordPress’ folder into the ‘stained-glass-mosaic-blog’ folder. So i should have renamed it from ‘WordPress’ to ‘stained-glass-mosaic-blog’ and just uploaded the whole folder i assume?
Cheers
Seem to have got it uploaded ok .
But now when i go to: stained-glass-mosaic-blog/wp-admin/install.php
it says: Parse error: syntax error, unexpected T_STRING in /home/upigi/public_html/stained-glass-mosaic-blog/wp-config.php on line 31
When i check line 31 it has this code:
define(‘DB_CHARSET’, ‘utf8’);
Is this wrong?
Go back to the wp-config-sample.php file and try re-building your wp-config.php file again. You see to have introduced an error into the file.
Cheers
Im confused abou the wp-config file.
Should it just be the following exactly like this, with the text in bold changed to my individual settings? :
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘putyourdbnamehere‘);
/** MySQL database username */
define(‘DB_USER’, ‘usernamehere‘);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘yourpasswordhere‘);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost‘);
Yes. But instead of creating the wp-config.php yourself, just visit wp-admin/install.php and WordPress will ask you for the database information and create a wp-config.php for you.
Related:
Editing wp-config.php
Installing WordPress