| 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: , ,

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: , ,

gallery2 plugin for wordpress

February 23rd, 2008 | No Comments | Posted in wordpress by dreamluverz

Error: Options not available until WPG2 Plugin is Validated.

I’m getting this error and lots of different errors when activating the gallery2 plugin in wordpress. I got path error and so on. First of after installing wpg2 and activated it on plugins, when I go to wpg2 section on admin it lists several error messages. It’s looking for embed.php and realized I got a wrong path for the gallery2. But still I got an error options not avaialable until wpg2 is validated. Later I realized I just extracted the file for gallery2 but not installed it. hehehe. so installed it have the right path and all errors was gone:)

Tags: , , ,

integrating “digg it” link with wordpress content

November 30th, 2007 | No Comments | Posted in css, wordpress by dreamluverz

I’ve been working my butt around here juz to integrate this digg it link. I wanted it to float to the right with the use of different elements but still didn’t work. I tried different ways and at last I got it! I switched it. digg first then the content. It just need perseverance :P

Tags: , , ,

wordpress smileys you can use

November 23rd, 2007 | No Comments | Posted in wordpress by dreamluverz

I was looking for the different smileys I can use. I kept on searching on the files but I can’t find this one. Luckily while searching google I found the answer and it’s located on one functions of wordpress. :lol:

‘:mrgreen:’ => ‘icon_mrgreen.gif’,
‘:neutral:’ => ‘icon_neutral.gif’,
‘:twisted:’ => ‘icon_twisted.gif’,
‘:arrow:’ => ‘icon_arrow.gif’,
‘:shock:’ => ‘icon_eek.gif’,
‘:smile:’ => ‘icon_smile.gif’,
‘:???:’ => ‘icon_confused.gif’,
‘:cool:’ => ‘icon_cool.gif’,
‘:evil:’ => ‘icon_evil.gif’,
‘:grin:’ => ‘icon_biggrin.gif’,
‘:idea:’ => ‘icon_idea.gif’,
‘:oops:’ => ‘icon_redface.gif’,
‘:razz:’ => ‘icon_razz.gif’,
‘:roll:’ => ‘icon_rolleyes.gif’,
‘:wink:’ => ‘icon_wink.gif’,
‘:cry:’ => ‘icon_cry.gif’,
‘:eek:’ => ‘icon_surprised.gif’,
‘:lol:’ => ‘icon_lol.gif’,
‘:mad:’ => ‘icon_mad.gif’,
‘:sad:’ => ‘icon_sad.gif’,
‘8-)’ => ‘icon_cool.gif’,
‘8-O’ => ‘icon_eek.gif’,
‘:-(’ => ‘icon_sad.gif’,
‘:-)’ => ‘icon_smile.gif’,
‘:-?’ => ‘icon_confused.gif’,
‘:-D’ => ‘icon_biggrin.gif’,
‘:-P’ => ‘icon_razz.gif’,
‘:-o’ => ‘icon_surprised.gif’,
‘:-x’ => ‘icon_mad.gif’,
‘:-|’ => ‘icon_neutral.gif’,
‘;-)’ => ‘icon_wink.gif’,
‘8)’ => ‘icon_cool.gif’,
‘8O’ => ‘icon_eek.gif’,
‘:(’ => ‘icon_sad.gif’,
‘:)’ => ‘icon_smile.gif’,
‘:?’ => ‘icon_confused.gif’,
‘:D’ => ‘icon_biggrin.gif’,
‘:P’ => ‘icon_razz.gif’,
‘:o’ => ‘icon_surprised.gif’,
‘:x’ => ‘icon_mad.gif’,
‘:|’ => ‘icon_neutral.gif’,
‘;)’ => ‘icon_wink.gif’,
‘:!:’ => ‘icon_exclaim.gif’,
‘:?:’ => ‘icon_question.gif’,

Tags: