Archive for the ‘wordpress’ Category

moving wordpress to another server

Wednesday, May 21st, 2008 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/

GMap_Factory.inc.php on line 22

Wednesday, May 21st, 2008 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/

wordpress reference

Wednesday, May 21st, 2008 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

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

Wednesday, May 21st, 2008 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

wordpress: The uploaded file could not be moved to

Tuesday, May 20th, 2008 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

photoxhibit error

Sunday, March 2nd, 2008 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/Â