Page 1 of 1

LJ Update Error

Posted: Sun Dec 31, 2006 3:01 am
by mazel
Hi everybody
Happy New Year.

I have a some problem wit LJ Update Plugin

Whan I just try Serendipity in August-September I remtber - It work properly. After that I haven't time to install Clear FULL copy of Serendipity and use it. Today I start do that Install last FULL 1.1 and see that I cannot use this LiveJournal Plugin...

After I Installed it, first of all EDITOR in ADD NEW RECORD disapear
(it is just standart window without Editor) and in LJ OPTIONS block
I see ERROR message:


------------
LJ Update Options
Fatal error: Call to a member function on a non-object in /home2/synnegor/public_html/myblog/plugins/serendipity_event_ljupdate/serendipity_event_ljupdate.php on line 313
--------------

Tell me please what wrong?
May be since nihtgly version which I tryed at August something chage
and I have install something else before use this LJ UPDATE plugin or
the cause of this Error connect with changing in LJ script and I have to make something in my Livejournal account options?

Please tell me if you know
Thank You in advance


PS:
If I do not type www.livejournal.com in form of plugin
The Editor in ADD NEW RCORD working Properly
but Ofcourse plugin do not working

In LJ UPDATE form I see:

-----------
LJ Update Options ERROR 0: Success
--------------------------



!!!!!!!!!!!!!!!!!
PPS:

I just trying - I make cooment in script on this line 313 which cause this ERROR and script start working

BUT!!!!!!

What is it

What mean this line and who make script working without "comment" this line.... I believe that this is not right solving of this problem :-(

As I understand this Line connect with selectin USERPIC for post in LJ
But why it not working.

Hope somebody give me right answer

Re: LJ Update Error

Posted: Tue Jan 02, 2007 11:31 am
by garvinhicking
Hi!

If you get this error it usually means that the plugin could not send a valid connection to the livejournal site or a wrong URL/hostname was configured in the ljupdate plugin.

The line 313 throws an error if the return of the URL call is not an object, which would happen in case of connection problems.

Sadly I myself have no LJ account that I could easily test things... :-/

Regards,
Garvin

Re: LJ Update Error

Posted: Tue Jan 02, 2007 5:50 pm
by mazel
garvinhicking wrote:Hi!

If you get this error it usually means that the plugin could not send a valid connection to the livejournal site or a wrong URL/hostname was configured in the ljupdate plugin.

The line 313 throws an error if the return of the URL call is not an object, which would happen in case of connection problems.

Sadly I myself have no LJ account that I could easily test things... :-/

Regards,
Garvin

Thank You for answering.
As I tell - when I "commented" this line Plugins start to work properly,
but I cannot select PICTURES - really I use 1 and do not need select them - LJ use this one... but...




PS: You can startup any free account in LJ for 5 minutes