Archive for December, 2008

0

nano : friendly editor for shell newbie

I’m familiar with ee (easy editor) that not available in hosting account, they provide vi and nano.
First time I use it I think nano is very good to help newbie user like me for editing little file such wp-config.php
Here’s how :
mv wp-config-sample.php wp-config.php
nano wp-config.php
edit things as I use notepad, when I need to save I [...]

Tips
0

Server Error 500

This error related to permission problem, to overcome this error you should try to use chmod operation :
chmod -r 755 filename/foldername
if you don’t have access to shell, you might use cpanel file manager facility or ftp client chmod tool.

Tips
0

Activate wpmu user while email server not working

My email server seem not working to send activation email to student for their new blog . I need quick solution that able to activate the blog and able to reset the password for temporary solution so I can investigate problem in my email server.
To overcome the problem I make this script :
activate.php

mysql_connect("localhost","alam","doyanmakan");
mysql_select_db("wpmu");

if($_GET['ac']=='reset'){

$user2=base64_decode($_GET['us']);

//update db
$ubah=mysql_query("update wp_users [...]

Tips