The following are the blog posts under the category Wordpress Stuff
May
24
2008

WordPress 2.5.X: Your attempt to edit this page/post has failed. Please try again.

Are you looking for a fix on the WordPress error: “Your attempt to edit/save this page/post: [post/page title] has failed. Please try again.”? If you are, you are on the right page!

Yesterday, my WordPress for this blog went problematic after the server reboot at my web host’s end. The first problem I encountered was the corruption of the table wp_options of my WordPress database which resulted to WordPress asking me to reinstall the blog. I fixed it using the Repair DB functions of cPanel.

The next problem I saw was that I can’t post or edit any page. It keeps on dumping “Your attempt to edit this post [post title] has failed. Please try again.” I tried searching for the problem in the Internet and learned that it is caused by the WordPress autosave function.

To fix it, you should have access to your WordPress blog from cPanel file manager or FTP. Browse to [blog_root]/wp-admin/ and locate the file post-new.php. After locating the file, edit it directly thru your File Manger (cPanel) or download it thru FTP. Edit the file using your favorite text editor such as NotePad if you downloaded it thru FTP. (more…)

Tags: ,  
Posted in Wordpress Stuff


Apr
04
2008

Migrating A Wordpress Blog to Another Host

Hey, guys. I’m making this post after having successfully migrated my blog from the crappy slow DreamHost to the uber-cute-named A Small Orange.

Here’s it.

Requirements

  • Patience. Patience is a virtue.
  • Preferably an FTP client. An online FTP client would do.
  • Access to your mySQL server; I recommend using PHPmyAdmin in managing your database although using the console would do.
  • Basic knowledge on mySQL.

Back-Up

First of all, you have to backup your blog’s files. Access your blog’s root thru your FTP client. Copy all the files in your blog’s root to a hard disk destination of your choice.

After backing-up all the files, the next move would be backing up the entire database. Thru your SQL interface (PHPmyAdmin is again recommended), access your SQL server then your blog’s database.

If you are using PHPmyAdmin, just click the Import button at the top, then check the tick box below that says something like “Download File”. Save the imported SQL file to a hard disk destination of your choice.

But if you’re not using the nifty tool, you have to do it your own provided you have knowledge on it. You may also ask your web host to do it for you.

Copying the Data to New Host

Then, we’ll be making something senseful. Access your new SQL server (your new host’s SQL) thru PHPmyAdmin or console. If you’re using PHPmyAdmin, just click the Export button above, then upload the file you just saved on the hard disk destination of your choice to your SQL server and have it copied there by itself. Again, if you’re not using PHPmyAdmin, you may ask your new web host to do it for you.

Yey, you already have a copy of your database on your new host. Then, we’ll be copying the blog root files you saved in the hard disk destination of your choice. Using your FTP client, upload it to your new host. On some modern FTP clients, drag-and-drop would do the entire job.

CHMOD Time

Ooops. we’re not that done yet. You still have to set the chmod of the following folders and its folders and files to 777:

  • /wp-content/themes/
  • /wp-content/uploads/
  • /wp-content/plug-ins/

To change a folder’s chmod, you may use your FTP client. If you’re using FileZilla, just right-click the folder and click file attributes. Type the value ‘777′ on the textbox then check Recurse in files and subdirectories then click okay.

Before I forget

I almost forgot this one. Using your favorite text editor (Notepad’s one), modify your local copy (the one on the hard disk destination of your choice) of wp-config.php.

The file looks like this:

/** WordPress's config file **/
/** http://wordpress.org/   **/// ** MySQL settings ** //

define('DB_NAME', 'yourdbname');     // The name of the database
define('DB_USER', 'yourdbuser');     // Your MySQL username
define('DB_PASSWORD', 'yourdbpassword'); // ...and password
define('DB_HOST', 'yourdbhost');     // ...and the server MySQL is running on

// Change the prefix if you want to have multiple blogs in a single database.

$table_prefix  = 'wp_';   // example: 'wp_' or 'b2' or 'mylogin_'

// 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', '');

/* Stop editing */

$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;

define('ABSPATH', dirname(__FILE__).'/');

// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>

Now, you have to change the values in bold to your new hosts’ configuration. :D

Last Step?

Uhm, the last step. You have to login to the place where you bought your domain aka domain registrar. Change your nameserver settings (steps differ from a nameserver to another) to your new host’s nameserver. It usually sounds and looks like ns1.yourhost.com, ns2.yourhost.com and in some cases ns3 to ns4.

After setting, wait for at most three days for the change in DNS info to propagate around the world. Your blog at your old host will be the one displayed when the viewer’s ISP’s DNS server hasn’t received the DNS update.

Enjoy.

Ooops, the lastest step.

Check your blog once it propagates around the world. If you experience problems, try rechecking your wp-config.php. You may also try disabling some plugins. My PHP Speedy plugin caused me some problems in migrating. :D


Mar
30
2008

Upgraded to WordPress 2.5

Hey guys, just made the big switch from WordPress 2.3.3 to WordPress 2.5.

It was painless with the help of WordPress Automatic Upgrade plugin. The upgrade clocked to 52 seconds; fast and furious rather than upgrading manually thru FTP.

All my plugins worked after the plugin. I tried to explore the brand new interface; it’s a lot more brighter and better. The dashboard gives you the sufficient data you need. I’ve read that you can embed some plugin pages to your dashboard; such as the WordPress Stats plugin.

The Write Page and Write Post pages are still powered with TinyMCE, but now with a cleaner theme. I’ve noticed that it loaded faster than the old one using our slow dialup connection.

The Plugins page, also offers an automatic upgrade link for outdated plugins. It seems that they want to have a WordPress that’s a lot easier and user friendly!

On the Comments page, there you can see the Gravatar of the person who commented. Weeee, so slick! Unfortunately, most of my commentators don’t have a Gravatar yet. If you still don’t have one, you may get one at Gravatar.com.

Good job WordPress coders, developers, designers and supporters! I’m liking it! :D

Tags:  
Posted in Wordpress Stuff


Mar
30
2008

Show Top Commentator Cloud

Hey guys, a while ago I felt so bored so I looked for something interesting to program or reprogram. Then, the idea of converting Nate Sanden’s Show Top Commentator plugin’s generated list into cloud came in.

You may take a look at it; it’s on my sidebar at the right, just beside the categories. (feed subscribers, you really have to open my page :D )

On my example on this blog, I chose the 30 top commentators who commented in the last 30 days. The top commentator gets a font size of 16 while the lowest among the 30 gets a font size of 10. Nofollow attribute is given to URLs with font size of below 16. Growth of your name is not based on ranking but instead number of comments. This means that for example there are 3 commentators listed with 3, 4 and 15 comments respectively; the one with 15 comments will get a much bigger font size than those who had 3 or 4 comments.

Neat, huh? If you want a copy, just contact me through my contact form. I still have to ask permission to Nate Sanden if I can release a modified version of the plugin; of course with due credit to Nate. :D

You may also suggest other plugin modification ideas by commenting on this post. :D

Tags:  
Posted in Wordpress Stuff


Mar
27
2008

Top 5 Neat WordPress Themes in Action

Finding a WordPress theme for your blog is like searching for a lost ant in a rice field. It’s true; with the vast collection of WordPress themes available online.

Here at Build that Geek, I can help narrow down the choices by posting top 5 WordPress themes according to genre. Not only that, I also give out at least a link of a live blog (not a demo site) using the theme.

Our spotlight for the moment goes to Neat WordPress Themes.

Blogging Pro Theme
Blogging Pro
by Design Disease
[theme (requires plugins)] [required plugins] [theme w/o plugins] [live preview on a real blog]

Blogging Pro is a neat three-column WordPress theme. It uses light colors; blue and orange. It’s typography is at par; very readable and has enough whitespace.

You can see Blogging Pro in action at J. Angelo Racoma’s The J Spot.

(more…)

Tags:  
Posted in Wordpress Stuff


Mar
02
2008

unDirty – Wordpress Theme

unDirty Wordpress Theme

Hey folks.

I just finished my first ever xHTML 1.0 Transitional Theme, the unDirty. It is currently on its 1.0 stage. I’m planning to develop the theme in the next few days.

Specifications

Here are the specifications of the unDirty Wordpress theme:

Please bear with its bare design as it is still on development stage.

Changelog

v1.0 @ March 2, 2008. First stage of development.

Download

The Wordpress theme is still not available for download.


Oct
12
2007

Upgraded to Wordpress 2.3

The release of Wordpress 2.3 was a buzz to the blogosphere. So I decided to give it a try and upgrade it myself.

The update took me about 15 minutes at dialup connection. I used FileZilla FTP Client, it was fine. This was my first ever Wordpress update. Knowing that Wordpress had a lot of previous updates, all I can say is it still requires knowledge in FTP and some troubleshooting.

I encountered so many problems such as in the taxomony.php, wp-settings.php and a lot more but I managed to fix them right away.

This will be my first tagged post, haha. I’ll be making a new theme and it’ll be available (hopefully) by tomorrow. I’ll be copying some ideas from other excellent blogs, but absolutely no copy-paste of CSS.

I still have a lot of free time now so I bet this will be the best time to work on this blog.

That’s all, thank you.