Haloperidol / ljxp

Automatically exported from code.google.com/p/ljxp
0 stars 0 forks source link

200 client error: missing required arguement(s) #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Wordpress 2.1
2. Latest LJXP
3. Activate Plugin
4. Go to Options -> LiveJournal
5. fill in info, submit

What is the expected output? What do you see instead?
-OK
-"Warning: Cannot modify header information - headers already sent by (output 
started at /.../
wp-admin/admin-header.php:16) in ../wp-includes/functions.php on line 1219"
Something went wrong - 200 : Client error: Missing required argument(s)

Please provide any additional information below.

I've removed extra spaces in both files, but to no avail.  I've had soo many 
problems with WP 2.1 
that I'm not sure it's worth me staying on...

Original issue reported on code.google.com by macaddic...@gmail.com on 9 Feb 2007 at 3:59

GoogleCodeExporter commented 8 years ago
I wouldn't worry about the "Cannot modify header" error - that's just a 
consequence of the client error. Can you 
e-mail me the details of your configuration (i.e. all your settings except the 
password)?

Original comment by evan.broder@gmail.com on 9 Feb 2007 at 7:28

GoogleCodeExporter commented 8 years ago
I'm not sure how to grab the configuration data.  Could you email me a how to?
macaddict89 (at) gmail dot com

thanks

Original comment by macaddic...@gmail.com on 12 Feb 2007 at 4:37

GoogleCodeExporter commented 8 years ago
Basically, I just want to know what you entered for all the plugin options.

Original comment by evan.broder@gmail.com on 13 Feb 2007 at 6:00

GoogleCodeExporter commented 8 years ago
I get the same problem - well, I just get the "Something went wrong - 200 : 
Client
error: Missing required argument(s)" details.

I left all the plugin options on their default, aside from entering the username
(wonder_electric) and my password. 

Running WP2.1
LiveJournal-compliant host: www.livejournal.com
LJ Username: wonder_electric
LJ Password: (contains letters, numbers and a '_')
Crosspost header/footer location: Top of post
Set blog name for crosspost header/footer: Use the title of your blog (wonderful
electric)
No custom blog title or header/footer
Privacy level for all posts to LJ: Public
Should comments be allowed on LiveJournal?: Require users to comment on 
WordPress
Tag entries on LJ: Tag LiveJournal entries with WordPress categories
How should LJXP handle More tags?: Link back to WordPress
All categories to be crossposted:
# adayinthelife
# Being British-Chinese
# Blogroll
# Current Affairs
# Dating
    * Sex
# Friends I want to meet
# Funny
# Life
# Me me me me me
    * My badges
# Media Musings
    * Books
    * Comedy
    * Films
    * Games
    * Music
    * Music Videos
    * Pop Culture
    * Television
# Online life
    * Blogging
    * Quizzes and Tests
    * Weird Search Requests
# Oy vey!
# Technology
# Wales
    * Cardiff
# Weird
# Work
# Zeitgeist

Dunno if this helps but I used to have LJXP working, so I know just how great 
it is!
Hope you can help fix my problem!

Thanks!

Original comment by achw...@gmail.com on 13 Feb 2007 at 7:23

GoogleCodeExporter commented 8 years ago
I think the only thing I changed was allowing people to comment on LiveJournal 
or Worpress, otherwise it was 
just my login info for Livejournal.

Original comment by macaddic...@gmail.com on 15 Feb 2007 at 5:29

GoogleCodeExporter commented 8 years ago
Try this - open up the ljxp source file and go to line 533, where it says
<code>
$client = new IXR_Client($host, '/interface/xmlrpc');
</code>

And add the following line right after that:
<code>
$client->debug = true;
</code>

It should print out a lot of junk the next time you try to do anything that 
will invoke the plugin, so try 
reposting one of your posts or something like that.

Then e-mail the output to me - ljxp@ebroder.net

Original comment by evan.broder@gmail.com on 18 Feb 2007 at 7:13

GoogleCodeExporter commented 8 years ago
I 've added the code to the plugin, but there's no plethora of words bestowed 
upon me.

Original comment by macaddic...@gmail.com on 25 Feb 2007 at 1:01

GoogleCodeExporter commented 8 years ago
Yes, I'm having the same error. I'm sorry I didn't notice the client error 
below the 
header error before. I have tried to add the debugging as well, but also get no 
debugging information printed to screen. I checked my db, it hasn't created the 
entries. 

Original comment by fuk...@gmail.com on 3 Apr 2007 at 4:15

GoogleCodeExporter commented 8 years ago
I had the same problem when I installed WP 2.1.3 for a new blog. On the new 
blog, I couldn't get LJXP to work. 
Instead, I got the— Something went wrong - 200 : Client error: Missing 
required argument(s) error every time 
I went to the LJXP options panel and tried to enter my LJ user data for the 
first time. 

Around the same time, I'd also upgraded another blog from WP 2.0.x and 
installed the newest version of LJXP. 
The plugin for the updated blog worked perfectly fine. 

So the only difference was that one was a fresh install and the other was an 
update. On the fresh-install blog, 
I could go to the LJXP options page and click "save options" at the bottom and 
not get an error—but ONLY if I 
didn't fill in the username and password. If I filled in those two blank lines 
and tried to save, I'd get the 200 
error. So I figured it had something to do with the username and password.

Did a google search and found an exchange here 
http://ebroder.net/livejournal-crossposter/discussion-
archive-3/ between a commenter and the developer about a database problem and 
having to restore a 
database through a backup file. 

I deactivated the LJ plugin.

Using phpMyAdmin for the new blog, I checked in my  wp_options database for the 
values for ljxp_username 
and ljxp_password. The values for both were blank. I edited the db to add my 
username and password 
through the db editor and saved the edits.

Then I went back to my wordpress plugins page and activated the ljxp plugin. 
Then I went to the ljxp options 
page and instead of a blank box next to LJ Username, my username now appeared. 
Cool. So then I re-entered 
my password so it could get the proper encoding and hit 'save options' at the 
bottom of the page.

No error message! Options saved. 

Did a test post on WP and checked LJ to see if it worked. The post properly 
crossed over to LJ. 

I'm not sure if that's a help to anyone, but I hope it is. 

Original comment by jtaylorn...@gmail.com on 22 Apr 2007 at 6:29

GoogleCodeExporter commented 8 years ago
Wow, the solution for #9 from jtaylornovak worked for me :)

Original comment by achw...@gmail.com on 30 Apr 2007 at 3:21

GoogleCodeExporter commented 8 years ago
Ok... jtaylornovak, could you look in phpMyAdmin and see if there's anything 
special about the ljxp_username 
field?

It sounds like something weird is happening between the options form and the 
database, but I'm not sure what it 
is.

Original comment by evan.broder@gmail.com on 30 Apr 2007 at 3:31

GoogleCodeExporter commented 8 years ago
And I'll third that jtaylornovak's solution worked for me as well.

Original comment by fredo...@gmail.com on 16 May 2007 at 7:06

GoogleCodeExporter commented 8 years ago
The fix works, but it's not a solution - you should find that you get an error 
if you edit an old post.

Original comment by evan.broder@gmail.com on 16 May 2007 at 7:31

GoogleCodeExporter commented 8 years ago
Fourth-ing it.

Using wp 2.2 - the only thing I did was enter the username & password as 
characters.
   Then I reactivated the plugin, set my options, and cleared the password field,
then saved the options.  

I did not get any error when editing older posts.

Original comment by threnn...@gmail.com on 18 Jun 2007 at 7:04

GoogleCodeExporter commented 8 years ago
I am not sure if I'm a little bit of idiot when it comes to databases but I 
can't
seem to find ljxp_username and ljxp_password in my wp_options. I tried to use 
search
and it's not there. I tried browse and it's not there. i tried adding it but it
doesn't seem to work. I recently upgraded to 2.2 so I'm a little bit confused 
here. ;A; 

Original comment by khurs...@gmail.com on 26 Jun 2007 at 1:43

GoogleCodeExporter commented 8 years ago
I'm on WP 2.2 as well. I also got the 200 error. And I tried to do 
jtaylornovak's
fix, but ljxp_username or ljxp_password can be found in the database...

Original comment by morbi...@gmail.com on 17 Jul 2007 at 8:44

GoogleCodeExporter commented 8 years ago
Sorry, I meant ljxp_username or ljxp_password CAN'T be found in the database...

Original comment by morbi...@gmail.com on 17 Jul 2007 at 8:45

GoogleCodeExporter commented 8 years ago
Guys, it doesn't work for me. I get a "Something went wrong - 200 : Client 
error: 
Missing required argument(s)" even if I only press "Update options".

This bug kills me as lots of people used to read my posts on their LJ friends 
page. 
It worked great on 2.0.4, then I upgraded to 2.1.2 and everythng died. I've 
tried 
going back to 2.0.4, but this doesn't help. It seems like something is wrong 
with 
the database.

Original comment by silenceo...@gmail.com on 28 Aug 2007 at 7:27

GoogleCodeExporter commented 8 years ago
jtaylornovak's suggestion worked perfectly. I was frustrated when I upgraded WP 
and
wasn't able to use my favorite plugin. Using phpMyAdmin, I was able to update 
the
database with my name and password and it works perfectly again!

Original comment by carrie...@gmail.com on 26 Sep 2007 at 1:21

GoogleCodeExporter commented 8 years ago
I'm able to fix this but manually generating my MD5 hash for my password.  All 
the
other info was taken but the password for whatever reason is being hashed wrong 
by
the Plugin.

I used this generator and it worked on my MD5 generation.
http://gtools.org/tool/md5-hash-generator/

Original comment by dangar...@gmail.com on 29 Sep 2007 at 7:26

GoogleCodeExporter commented 8 years ago
A mix of #9 and #20 worked for me. =D

Original comment by destruct...@gmail.com on 3 Nov 2007 at 8:01

GoogleCodeExporter commented 8 years ago
Just updated to 2.5. Got the "fatal error" when installing it.  Got that fixed, 
but
now that it's up and activated I'm getting the above "200 Client Error" when 
trying
to give it my user ID and password, etc.
I have no idea how to accomplish workaround number 9 above, so I am hoping that 
more
guidance or a repair is available.

Original comment by willm...@gmail.com on 10 Apr 2008 at 11:39

GoogleCodeExporter commented 8 years ago

Original comment by cornelio...@gmail.com on 29 Apr 2008 at 10:09