shigajet
Mar 1 2007, 04:48 PM
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'); ?>
Reply
jlhaslip
Mar 1 2007, 04:55 PM
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.
Reply
serverph
Mar 1 2007, 05:26 PM
jlhaslip is correct.  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
Reply
shigajet
Mar 2 2007, 04:53 PM
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.
Reply
Similar Topics
Keywords : wordpress, installation, error, change, wp, config, php, file,
- Hosting Problem [resolved]
403 Forbidden Error occurs whenever I try to access my site (22)
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.....
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....
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....
Error 28 (on Phpmyadmin)
What does this error message mean? (10) 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....
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.....
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??....
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?....
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.....
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?....
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.....
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.....
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?....
Mysqli Error - Phpbb3
(3) Ok, my forum (phpbb3) works but sometimes it displays this message CODE General Error SQL ERROR
[ mysqli ] Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) [2002] 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....
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?....
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 ar....
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. ....
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....
/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.....
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('....
Need Help Related To Wordpress...
(1) Hi. I am new to wordpress. I am using blogspot currently.... That's not why i am here. I am
in need of some help... I have a domain www.computerkindness.org. A small non-profit organisation
for helping sudents. I have setup a weblog to document our activities and to hopefully also
encourage our participants to log comments on the activities of the foundation. Rather then just
have links between our web site and our wordpress weblog it would be great if we could just set up a
sub domain. Exactly who do I go about creating the sub domain and linking it to our ....
Email Creation Error
Not receving emails, can't create new account (3) Hi, When I try to create an email account in the CPanel, I get this error QUOTE The e-mail
account xxxxxxxx@ wildcatexotics.com with the login Sorry, you have exceeded the maximum allowed
email accounts. and password xxxxxxxx with a quota of unlimited megabytes was successfully created.
Can anybody help me out? And also My default email account is xxxxx@xxxx.com, but when I sent
myself an email from another account, I didn't receive any. Thank you....
Got A Great Phpbb File With Mods Already Installed?
If you do put it here. (3) As the name implies, I think it would be a good idea to giving those who aren't really "mod
savvy" a chance to look at what phpBB's could look like with some regular mods installed. If
this thread is innappropriate I'll be glad to delete it away or rather, I give permission to
have it deleted if it isn't appropriate.....
Help: Internet Server Error
(20) Hello! I decided to try YaBB as a forum now, just testing....and ... Well first my question is,
this is in ADDONSCRIPTS, not FANTASTICO, whats the difference? Secondly, about my problem: I was
in the YaBB admin panel, I got through the Forum Settings, got to Advanced settings, filled out the
info, and pressed save. The 5000 times I have tried this, I get this: QUOTE Internal Server
Error The server encountered an internal error or misconfiguration and was unable to complete your
request. Please contact the server administrator, webmaster@sherwoodinfo.trap1....
Error During Upgrade [resolved]
Xisto tells me to contact Admin (3) While trying to upgrade my hosting account (I got an email I was approved), I encountered the
following: When I clicked on the link in my confirmation email, I was taken to the Xisto menu page,
where I selected "Upgrade your hosting account". I was then asked to enter my forum username and
password, and was then taken to the upgrade page, but almost immediately got the message: "There
were problems creating your account! Please Contact Administrator." Then, underneath, it said:
"Debug Info", followed by two lines with nothing in between them, and below the two lines ....
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.....
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. ....
How Do I Make A (video) File Smaller?
(11) 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?....
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?....
403 Forbidden Error When Accessing My Site
(11) 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....
Looking for wordpress, installation, error, change, wp, config, php, file,
|
|
Searching Video's for wordpress, installation, error, change, wp, config, php, file,
|
advertisement
|
|