WordPress.org

Ready to get started?Download WordPress

Forums

LivePress 1.5.1 issue (30 posts)

  1. trench
    Member
    Posted 9 years ago #

    I had Livepress working fine in 1.5 but after upgrading to 1.5.1 I get the following error.

    Fatal error: Unknown function: get_currentuserinfo() in /home3/trench/public_html/wp-content/plugins/LivePress/lpextras.php on line 93

    I am mostly php illiterate so if somebody could help me I'd be grateful.

  2. emt036
    Member
    Posted 9 years ago #

    1.5.1 moved the get_currentuserinfo function to a different file, so LivePress doesn't know where to find it. They are not compatible as is, so I've had to hold off upgrading WordPress until Livepress is updated to be compatible.

  3. Kafkaesqui

    Posted 9 years ago #

    LivePress has a similar issue as a plugin of my own, so I duplicated the change from mine to two files (lpsynch.php and lpextras.php) that should fix this particular error:

    http://guff.szub.net/downloads/livepress-1.5.1-fix.zip

    Note that I don't use LiveJournal so can't test this, but the mod is quite minor and doesn't affect the rest of the plugin's workings.

  4. trench
    Member
    Posted 9 years ago #

    Now I'm getting the error message...

    Warning: array_values(): The argument should be an array in /home3/trench/public_html/wp-content/plugins/LivePress/lpextras.php on line 130

  5. emt036
    Member
    Posted 9 years ago #

    Thanks Kaf - My posting page is loading... The only problem is that after the "LJ Extras" title, the usual menu is missing. Anyone have any luck with this?

  6. jennmiller
    Member
    Posted 9 years ago #

    I used the method posted by theglobalguy in the original Upgrade thread:

    I just fixed it another route by copying the function get_currentuserinfo() and get_userdatabylogin() from pluggable-functions.php to functions.php.

    Works perfectly for me.

  7. vigilant20
    Member
    Posted 9 years ago #

    That fixed it. Thanks for posting it here Jenn!

  8. Fortes
    Member
    Posted 9 years ago #

    1.5.1 broke a few plugins (including mine) which depend upon the functions declared in pluggable-functions.php. Here are the instructions for developers affected by this change: http://fortes.com/2005/05/14/updating-wordpress-plugins-for-151

  9. emt036
    Member
    Posted 9 years ago #

    Worked for me, thanks!

  10. BigCat
    Member
    Posted 9 years ago #

    I've tried the fix file and unfortunately I'm still not synching w/ LJ.

    Right now Everything looks fine, LJ-cuts and user tags work, and my mood and music are showing up on my site, but I hit update, and my site updates, but LJ doesn't.

    Does anyone know how to see errors outputed by livejournal?? Currently wordpress just gives me a "site updated" message and appears back a post screen.

    I had it working before the upgrade to 1.5.1

    Any help would be greatly appreciated....this is a great plugin, and I miss it right now.

  11. emt036
    Member
    Posted 9 years ago #

    If there is a LivePress error, it generally outputs to a custom field (unt_lp_error, I think). On the post edit screen, scroll to the bottom and see if you see any errors in the custom fields.

  12. BigCat
    Member
    Posted 9 years ago #

    Thanks for the feedback.

    But, I have no unt_lp_error, or any other custom field resembling an error.

    For reference my blog is at
    http://bigcat.chaosnet.org/wp/
    and my LJ username is BigCat2k

  13. nikkiana
    Member
    Posted 9 years ago #

    Someone took pity on me in #wordpress and fixed LivePress so it works in 1.5.1. You can get it here: http://www.everytomorrow.org/LivePress-1.5.1.zip. I can't really support it since I didn't write it (and the guy who helped fix it doesn't really want to support it either) however, he did give me the okay to release it... and I have tested, so it works. Enjoy.

  14. Jennifer Ledbetter Clay
    Member
    Posted 9 years ago #

    Thanks Nikki!! I can't wait to get this working again!

    *hugs*

  15. BigCat
    Member
    Posted 9 years ago #

    yeah, thanks a lot...I see how the author managed to fix this.

    Unfortunately for me, I still can't seem to get it to work.

    Everything seems to look OK, and the post seems to publish, but when it returns, it comes back without the field unt_lj_entry filled in.

    I'm confused about this, and it is driving me crazy....Any help anyone can give me would be greatly appreciated.

  16. trench
    Member
    Posted 9 years ago #

    I'm still getting errors too.

  17. BigCat
    Member
    Posted 9 years ago #

    Now, I've had a little time to try out several different solutions including nikkiana's, and I've had no luck.

    The oddest part of this is that I get no error messages returned, but I also do not have the unt_lj_entry custom field shown as used, and in the field that the plug-in added called "Livejournal Entry: " it is blank after I save and publish the entry.

    I'm pretty much lost here if I can't even get an error message to start debugging, so I'm wondering if anyone has any ideas at all where to start looking after I've double and tripple checked my configuration for synching?

  18. marohi
    Member
    Posted 9 years ago #

    I've been trying to get it working on my sister's and my sites. I've tried the versions nikkiana and Kafkaesqui posted, but it still doesn't work. Right now I'm sitting on the version I downloaded from nikkiana's site. I've tried moving the folder every which way, I've tried editing files, I've checked and doublechecked my settings in ljsynch.config -- nothing works.

    Actually, I shouldn't say that. I briefly had it looking like it might want to work. I had some of the drop down menus showing, surrounded by errors in various lines of ljextras.php. It wouldn't post to my LJ, but it at least looked partially alive.

    Now it won't even show those or even the unt_lj_entry error and I can't seem to duplicate whatever I did that suddenly caused it to show everything again.

    Only thing that does work right now is the mood plugin, which just gives me a faster way to set my mood than my custom mood button in the Quicktags. =P

    Site: http://jasson.lunaescence.com
    LJ: http://livejournal.com/~marohi

    EDIT: I gave up and started getting ready for class, so I changed my lj password inside ljsynch.config to some meaningless garbage. Suddenly, I have this: http://jasson.lunaescence.com/img/huh.png

    Any ideas?

  19. marohi
    Member
    Posted 9 years ago #

    Nevermind, it suddenly decided to work for me once I changed my password back. =P

  20. unteins
    Member
    Posted 9 years ago #

    I will upgrade my main blog and fix Live Press.....

    Sorry for the delay, I have been trying to get my blogs in order before doing it, but looks like it is tiem to get to work.

  21. gonzonia
    Member
    Posted 9 years ago #

    Hurry! I'm going nuts! I had it almost working without the 1.5.1 version with just the 1.5-fix...it looked good..had the menus, etc... but then didn't actually update LJ

  22. gonzonia
    Member
    Posted 9 years ago #

    I somehow got it working (don't ask me how since I'm not sure) but it only works with one LJ. If I add an additional LJ I get an error in
    array_combine()

  23. rbeukema
    Member
    Posted 9 years ago #

    I did this, and now it just times out but it seems to be doing a bit more:

    Add to LivePress.php

    include($_SERVER['DOCUMENT_ROOT']."/wp-includes/pluggable-functions.php");

    require_once($_SERVER['DOCUMENT_ROOT']."/wp-content/LivePress/LivePress.config.php");

    and do that $_server.... for all the entries

  24. withinwithout
    Member
    Posted 9 years ago #

    I want to try the suggestion that Jenn made of copying the functions from pluggable-function.php to functions.php but I don't know how much of the code to copy....

    Can anyone show exactly what should be put into the functions.php file and where?

  25. withinwithout
    Member
    Posted 9 years ago #

    Has anyone gotten this to work recently? I haven't. :(

    Any chance for an updated plugin anytime soon?

  26. ebby
    Member
    Posted 9 years ago #

    I got livepress working on my site yesterday - I'd been making one little error that screwed everything up: when I moved the LivePress folder to wp-content, I didn't update the file paths properly in livepress.php in the plugins folder. *duh idiot boy*

    anyways, now I have a question. My Blog uses the UTF-8 character encoding, whereas I think my LJ uses ISO and doesn't like international characters when I change it.. . thus I get lots of strange characters every time LivePress sends a post to LJ. even an apostraphy is converted to gibberish. any idea what I should do?

  27. neils
    Member
    Posted 9 years ago #

    I got it working using the updated file

    check out the post on my blog for the step by step

  28. Carrie
    Member
    Posted 9 years ago #

    I have been trying to get LivePress to work for over a year now. I couldnt get it to work in 1.2 either :( I'm now on 1.5.1. I've tried the instructions here :

    http://wordpress.org/support/topic/24727

    I've tried downloading the hacked version here :

    http://www.everytomorrow.org/archives/2005/05/19/livepress-for-151

    And installing fresh. My ljsynch.config.php has my lj info in it, the class-IXR.php is in my wp-includes folder (overwrote the old one), my paths in LivePress.php are updated.

    And still, on my post page, I'm getting a string of errors in the lj section.

    Warning: array_values(): The argument should be an array in /home/u3/indigohat/html/blog/wp/wp-content/LivePress/lpextras.php on line 130

    Warning: reset(): Passed variable is not an array or object in /home/u3/indigohat/html/blog/wp/wp-content/LivePress/lpextras.php on line 23
    User Pic: Security Level:

    Synch Journal: Journal to Post to:
    Warning: array_values(): The argument should be an array in /home/u3/indigohat/html/blog/wp/wp-content/LivePress/lpextras.php on line 177

    Warning: reset(): Passed variable is not an array or object in /home/u3/indigohat/html/blog/wp/wp-content/LivePress/lpextras.php on line 23

    I even tried removing the call to pextras altogether and using custom fields only - but the post never goes to livejournal so something has to be screwy somewhere. I know it's got to be something stupid I'm overlooking. Any ideas would be greatly appreciated.

  29. Carrie
    Member
    Posted 9 years ago #

    Ah hah! With enough digging, I found two requires.. one in lpextras.php and one in lpsynch.php for class-IXR.php. Because my plugin files are not where the plugin originally intended, those paths have to be updated to reflect the actual location of class-IXR.php. So find the line that says :

    require_once('../wp-includes/class-IXR.php');

    and change it to reflect the actual path. That gets rid of the errors on the post page in my previous post.

    HOWEVER, although with all of that done, and the plugin appears to be functioning, I'm getting :

    -32300 : transport error - could not open socket

    in the unt_lj_error custom field. What the heck does that mean and how do I fix it.. any ideas?

  30. lilarmywifey
    Member
    Posted 9 years ago #

    I got it working with the download from
    http://www.everytomorrow.org/archives/2005/05/19/livepress-for-151

    BUT now I'm having trouble getting it to move the mood/music above the entry, and I'm trying to figure out how to use a mood icon set other than the yellow smiley. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic