Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> nukeFeed/FeedCreator
Author Message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sun Mar 09, 2008 1:12 pm Reply with quote

This is a new install of RN 2.20.01 and I am getting the following fatal error:

Fatal error: Cannot use object of type xmlrpcresp as array in /......../........./........../modules/Feeds/admin/index.php on line 48

This is occurring when I click on the NukeFeed icon in the Admin CP.

I'm sure it's something simple and I am doing some research, but just in case someone else has had this problem I thought I would post and be the first to post in the new forum. Wink
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Mar 09, 2008 1:40 pm Reply with quote

That's checking to see if you have the current version. Is it every time you access the nukeFEED admin?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
jakec
PostPosted: Sun Mar 09, 2008 1:45 pm Reply with quote

Yes, I've tried a few times and I am still getting the same message.
 
jakec
PostPosted: Sun Mar 09, 2008 2:04 pm Reply with quote

Could it be something my host is blocking?

Could I comment out that line, because it is basically stopping NukeFeed from going any further?
 
kguske
PostPosted: Sun Mar 09, 2008 3:47 pm Reply with quote

Yes - that's the only purpose, to check if you have the latest version.
 
kguske
PostPosted: Sun Mar 09, 2008 3:59 pm Reply with quote

I'd definitely like to know what's blocked and why...
 
jakec
PostPosted: Sun Mar 09, 2008 4:36 pm Reply with quote

I'll try commenting that line out, but I've also posted a query with my host.

I'll let you know if I find anything out.
 
kguske
PostPosted: Sun Mar 09, 2008 7:04 pm Reply with quote

Great thanks. Maybe I need to check if xml rpc is available...
 
jakec
PostPosted: Mon Mar 10, 2008 1:42 am Reply with quote

Just to clarify exactly what that line is doing. I assume it is comparing the version I am running with an XML feed on your site?

Does it have to open any ports to do this?

I am going to triple check that everything has uploaded correctly as well.
 
kguske
PostPosted: Mon Mar 10, 2008 5:49 am Reply with quote

Yes. It uses the Only registered users can see links on this board! Get registered or login!, version 2.2 (2.2.1 is the latest). It should work with PHP 4 and 5, but may have issues with CURL (check with your host).

You can see in includes/nukeSEO/nukeSEOfunctions.php:
Code:
  function seoGetCurrentVersion ($p1, $debug=0) {

    require_once ('includes/xml rpc/xmlrpc.php');
    $client =& new xmlrpc_client('/version.php', 'nukeseo.com', 80);

The third argument is the port - port 80, a standard HTTP port.
 
jakec
PostPosted: Mon Mar 10, 2008 11:24 am Reply with quote

Hi kguske,

My host has replied with the following:

We run the very lastest secure versions of xml librays, in fact I ran an update last night. Curl is full supported on all our servers.

This could be a tricky one.
 
jakec
PostPosted: Mon Mar 10, 2008 2:38 pm Reply with quote

I've commented out lines 48-50 and that has let me access the admin area for nukeFEED. Very Happy

Should you be able to view the version feed on your website by going to: Only registered users can see links on this board! Get registered or login! ?
 
kguske
PostPosted: Mon Mar 10, 2008 6:25 pm Reply with quote

Not really, you must pass the correct parameters.

Edit: You can use the online Only registered users can see links on this board! Get registered or login! to view the current version online.

Specify:
Target server: nukeseo.com
Port: 80
Path: /version.php

Select "List Available Actions", then click Execute.

Click describe on "script.getCurrentVersion"

Click Load Method Synopsis

In the Payload text box, enter nukeFEED between the string tags like this:
Code:
<param><value><string>nukeFEED</string></value></param>


Then click Execute to see the response in XML


Last edited by kguske on Mon Mar 10, 2008 8:23 pm; edited 1 time in total 
kguske
PostPosted: Mon Mar 10, 2008 8:03 pm Reply with quote

Which version of PHP are you using?
 
kguske
PostPosted: Mon Mar 10, 2008 8:28 pm Reply with quote

There are problems with some versions of PHP (like earlier builds of 5.2.2). You might try the latest 2.2.1 version Only registered users can see links on this board! Get registered or login!.

Rename the library xml rpc.inc to xml rpc.php and replace the file in includes/xml rpc (I have to add spaces so Raven's Apache mods don't block the post).

By the way, here's what it should look like when there is a new version (it displays additional info in a popup about the latest version):
Image
 
jakec
PostPosted: Tue Mar 11, 2008 1:21 am Reply with quote

I am running PHP version 5.2.5.

I'll download the new XML library tonight and see if that fixes the problem.

Thanks for your help
 
kguske
PostPosted: Tue Mar 11, 2008 3:56 am Reply with quote

Strange - my test machine is running 5.2.2...and works with no problem.
 
jakec
PostPosted: Tue Mar 11, 2008 3:20 pm Reply with quote

Hmm, I uploaded the new xml rpc library and uncommented the lines and it was working. So I replaced the old xml rpc library and it is still working. Confused

The only i've noticed is that it is telling me that an upgrade is available, but when I look at the popup box it just says that an update is available and I don't get any of the other details, like in your image above.

Obviously it is good that it is now working, but a bit of a mystery.
 
kguske
PostPosted: Tue Mar 11, 2008 3:41 pm Reply with quote

Can you verify the contents of your nuke_seo_config table?
 
jakec
PostPosted: Fri Mar 14, 2008 10:59 am Reply with quote

Sorry kguske, I've only just seen this. I'll have a look when I get home tonight.
 
jakec
PostPosted: Fri Mar 14, 2008 1:07 pm Reply with quote

Edit Delete Feeds use_fb 1
Edit Delete Feeds feedburner_url http://feeds.feedburner.com
Edit Delete Feeds version_check 1205193600
Edit Delete Feeds version_newest 1.1.1
Edit Delete Feeds version_number 1.1.0
Edit Delete Feeds version_url http://nukeseo.com/modules.php?name=Downloads
Edit Delete Feeds version_notes
Edit Delete Feeds show_circgraph 1
Edit Delete Feeds show_feedcount 1
Edit Delete Feeds feedcount_body A6A6A6
Edit Delete Feeds feedcount_text 000000

Does this help?
 
kguske
PostPosted: Fri Mar 14, 2008 3:20 pm Reply with quote

Try renaming the nuke_seo_config table to something else, then go back to nukeFEED administration. It should recreate the table and work correctly (assuming you changed the two 255-character fields to 150 characters.
 
jakec
PostPosted: Sat Mar 15, 2008 3:47 pm Reply with quote

Sorry I think I missed something which two fields?
 
kguske
PostPosted: Sat Mar 15, 2008 5:05 pm Reply with quote

I thought your problem may have been the same as others - the creation of the nuke_seo_config table with 2 255-character index fields - but it appears to be different since your version number is 1.1.1. There is no information to be updated for that version. Did you manually update it?
 
jakec
PostPosted: Sat Mar 15, 2008 5:11 pm Reply with quote

Ah right, I'll have a look at that. I haven't updated anything so I am still running 1.1.0
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> nukeFeed/FeedCreator

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©