| Author |
Message |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sun Mar 09, 2008 1:12 pm |
|
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.  |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Sun Mar 09, 2008 1:40 pm |
|
That's checking to see if you have the current version. Is it every time you access the nukeFEED admin? |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sun Mar 09, 2008 1:45 pm |
|
Yes, I've tried a few times and I am still getting the same message. |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sun Mar 09, 2008 2:04 pm |
|
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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Sun Mar 09, 2008 3:47 pm |
|
Yes - that's the only purpose, to check if you have the latest version. |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Sun Mar 09, 2008 3:59 pm |
|
I'd definitely like to know what's blocked and why... |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sun Mar 09, 2008 4:36 pm |
|
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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Sun Mar 09, 2008 7:04 pm |
|
Great thanks. Maybe I need to check if xml rpc is available... |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Mon Mar 10, 2008 1:42 am |
|
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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Mon Mar 10, 2008 5:49 am |
|
Yes. It uses the , 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 Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Mon Mar 10, 2008 11:24 am |
|
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 Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Mon Mar 10, 2008 2:38 pm |
|
I've commented out lines 48-50 and that has let me access the admin area for nukeFEED.
Should you be able to view the version feed on your website by going to: ? |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Mon Mar 10, 2008 6:25 pm |
|
Not really, you must pass the correct parameters.
Edit: You can use the online 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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Mon Mar 10, 2008 8:03 pm |
|
Which version of PHP are you using? |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Mon Mar 10, 2008 8:28 pm |
|
There are problems with some versions of PHP (like earlier builds of 5.2.2). You might try the latest 2.2.1 version .
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):
 |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Tue Mar 11, 2008 1:21 am |
|
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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Tue Mar 11, 2008 3:56 am |
|
Strange - my test machine is running 5.2.2...and works with no problem. |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Tue Mar 11, 2008 3:20 pm |
|
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.
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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Tue Mar 11, 2008 3:41 pm |
|
Can you verify the contents of your nuke_seo_config table? |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Fri Mar 14, 2008 10:59 am |
|
Sorry kguske, I've only just seen this. I'll have a look when I get home tonight. |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Fri Mar 14, 2008 1:07 pm |
|
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 Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Fri Mar 14, 2008 3:20 pm |
|
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 Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sat Mar 15, 2008 3:47 pm |
|
Sorry I think I missed something which two fields? |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 5997
|
Posted:
Sat Mar 15, 2008 5:05 pm |
|
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 Site Admin

Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
|
Posted:
Sat Mar 15, 2008 5:11 pm |
|
Ah right, I'll have a look at that. I haven't updated anything so I am still running 1.1.0 |
|
|
|
 |
|
|
|
|