hublet (hublet) wrote in lj_clients,
hublet
hublet
lj_clients

Strange error from the API

Hi,

This is my first post here, and I was directed to this Community after the normal LJ support couldn't help me

Anyways, here's the error I'm getting:
Can't call method "quote" on an undefined value at /home/lj/cgi-bin/ljlib.pl line 6013, <GEN7> line 341.

Since my code doesn't include the word "quote", I'm wondering whether it's something completely on the LJ end

This happens almost randomly, but not very often - for example, I might post 50 correct entries, and then get one with this message

Here's an example of the API post I'm doing:
<?xml version="1.0"?>
<methodCall>
<methodName>LJ.XMLRPC.postevent</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>username</name>
<value><string>username</string></value>
</member>
<member>
<name>password</name>
<value><string>password</string></value>
</member>
<member>
<name>event</name>
<value><string>
This is the type of content I'm entering for a <b>New Entry</b> and it's breaking with the error message. <br /> <br /> I'm trying to post using a bespoke front end for a client so it posts to multiple blogs, including LiveJournal.<br /><br />

<a href="http://www.mydomain.com/mypage.html" target="_blank">New Entry</a></string></value>
</member>
<member>
<name>subject</name>
<value><string><a href="http://www.mydomain.com/mypage.html" target="_blank">New Entry</a></string></value>
</member>
<member>
<name>lineendings</name>
<value><string>pc</string></value>
</member>
<member>
<name>year</name>
<value><int>2005</int></value>
</member>
<member>
<name>mon</name>
<value><int>5</int></value>
</member>
<member>
<name>day</name>
<value><int>10</int></value>
</member>
<member>
<name>hour</name>
<value><int>9</int></value>
</member>
<member>
<name>min</name>
<value><int>0</int></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>

If anybody can point me in the right direction, it'd be MUCH appreciated
Subscribe

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 6 comments