Showing posts with label Windows LIve Writer. Show all posts
Showing posts with label Windows LIve Writer. Show all posts

Tuesday, July 13, 2010

Wordpress 500 internal Server Error xmlrpc.php fix part 2

I had this issue previously and it appeared resolved. But it has returned after upgrading my Wordpress installation to 3.x.
So I tried the simple thing of just disabling all my plug-ins but that didn’t do it this time.
I had to do that (disable my plug-ins as described here) and all this too!
I hope this helps some of you. Please make sure you have a complete backup of our MYSQL dbase AND your blog in case you hose something! I am a nut about backups and you should be too.
OK so..
Do this:
   1. Using either FTP or CPanel, navigate to your WordPress root directory.
   2. You should find the file “xmlrpc.php” there. Make a back up copy of it, just in case. Download it and then.
   3. Open xmlrpc.php in an editor
   4. Go to the end of the file.
   5. Put your cursor after the final ?>
   6. Delete anything there, including spaces, or blank lines.
   7. Save the edited xmlrpc.php back to your WordPress root directory. [I also changed the permissions on this file to allow the Owner to ‘Execute’ too!]
image
Then:
If you don't have one (php.ini) then create a text file and name it “php.ini” (without the quotes ;-) ) and with a single line of code in it:
memory=20MB
[If you have one just add that line.]
This file has to be placed into the root directory OR /wp-admin/ within your Wordpress installation.
It caused me problems being in the /wp-admin/ directory so I deleted it from there and place it in the root of my blog /mysite/blog/
So keep that in mind!
Also if you are creating the file locally and then uploading it make sure you change the file to a .ini and it does not still have the .txt extension on it.
Then you might want to find your .htaccess file
[It is a hidden file! So if you are using an FTP client make sure you set your 'filter' with the '-a' option to 'see hidden files' and directories.]
Add this line to the beginning of the file:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
<Files xmlrpc.php>
SecFilterInheritance Off
</Files>
And lastly I did this
Run the following database query to change the data type on the post_parent column:
ALTER TABLE wp_posts CHANGE post_parent post_parent BIGINT;
So after a few hours of aggravation I can now publish posts with loads of content from Window Live Writer again!
Update: This guy here has an elegant solution for 1&1 hosted sites

Tuesday, February 10, 2009

Windows Live Applications on Windows 2003 Server

After searching far and wide I found a solution to not being able to install the lates version of Windows Live applications on Windows 2003(and 2008) Server.

My desire is pretty much for only Live Writer but all the 'Live' apps are now completely bundled.

You can't simply download and install the 'writer installer' anymore. [this was a solution for Live Writer beta 3]

After downloading the full Windows Live installer - wlsetup-all.exe

You must make adjustments to the actual installer that will allow for a ‘server’ install (A 'non supported' OS).

First download and extract ‘Resource Hacker’ to a folder (desktop is simplest)

Next run ResHacker.exe and open the setup file – wlsetup-all.exe

Locate CONFIG 0. and expand

Then go to ‘View’ on the menu bar and ‘Find’ enter ‘Workstation’ and find any references and replace with Server.

Then ‘Compile’ and Save the installer.

You can then run the install and all should work!!! Did for me anyways.

Good luck.