| Subcribe via RSS

moving wordpress to another server

May 21st, 2008 | No Comments | Posted in anything under the moonlight, wordpress by dreamluverz

To update WordPress options with the new blog location, use the following SQL command:

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';



After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. The URL values in this field are stored as absolute URLs instead of relative URLs, so it needs to be changed with the following SQL query:

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');

If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages:

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

Browse through WordPress blog to check if everything is okay. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain.

source: Read full article on this link http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/

Tags:

GMap_Factory.inc.php on line 22

May 21st, 2008 | No Comments | Posted in anything under the moonlight, wordpress by dreamluverz

Are you getting this error? Sorry to tell you that it doesn’t support php4. So check your hosting if they got php5.



Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in

…\wp-content\plugins\googlemapper\classes\GMap_Factory.inc.php on line 22

Does this plugin support PHP4?

Unfortunately, no it doesn’t. GoogleMapper uses PHP5’s OO framework, and while I’d like to tell you that a PHP4-compatible version is coming soon, limited time and resources are keeping me from going after it. If there’s anyone out there that would like to take a swing at making a PHP4 version, and would like some info to help get goin’ on it, please contact me. - http://wordpress.org/extend/plugins/googlemapper/faq/

Tags: , ,

wordpress reference

May 21st, 2008 | No Comments | Posted in wordpress by dreamluverz

I stumbled on this site and it’s a good reference for wordpress especially with the scripts. All files are listed here, functions, classes. Check it out. It would be helpful for you

http://xref.redalt.com/wptrunk/nav.htm?_functions/index.htm

Tags: ,

wordpress: If this file were writable you could edit it.

May 21st, 2008 | No Comments | Posted in anything under the moonlight, wordpress by dreamluverz

Error: If this file were writable you could edit it.

If you’re getting this error check the folder for wp-content and for themes and change its permission to 777 as well as it’s sub folders esp the current theme you’re using.

for references you could also check the following links:
http://wordpress.org/support/topic/115385

http://codex.wordpress.org/Changing_File_Permissions

Tags: , , ,

wordpress: The uploaded file could not be moved to

May 20th, 2008 | 1 Comment | Posted in wordpress by dreamluverz

Error: The uploaded file could not be moved to

Change file permission of the upload folder and it’s subfolder to 777
and it will be fixed. Usually this happens if you transfer your blog to a new server

Tags: , ,

wordpress 2.5: download, upgrade

April 7th, 2008 | 1 Comment | Posted in anything under the moonlight by dreamluverz

You can download the wordpress 2.5 here or visit wordpress download center

You can see the instruction below for upgrading your wordpress to 2.5.

Three Step Upgrade

These are the short instructions, if you want more check out the extended upgrade instructions. If you experience problems with the Three Step Upgrade, you may want to review the more detailed upgrade instructions.

For these instructions, it is assumed that your blog’s URL is http://example.com/wordpress/. Note that during the upgrade process access to your blog may not work for your visitors. You may consider a plugin like Maintenance Mode.

Step 0: Before You Get Started

  • Just in case something goes wrong, make sure you have a backup. WordPress Backups is a comprehensive guide.
  • Deactivate your plugins. A plugin might not be compatible with the new version, so it’s nice to check for new versions of them and deactivate any that may cause problems. You can reactivate plugins one-by-one after the upgrade.

Step 1: Replace WordPress files

  1. Get the latest WordPress. Either download and extract it to your computer or download it directly to the server.
  2. Delete your old wp-includes and wp-admin directories.
  3. Copy the new files to your server, overwriting old files in the root. You may use FTP or shell commands to do so.

NOTE The wp-content folder requires special handling, as do the plugins and themes folders. You must copy over the contents of these folders, not the entire folder. Copying the entire folder overwrites all your customizations and added content.

Also take care to preserve the wp-config.php file in the root directory, as it contains your database sign-in information. Do note though that usually this will not be a problem since in a new installation the config file will be named wp-config-sample.php.

Step 2: Upgrade your installation

Visit the upgrade page. It will be at a URL like http://example.com/wordpress/wp-admin/upgrade.php. This updates your database to be compatible with the latest code, and before you do this your blog might look funny.

Step 3: Do something nice for yourself

If you have caching enabled, your changes will appear to users more immediately if you clear the cache at this point (and if you don’t, you may get confused when you see the old version number in page footers when you check to see if the upgrade worked).

Your WordPress installation is successfully upgraded. That’s as simple as we can make it without Updating WordPress Using Subversion.

Consider rewarding yourself with a blog post about the upgrade, reading that book or article you’ve been putting off, or simply sitting back for a few moments and let the world pass you by.

Troubleshooting

If anything has gone wrong the first thing to do is go through all the steps in our extended upgrade instructions. That page also has information about some of the most common problems we see.

source: http://codex.wordpress.org/Upgrading_WordPress

Tags: , ,

photo gallery plugin

March 8th, 2008 | No Comments | Posted in anything under the moonlight by dreamluverz

I’ve been trying out different photo gallery software, plugins, widgets for wordpress that suits my needs. I installed one plugin from another and still not satisfied… Some plugins got this feature and another got this one and another got this one… so since I can’t decide which one to use… I just settled in  having an iframe for picasa :P

Tags: , ,

photoxhibit error

March 2nd, 2008 | 2 Comments | Posted in wordpress by dreamluverz

I’m so thankful I found this plugin, photoxhibit by benjamin sterling. Now I can show my photos from picasa on my blog like it’s really uploaded on my site :)

One issue though is, I got some erros on Manage album. One of them is:

jQuery is not defined [Break on this error] (function($){$.ui=$.ui||{};$.extend($.ui,{plugin:{add:function(module,option,set…

I already contacted him about this error and hopefully he’ll reply. :)

You can download the plugin here: http://benjaminsterling.com/photoxhibit/ 

Tags: , ,