Nov 21, 2009

Wordpress Installation Error [resolved] - Anything to change in the wp-config.php file?

free web hosting
Open Discussion > MODERATED AREA > Trapper's Secret HideOut

Wordpress Installation Error [resolved] - Anything to change in the wp-config.php file?

shigajet
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');
?>

 

 

 


Comment/Reply (w/o sign-up)

jlhaslip
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.

Comment/Reply (w/o sign-up)

serverph
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

Comment/Reply (w/o sign-up)

shigajet
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.

Comment/Reply (w/o sign-up)

(G)Marcelo
Wordpress Instalation error
Wordpress Installation Error [resolved]

Hi, I instal xampp and wordpress. When go to adress http://localhost/wordpress/wp-admin/install.Php I receive the error Parse error: syntax error, unexpected $end in C:\xampp\htdocs\wordpress\wp-config.Php on line 32

Someone could help me. Many thanks.
-reply by Marcelo

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : wordpress, installation, error, change, wp, config, php, file,

  1. Somebody Uploaded A File Onto My Hosting Account [resolved]
    (4)
  2. Page Load Error When Trying To Get Into Control Panel
    I just changed domain (2)
    I had put a domain name that I didn't have when I registered my website. I got the 15 credits
    and changed it to a subdomain. Now I can't log into my control panel. At first it was telling me
    I had the wrong password which I'm sure I don't. Now I just get a timed out error. Also my
    confirmation email for changing my domain was kinda blank. QUOTE Hi, This mail is to notify
    you that your domain has been changed to : Regards, trap17.com So yeah... any help? EDIT:
    Also I don't see my request to change domain the proper forum I had attempte....
  3. Hosting Problem [resolved]
    403 Forbidden Error occurs whenever I try to access my site (22)
    First off, let me say that I have spent considerable effort and time going through the forums
    seeking solutions for this problem. I have even gone as far as to seek help from the Xisto Live
    support team (they suggested I wait 2 hours and then get back to them. Well I did that, and there
    has been no change, and live support is now down). I've also tried changing permissions on both
    files and folders via Cpanel, but to no avail. I still end up with the same error: QUOTE
    Forbidden You don't have permission to access /index.php on this server. Additionally, a 4....
  4. Wordpress Error - Bytes Exausted [resolved]
    NextGEN Gallery (7)
    Hey, I have just gotten my blog up and migrated it from my own webserver. I have fixed up most
    problems but one issue remains. When I try to upload an image to NextGEN Gallery I get and error
    when it tries to generate a thumbnail. QUOTE Fatal error: Allowed memory size of 33554432 bytes
    exhausted (tried to allocate 1992 bytes) in
    /home/samlock/public_html/wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php on line 183
    It does it for EVERY image size, so it's not because of a big image. Help, please.....
  5. Phpbb3 - Error 28
    (5)
    I get the following error when I try changing a users group of my Phpbb3 powered forums. QUOTE
    SQL ERROR Got error 28 from storage engine SQL SELECT ug.*, g.* FROM groups g, user_group ug
    WHERE ug.user_id = 83 AND g.group_id = ug.group_id ORDER BY g.group_type DESC, ug.user_pending ASC,
    g.group_name BACKTRACE FILE: includes/db/mysql.php LINE: 158 CALL: dbal->sql_error() FILE:
    includes/acp/acp_users.php LINE: 1881 CALL: dbal_mysql->sql_query() FILE:
    includes/functions_module.php LINE: 471 CALL: acp_users->main() FILE: adm/index.php LINE: 74 CALL:
    p_master->l....
  6. Wordpress Categories Disappear
    (5)
    This problem has happened to both my wordpress blogs hosted with trap17. I made some posts and
    assign them to different categories but a few days later, the categories disappear and all my posts
    are automatically placed in the Uncategorized category instead. I believe this is not a unique
    problem because I've seen some info about this on the wordpress support website. However, there
    doesn't seem to be a single solution to it. I've tried repairing my database but it
    doesn't help. I've got the latest version of wordpress. Anybody got any suggestions? Th....
  7. Error 28 (on Phpmyadmin)
    What does this error message mean? (11)
    I have a shopping cart system on my website. It always worked before, but all of a sudden, when I
    try to access it i get "Got error 28 from storage engine". Has that got something to do with the
    recent problems again, or can someone tell me what this error message means? Thanks. After posting
    this I noticed I cannot get into my PHPAdmin anymore. It gives loads of errors: QUOTE Warning:
    session_write_close() : SQLite: session write query failed: database is full in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: session_write_close() :
    Fai....
  8. Page Load Error When Accessing Cpanel
    (0)
    Not sure what the issue is. I cannot even load up any of the cpanel's to allow me to put in a
    password. I have tried the link that is located in the Credit System 2.0 I have tried the links
    with subdomain/cpanel I have tried the links with subdomain:2082 All 3 of these just give page
    load errors. Please note : This isn't a "my password doesn't work" thread. This is a "I
    can't even get cpanel to TRY to load" thread. Thanks in advance.....
  9. Coppermine Gallery Error
    (2)
    Okay.. so i have my gallery set up at photos.chantellepaige.org and everytime i try to access it i
    get this error "Coppermine critical error: Unable to connect to database ! MySQL said: Access
    denied for user 'giselle_copp1'@'localhost' (using password: YES)" how do i change
    the password etc?? or fix the problem??....
  10. File Manager Not Working
    (2)
    When I goto upload files using the file manager(legacy mode), the files do not upload correctly.
    Every time I try to upload a file, it takes the time to upload it, but the file always comes out
    being 0kb so it does not upload the file. Why is this happening?....
  11. Issues Uploading A File [resolved]
    (3)
    Hi there. I have been trying to upload a zip file only about 2mb to my account through CPanel.
    First I tried uploading it to a new folder in public_ftp. Then i tried to put it in the main part
    of public_ftp. I also tried the same thing in public_html. It shows the file being uploaded, and i
    get 100 %, but alas, when i look in the folders nothing is there. Is there a restriction on .zip
    files? I have had no problems as of yet uploading htm and html pages. Please let me know ASAP.
    Thank you.....
  12. Unable To Replace .png File In Directory
    Can't even delete it using Cpanel (7)
    I can't delete a little file using file manager in Cpanel. I'm trying to delete a .png
    image, actually, I'm trying to replace it. The response comes back as a success, but when I
    reload my site it's still there. Then I go back to the file manager and go up a level, then back
    and WOOP! There it is! I'm beyond frustrated here. What is going on?....
  13. Phpmyadmin Error [resolved]
    (7)
    I get this error message each time I attempt to work phpMyAdmin. QUOTE Cannot start session
    without errors, please check errors given in your PHP and/or webserver log file and configure your
    PHP installation properly. Help would be very grateful.....
  14. Phpmyadmin Error
    Not able to enter PhpMyAdmin (4)
    Currently I try to access my PhpMyAdmin and I get the following error displayed among the screen:
    My PhpMyAdmin worked prior the migration but suddenly stopped working after. I wanted to know if
    anyone else is getting this error also or anyway can help me fix this o.o.....
  15. Wordpress Backup For A Server Move
    backing up a Wordpress site (2)
    i have question: how can we backup wordpress from fantastico...is it possible to backup and move
    it to new host if you want?....
  16. Mysqli Error - Phpbb3
    (3)
    Ok, my forum (phpbb3) works but sometimes it displays this message CODE General Error SQL ERROR
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    An sql error occurred while fetching this page. Please contact an administrator if this problem
    persists. This normally happens about once a week for about 2 minutes but it is really getting
    annoying. I installed phpbb3 fine, it didn't show any errors. But the main thing is that before
    this happens normally I can't connect to my website (obelisk.trap17.com) it....
  17. Ftp Problem
    zero file-length? (8)
    I'm using FileZilla right now, and trying to upload a second copy of WordPress onto the account
    to use as a comic repository. For some reason, a lot of the files are missing, and when I look into
    the folders, I see that a lot of the files have a filelength of 0. What gives? Could someone
    please help me out?....
  18. Parse Error: Syntax Error, Unexpected '<' On Line 29
    (11)
    ok when i try and access the page i want, iget the following error: Parse error: syntax error,
    unexpected ' however, my page looks like this: QUOTE // Connects to your Database
    $username = "evolved_creation"; $password = "mypasswordishere"; $hostname = "localhost"; $dbh =
    mysql_connect($hostname, $username, $password) or die("Unable to connect to MySQL"); $selected =
    mysql_select_db("evolved_clancreation",$dbh) or die("Could not connect to DB"); mysql_close($dbh);
    //checks cookies to make sure they are logged in if(isset($_COOKIE )) { $username = ....
  19. Keep Getting Socket Error
    mail won't send. (3)
    When trying to send email, I keep getting a socket #10061 error. I use the Trap 17 smtp server,
    related to my own domain, which is mail.vlaanderen-flanders.org.uk. This seems to be happening
    regularly lately. Has anyone got any idea why this could be happening? Thanks for any support. ....
  20. Wordpress Login Trouble [resolved]
    It says something about cookies. (8)
    Whenever I try to login to my newly installed Wordpress account, it gives me this message at the
    top: Warning: Cannot modify header information - headers already sent by (output started at
    /home/a0123b56/public_html/wp-config.php:29) in /home/a0123b56/public_html/wp-login.php on line 12
    Warning: Cannot modify header information - headers already sent by (output started at
    /home/a0123b56/public_html/wp-config.php:29) in /home/a0123b56/public_html/wp-login.php on line 24
    And then when I ignore that and try to login, it says that either cookies are blocked or your brow....
  21. /tmp Folder In File Manager
    (4)
    I know awhile back there was a question brought up about the /TMP folder taking up space, and if
    anyone remembers that topic do you remember if TMP was an acronym for temporary, and can you safely
    delete the contents in that folder? Right now I am cleaning out my hosting account and the files in
    that folder are the only ones taking up space at the moment.....
  22. Wordpress Problem [resolved]
    (5)
    Hello guys, hope this is the right place to post it. It's probably me being dumb, but I'm
    having a problem with the wordpress installation. AS many of you know, the installation process is
    rather simple but I can't find a small detail. The only things I have to complete in order to
    get the platform going are the following: define('DB_NAME', ' ???????????'); //
    The name of the database define('DB_USER', 'arkan'); // Your MySQL username
    define('DB_PASSWORD', 'mypassword'); // ...and password define('....
  23. Error Code In Subscriptions Page
    problems subscribing to topics (5)
    I'm seeing some weird warning message show up at the top of my page when I go into "my
    controls," then load my topic subscriptions page. At the top of the page, the following code appears
    several times: IPB WARNING in_array() : Wrong datatype for second argument (Line: 2711 of
    /sources/action_public/usercp.php) I'm guessing maybe that has something to do with the fact
    I'm having problems subscribing to my topics and posts? Thanks in advance for your help.....
  24. License File Expired When Logging Into Cpanel
    (12)
    Well looks like the servers did come back on line, but now im unable to acess my cpanel. I go to log
    in and I get a message that the License File Expired follwed with that is a set of numbers which id
    rather not show. But do I need to log a ticket for this....
  25. Cannot Delete Folder After Lost Ftp Connection
    permission not given to delete file (7)
    hello, well i had created a subdomain and was transferring files into the folder i was disconnect
    from the server many times while uploading the files via ftp once when i reconnect, i saw a file
    with an unusual name something starting with preftp... i tried deleting the file, but it said that
    permission was not granted to do that i tired deleting the complete folder and also tried deleting
    the subdomain from the cpanel but it was of no use can anyone help me with this? thx for your time
    Modified topic title. ....
  26. How Do I Make A (video) File Smaller?
    (24)
    Ok, I want to host a video that I have in my computer, but the problem is that the video is too
    big, 790MB. My host can't handle a file that huge so I was wondering if there is any way I can
    make the video file in my computer smaller? I don't want to mess up the video and make it
    smaller, I was wondering if I can keep the current 790MB video that I already have but copy only
    about 10MB of the video into a new file that I can use for hosting. Anyone know?....
  27. Error Using "move_uploaded_file()"
    Permission denied to perform this action (5)
    I, on my website, have employed a page to upload files on my website. But I'm having problems
    using it. When the file is uploaded to the 'temp' directory of my account, and when I use
    the function 'move_uploaded_file()' to move this file into the actual directory, it returns
    the error move_uploaded_file(ABD.jpg): failed to open stream: Permission denied
    move_uploaded_file(): Unable to move '/tmp/phpF5SqzC' to 'ABD.jpg' please help me
    what should now I do with this.. I also tried changing the mode of the 'temp' directory to
    7....
  28. My File Manager Is Working
    (2)
    I tried to change the html for my site in file manager but it just has the default page - the one
    when you activate your site. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' />
    How do i change files?....
  29. 403 Forbidden Error When Accessing My Site
    (12)
    umm this is a problem that i have been looking in other topics to try to fix but i can't seem to
    find a answer to what i lookin for. I got my site workin again the other day ok and so i went on to
    see it (so i can make more changes) and when i got there i got this QUOTE Forbidden You
    don't have permission to access / on this server. Additionally, a 403 Forbidden error was
    encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at
    www.clansga.trap17.com Port 80 now i looked at everything and i can't seem to find t....
  30. Smartfox Installation
    (3)
    is there a way i can install smartfox lite on my site? http://www.smartfoxserver.com/ ....

    1. Looking for wordpress, installation, error, change, wp, config, php, file,

Searching Video's for wordpress, installation, error, change, wp, config, php, file,
See Also,
advertisement


Wordpress Installation Error [resolved] - Anything to change in the wp-config.php file?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com