Exception 500, Content,title,and excepts are empty

  • Author
    Posts
  • #1344621

    starshahid20
    Member

    I already posted this question at github and had been responded but after a huge amount of effort i am making stupidous mistakes in the code but where that is the question i don’t know! Can somebody look into my code and please let me know where is the blockage?
    Here is my code:
    try
    {

    wrapper = new WordPressWrapper(this.BlogAddressNew, this.Username, this.Password);
    post = new Post();
    this.PostID = int.Parse(this.postid_fld.Text.ToString());
    post.PostID = this.PostID;
    this.Title = this.Title_fld.Text.ToString();
    post.Title = this.Title;
    post.Tags = new String[] {this.tags_fld.Text };
    post.Categories = new String[] { this.cats_fld.Text };
    this.TextToEdit = this.richTextBox1.Text.ToString();
    post.Body = this.TextToEdit;
    MessageBox.Show(post.PostID + post.Body);
    bool postEdited = wrapper.EditPost(post.PostID, post, true);
    if (postEdited == true)
    {
    MessageBox.Show("Post has been edited successfully!");
    wordpressBrowser.webBrowser.Navigate(this.BlogAddressNew);
    }
    else
    MessageBox.Show("Post has not been edited successfully!");
    }
    catch (Exception ex)
    {
    MessageBox.Show(ex.Message.ToString());
    }

    The blog I need help with is starshahid20.wordpress.com.

    #1344835

    jackiedana
    Member

    Hi there,

    You’ve reached the support forums for WordPress sites hosted on WordPress.com. The issue you are discussing is with our self-hosted version of WordPress, available on WordPress.org.

    For the differences, please see:
    http://en.support.wordpress.com/com-vs-org/

    You may wish to repost your issue on the WordPress.org forums:
    http://wordpress.org/support/

The topic ‘Exception 500, Content,title,and excepts are empty’ is closed to new replies.