Mar 212009
 

Unable to create directory /home/onezero5/public_html/andaru/wp-content/uploads/2009/03. Is its parent directory writable by the server?

This error message show up when my brother want to upload picture for his post after recent migration.

After thinking a while I have the solution :

1. Open phpmyadmin

2. Click on wp_options table and click search

3. Pick wildcard in search term :

fix upload Fixing upload problem after host migration

yes, using like ‘%%’ will tell phpmyadmin to look up string with ‘onezero’.

4. Edit the value into right one.

5. Try to re-upload

Of course it work icon smile Fixing upload problem after host migration

 

Almost 1 year with hostmonster, overall experience I feel great. Full satisfaction with everything but as time for renewal come I decide to move to fastdomain for a reason that I can’t tell icon smile Migrating from hostmonster to fastdomain

Here’s my note on moving from hostmonster to fastdomain ( I have ssh account enable in both) :

1. Login to hostmonster via shell ::

# cat wp-config.php

# mysqldump -uonezero5_101 -p onezero5_101 > wp-content/101.sql

# tar cvzf 101.tar.gz wp-content

# scp 101.tar.gz winhowsn@winhows.net:/home/winhowsn/www
winhowsn@winhows.net’s password:
101.tar.gz                                                                                                                  100%   26MB  26.2MB/s   00:01

Those steps will dumping database and put it in wp-content folder, pack it to tar.gz file and send it fastdomain via scp.

2. Login to fastdomain via shell ::

# cd www

Check if file already arrive in fastdomain.

# ls | grep 101
101.tar.gz

Download latest wordpress

# wget wordpress.org/latest.tar.gz
–09:48:55–  http://wordpress.org/latest.tar.gz
=> `latest.tar.gz’
Resolving wordpress.org… 72.233.56.138, 72.233.56.139
Connecting to wordpress.org|72.233.56.138|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [application/x-gzip]

[     <=>                             ] 1,624,416      1.68M/s

09:48:56 (1.67 MB/s) – `latest.tar.gz’ saved [1624416]

Unpack

# tar xvzf latest.tar.gz

Rename folder, delete wp-content folder and replace it with file from hostmonster.

# mv wordpress 101

# rm -rf 101/wp-content/

# tar xvzf 101.tar.gz –directory=101

3. Create new database, add user to database and assign that user to database from mysql menu on cpanel.

4. Import sql file into dababase created in step 3.

# mysql -uwinhowsn_101 -p winhowsn_101 < wp-content/101.sql

5. Edit wp-config.php to reflect new information of database

6. Add domain using addon domain menu on cpanel, point it to folder 101.
Finish icon smile Migrating from hostmonster to fastdomain

touch the file

 Tips  Comments Off
Mar 142009
 

Recent progress made by my webhosting to let them identify if I’m the owner of domain.

earningsreport touch the file

Cool, I just need to make that file.

Simply login to the host using putty and issue these commands :

# touch ba264c35.html

# echo ’1011da46′ > ba264c35.html

Refresh the page to see it works :

earningsreport2 touch the file

Quick and I can sleep earlier icon smile touch the file

© 2011 Hosting Formula Suffusion theme by Sayontan Sinha