Goin fi 1.2 tae 1.5
Make Succar Ye Ken Whit This Is Aw Aboot!
Aww right big man (or wumin) How's it goan?
Walcome til the WurdPress upgrade guide!
We want tae mak siccar that as mony folk as can is able tae dae this upgrade. It's taen me bloody ages ti dae this but it's gonna make pooting that new WurdPress stuff on yer pc much easier! It works, aye, honest! Ye'd better dae exactly whit it says oan the guide, if ye dinnae, it'll no wurk!!
Dinnae skip ony o the bits or ye'll bugger it up, if you do muk aboot wi it, I winnae be there ti help ye!
Tools Fur The Joab
Ye'll need:
- Time. Dinnae dae this when yer fair wabbit, or reengin aboot
- FTP client.
- Text editor. Dinnae use oan o those Wurd Processor fur onything
here. WordPad (PC) BBEdit (Mac) will dae.
- Dinnae use Dreamweaver or Adobe
Golive either.
Watch Oot!
BACKUP YER DATA.
It's ye're blog. It's ye're data. Ye're loss if it aww goes wrang!. Dae a backup o the database AND a backup o all aw yer WurdPress stuff afore ye stairt tae dae onythin below.
It's no ma fault if ye bugger it aw up!!
- Mak a new folder caud "Full Backup" oan yer PC.
- Doonload all aw yer WurdPress stuff intae this folder.
- Backup yer database. Instructions tae dae this are here.
Prepare Yer Stuff
Oan yer desktop, mak a brand spankin new folder caud "WP files". Doonload aw eh yer stuff intae this, doonload aw eh the followin stuff intae it (Ah ken ye've din it already, dae whit yer tealt!!)
- index.php
- wp-comments.php
- wp-comments-popup.php
- wp-config.php
- wp-layout.css
- If ye yease that Kubrick stuff, coapy thoan kubrick-searchform.php
Mak sure ye also doonload ony o the files that ye might have chinged on yer ain, mibee vars.php if ye've chinged the wee happy faces?
It's ye're backup and it's jist that - ye're backup - aw o the files will be mucked aboot wi an that's why ye're daoin it this way!
Richt, we've goat tae doonload a few more things. Oan yer desktop, mak a new folder caud "My Plugs". Intae this, doonload aw eh yer plugins and aw the other folders and stuff that micht be in there.
Chingin Yer Files #1
The follaein chinges are importaint for ye so that yer current layoot stays the same! Dae all o this usin the stuff ye've doonloaded seperately:
- Open yer index.php in yer text editor.
- Comment oot the wp-blog-header require line at the top o index.php. Dae
this by putting // at the start o each line.
<?php
//* Don't remove this line.
*/
//require('./wp-blog-header.php');
?>
- Update that stylesheet import line in index.php. Replace this:
@import
url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
wi
this:
@import url( <?php bloginfo('stylesheet_url'); ?> );
- IF ye use Kubrick, ye'll have a line like
this:
<link rel="stylesheet" href="<?php echo
get_settings('siteurl'); ?>/wp-layout.css" type="text/css" media="screen"
/>
Ye've goat tae chinge it tae this (fur Kubrick layouts only
remember):
<link rel="stylesheet" href="<?php
bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- Update the wp-comments include line in index.php. Replace
this:
<?php include(ABSPATH . 'wp-comments.php'); ?>
wi
this:
<?php comments_template(); ?>
- Now save yer index.php
- Rename wp-comments.php taecomments.php
- Open wp-comments-popup.php. Find this line at the top : require
('wp-blog-header.php');
Ye must comment oot that line:
// require ('wp-blog-header.php');
The top o yer wp-comments-popup.php must look like this:
<?php
/* Don't remove these lines. */
$blog =
1;
//require ('wp-blog-header.php');
add_filter('comment_text',
'popuplinks');
Save the file.
- Rename wp-comments-popup.php as comments-popup.php
- Add a theme heeder tae wp-layout.css. Somethin like this (Ye can jist
copy and paste this fur noo):
/*
Theme Name: Ma Original layout
Theme URI:
http://myblog.com/
Description: Your theme
Version: 1
Author:
Yersel
Author URI: http://myblog.com/
*/
- Now rename wp-layout.css to style.css.
- Ye should noo huv 5 files:
- index.php
- comments.php
- comments-popup.php
- style.css
- wp-config.php
- If ye use that Kubrick stuff, ye'll huv 6 files.
- Now mak a folder caud "Carrots" an poot the furst 4 files intae
that folder (and kubrick-searchform.php if ye use Kubrick).
WordPress 1.5
Ye've noo goat tae doonload WurdPress 1.5 fi http://wordpress.org/download/
Unzip
this oan tae yer PC.
It should unzip intae 4 folders an seeveral
files.
If it awl unzips intae wan big folder foo o files, delete them an
unzip the doonload again. Make sure ye use sommat like WinZip tae dae this.
Noo, ye've goat tae move the files ye've jist been editing intae this doonload
- Open the WurdPress doonload
- Open the folder caud"wp-content"
- See a folder caud "themes" ? Open it
- Ye've a folder caud "Carrots". Coapy that folder intae "themes". (Ye shood noo be seein 3 folders - Default, Classic and Carrots)
- Close themes, close wp-content. Ye should noo see the 4 folders (wp-content,
wp-images, wp-admin, wp-includes) and a list o files. Copy yerwp-config.php intae here.
Yer 1.5 upload is jist aboot ready tae go
- Open the WurdPress doonload
- Open the folder caud "wp-content"
- See a folder caud "plugins" ? Open it an delete aw that's in it.
- You have a folder caud "My Plugs". Copy everything fi that folder intae
the plugins folder.
- Close aw the folders.
The folder wp-images hisnae chinged since 1.2mingus. Ye dinnae hiv tae upload this if ye're upgrading, an can delete this folder fi the
1.5 doonload if ye want.
The Actual Upgrade #1
- Login tae yer admin panel and DEACTIVATE every plugin. (Dae it, or else!!!)
- Dinnae touch yer /wp-images directory.
- DELETE the /wp-admin directory.
- DELETE the /wp-includes directory.
- DELETE the /wp-content directory.
Now delete aw these WP files. All o them. If ye hiv 1.2, 1.2.1 or 1.2.2
then here's a list o whit needs deleting:
- index.php
- print.css
- wp-atom.php
- wp-blog-header.php
- wp-comments-popup.php
- wp-comments-post.php
- wp-comments-reply.php
- wp-comments.php
- wp-commentsrss2.php
- wp-feed.php
- wp-layout.css
- wp-links-opml.php
- wp-locations.php
- wp-login.php
- wp-mail.php
- wp-pass.php
- wp-rdf.php
- wp-register.php
- wp-rss.php
- wp-rss2.php
- wp-settings.php
- wp-trackback.php
- wp.php
- xmlrpc.php
If ye jist overwrite aw the files, ye will get errors. Probably quite a
lot o them. DELETE insteed
The Actual Upgrade #2
- Upload the /wp-admin directory.
- Upload the /wp-includes directory.
- Upload the /wp-content directory.
- Leave yer /wp-images directory alone.
- Upload all o the other files that came wi the 1.5 download
Check that none o the uploaded files hiv a size of 0 (zero). If they dae,
re-upload that file.
Upgrade !
Using yer browser, visit the upgrade script that ye
jist uploaded tae yer site. It'll usually be located somewhere like
this:
www.example.com/wp-admin/upgrade.php
or
www.example.com/wurdpress/wp-admin/upgrade.php
(where 'wurdpress' is the name o yer blog directory).
Ya Dancer!!! New Site !
Scroll doon fur a mini-FAQ
Ye'll need tae reactivate yer plugins
Yease yer ftp client tae CHMOD ony directories
Yease yer ftp client tae CHMOD yer .htaccess file tae 664 an regenerate yer
rewrite rules by going tae Options > permalinks (Cheers ti ma good pal Au Yong)
Yer site will noo hiv switched tae the new default style.
Click oan the
"Presentation" tab at the top o the screen.
Noo"Select" the theme caud
My original layout
Hiv a look at yer new blog.
Notice onythin
missing ? Images maybe ? Ye may hiv tae edit style.css tae git the
image paths richt - ye cin dae this through the Theme editor (it's
jist unner the main set o headings oan the same page as the Themes
list).
Tidying
Ye may hiv doonloaded other files that ye hiv chinged a loat.
If ye just upload those an overwrite the new 1.5 code, ye'ill get errors. If
ye want whatever chinges ye've made, ye'll hiv tae compare the new files and
the old files an carefully mak yer chinges.
Credits
Specifically fur this guide, the following folk shuld be thankit:
Ryan Boren - He's writ loads o code in the first place, but he's made a scally guide fi which this guide has bin written.
Aw the folk here his helpit by geein up their free time (in response
tae a post on ma blog) by testing oot this guide, pointing oot gaps, makkin
suggestions an otherwise helping so that yer WurdPress upgrade is made as
tickety-boo as possible. In alpha order, they're: |Memo|, AJ, Bryan, ch3wbacca, Charlie, Cyndy, Gary, Shadow, SLH, Terry
Mini FAQ
- Ah git an error message !!! "Fatal error: Cannot redeclare
maybe_add_column() (previously declared in /home..."
- Ye stupit arse, I telt ye tae deactivate all o yer plugins! Yease yer FTP client an rename the plugin... Twat!
- The Dashboard disnae look richt
- Wi yer browser open oan the dashboard page, press CTRL-F5 (Windows) tae
force a page reload.
- Dae I Huv tae upgrade tae 1.5 ?
- No ye dinnae. But if ye want aw the guide stuff, ye hiv tae! Whit ye daein reading all o this anyway if ye dinnae want tae dae it?
- Something wierd his gone wrang!
- First, read ooer the guide fi the start and make shure ye didnae miss onythin oot!
- Mak sure yer files are uploaded richt.
- Then SEARCH FIRST at the forums fur yer problem.
- Then post intae forums:
- Include yer WurdPress wabsite address. Mak it the actual address, no sum flash intro!
- Include a foo description o yer error
- Be nice or I'll send the lads aroond!
- Wan o yer plugins disnae wurk.
- SEARCH FIRST at the forums.
- Check the plugin author's wabsite
- If there is nae solution, post tae the forum.
- Again, be polite, ye dinnae want tae make an enemy of me! :-)
Show me the themes !
Mak shure ye read ony README with these if ther is wan.
Terms o use, an other themes may be fund oon the WurdPress
Codex and in this Forum thread.
Lang may yer lum reek!