Welcome Guest ( Log In | Register)



 
Closed TopicStart new topic
> Wordpress Installation Error [resolved], Anything to change in the wp-config.php file?
shigajet
post Mar 1 2007, 04:48 PM
Post #1


"Betsuni"
***********

Group: Members
Posts: 1,023
Joined: 9-April 05
From: Japan
Member No.: 5,445



I've chosen to install WordPress manually and things were going well so far...until I hit an installation error when I tried to run the install.php file on my browser.

For the record, I logged into CPanel and went into MySQL Databases, created the databases, the username and added the user to the database - as suggested in the installation procedure.

Perhaps there's a mistake in my wp-config.php file that might've caused the error. If there's something I should change, please let me know. Many thanks in advance.

CODE
<?php
// ** MySQL settings ** //
define('shigajet_blog', 'wordpress');    // The name of the database
define('shigajet_wp', 'username');     // Your MySQL username
define('kyoto2003', 'password'); // ...and password
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value

// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
Go to the top of the page
 
+Quote Post
jlhaslip
post Mar 1 2007, 04:55 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



CODE
define("CONSTANT", "Hello world.");

You might have the wrong order in those first three define statements.

The ("name", "value") pairs should be reversed, I think.
Go to the top of the page
 
+Quote Post
serverph
post Mar 1 2007, 05:26 PM
Post #3


Ancient Enigma
Group Icon

Group: [MODERATOR]
Posts: 1,753
Joined: 11-July 04
From: under the stars
Member No.: 76



jlhaslip is correct. smile.gif and just in case you didn't save a copy of your original config file: the constants are in bold, and the values you need to adjust accordingly are in italics.

QUOTE
<?php
// ** MySQL settings ** //
define('DB_NAME', 'yourDBname'); // The name of the database
define('DB_USER', 'yourMYSQLusername'); // Your MySQL username
define('DB_PASSWORD', 'yourPASSWORD'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
Go to the top of the page
 
+Quote Post
shigajet
post Mar 2 2007, 04:53 PM
Post #4


"Betsuni"
***********

Group: Members
Posts: 1,023
Joined: 9-April 05
From: Japan
Member No.: 5,445



Oops! Must have been a late night when I made that small mistake.

The problem is now solved and WordPress is up and running...but I may be back if I have any trouble importing my backup file of old posts.
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Error Not A Valid Win32 Application(10)
  2. Read-only Folders In Xp(11)
  3. My File Manager Is Working(2)
  4. Import From Excel File Into Mysql Database(7)
  5. Operating System Not Found(13)
  6. Transfer File Of Any Size Using Winsock Control(5)
  7. Simple C File Handling In Action(3)
  8. How To Put Music In The Background Of A Powerpoint Presentation(9)
  9. Linux Question: Amarok And File Permissions(4)
  10. How To Open A .daa File(37)
  11. A Trap17 How-to Guide For Beginners(12)
  12. Psp Error- Tut On How To Fix(28)
  13. Read File (.txt) On Another Website Using Jsp?(3)
  14. How To Change Windows Xp Language ?(20)
  15. Background Image Swap Script(15)
  1. Error E74? (xbox 360)(7)
  2. Question Regarding File Transfer!(4)
  3. Cannot Open Display - Error(2)
  4. Where Is The Bookmarks File Stored With Ff2?(4)
  5. Free Software For File Recovery(3)
  6. Error 28 (on Phpmyadmin)(6)
  7. Wordpress Upgrade Notification(3)
  8. Chage Ip Adress(2)
  9. What Would You Rather Change In Windows(5)
  10. Internal File Transfer(5)
  11. Wordpress Categories Disappear(4)
  12. Phpbb3 - Error 28(5)
  13. Help Me _ Error Message: "could Not Retrieve Session Record"(2)


 



- Lo-Fi Version Time is now: 26th July 2008 - 09:27 AM