just_bruce
Forum Replies Created
-
Forum: Installing WordPress
In reply to: localhost upgrade 2.0.2 to latest wpI succeeded in upgrading using the 5-step plan, upgrading from 2.0.2 to 2.2.1 today. It went smoothly, and the features are much better. Everything came over.
Forum: Installing WordPress
In reply to: Install can’t find phpWell, I figured it out. My wordpress is installed on my machine as localhost with Apache. but when I opened install.php in my browser, it was not from http://localhost, so the server never saw it.
all i had to do was make sure to use the full url so it had to go thru my apache tree.
this thread can be closed from my standpoint, but i’d be glad to answer questions if anyone has them.
thanks to samboll for responding originally and making me think about this.
Forum: Installing WordPress
In reply to: Install can’t find phpstill having the same problem. i don’t think it is running php for some reason, though everything else i have in php is running fine.
Any ideas, anyone?
Forum: Installing WordPress
In reply to: Brinkster victim still suffering, please helpdo you have a backup?
i successfully migrated the old posts from an old 1.2 database to 2.0.2, using sql techniques. but you have to be able to read the db! you could reinstall the backup in a new database and move them– delicately and carefully– that is what i did. it was not easy.
also have you tried repairing the db with the mysql functions? if you have admin access you can do that.Forum: Installing WordPress
In reply to: Install can’t find phpthanks, samboll. I tried some of these, and no luck.
It seems that php is quitting when it encounters an html tag inside a quote. for instance at the start of install.php,
if (!file_exists('../wp-config.php'))
die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file.");
it quits right after the “there doesn’t seem to be a
..."to test i deleted this stuff (since i could read it anyway) and it ran down to where there is an <a html tag inside the quote a number of lines down.
so what does this mean? any ideas?
Forum: Fixing WordPress
In reply to: mysql error from post2cat tableWell after a good night’s sleep i figured out how to fix it. It was a mysql db problem.
One can use
mysqlcheck –auto-repair databasename
to check all tables in a db and repair them.
works for the 127 error. there were records hosed , probably indexes, in the post2cat and the post tables.
incidentally, use
mysqldump -r filename –opt databasename
to back up database content into a file that can be reloaded. the resulting file is just text and is easy to reload. use the -r switch in windows, not the –tab switch (which is for unix like systems). see mysql doc sec 8.6 (approx) for this!
can tie off this thread now unless someone has other comments soon. I hope it is helpful to someone. A learning experience for me! Now I will schedule backups.Forum: Installing WordPress
In reply to: wp can’t find stylesheet from a different ipIt worked to change siteurl in the database to the numeric IP address! style sheet and everything working smoothly.
This one can be locked now from my standpoint.Forum: Installing WordPress
In reply to: wp can’t find stylesheet from a different ipI did as TechGnome suggested above! very helpful!!
It solved one big problem but not the style sheet. It made all the links correct when the blog is accessed from another machine. but the style is still default html and not the wp-layout.css..i made the change to the variable wp-options.home right in the database with sqlyog so i did not need to worry about my problem with the options edit screen.
do you think it would work to modify ‘siteurl’ in the wp-options table the same way? when i look at the code in wp-layout.css it seems to be fetching ‘siteurl’ with the statement
<style type="text/css" media="screen">
@import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
</style>
in order to load the css.
what does anyone think?
bruceForum: Installing WordPress
In reply to: wp can’t find stylesheet from a different ipsorry about the weird formatting of the above!!
can anyone help?
thanks, bruceForum: Fixing WordPress
In reply to: really a mysql questionI suggest downloading sqlyog, http://www.sqlyog.com and using it to manipulate the mysql databases, if it is on your machine.
i would not use raw sql yourself unless you have a way to test and undo and are familiar with it.
i have used sqlyog for a couple of years and it works great.Forum: Installing WordPress
In reply to: Install fails in step 3 at end?Well i got it to work but i don’t know what i did. I reloaded the database several times, and looked at the Apache error log, which pointed me to line 84 of update_functions.php. I fixed a character, probably put there by me!
After several database cleans and reruns i finally got thru it and now most is ok.
I have another problem but this track can end.Forum: Installing WordPress
In reply to: Install fails in step 3 at end?yes i have checked per the documentation. i cant log in at all using wp-login.
i just saw a thread last nite from increa “step 3 of install gives me no password” which deals with a similar problem. he found a bug(?!?) in the code of upgrade_functions at line 705
$query = 'DESCRIBE '.$tableusers.' user_pass';
$res = $wpdb->get_results($query);
if ($res[0]['Type'] != 'varchar(32)') {
$wpdb->query('ALTER TABLE '.$tableusers.' MODIFY user_pass varchar(64) not null');
}
the suggestion from ringmaster is to replace
$res[0]['Type']
with
$res[0]->Type
and that worked for him getting a clean step 3.
im going to try this today and see if it works.
is this code an issue with others? beyond the post “step 3 of install gives me no password”?
im not having any other problems with the install so far (except i had the wordpress in the wrong place the first time thru!)