PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
jakec
Site Admin


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

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

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: 5997

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

That's checking to see if you have the current version. Is it every time you access the nukeFEED admin?
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Sun Mar 09, 2008 1:45 pm Reply with quote Back to top

Yes, I've tried a few times and I am still getting the same message.
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Sun Mar 09, 2008 2:04 pm Reply with quote Back to top

Could it be something my host is blocking?

Could I comment out that line, because it is basically stopping NukeFeed from going any further?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sun Mar 09, 2008 3:47 pm Reply with quote Back to top

Yes - that's the only purpose, to check if you have the latest version.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sun Mar 09, 2008 3:59 pm Reply with quote Back to top

I'd definitely like to know what's blocked and why...
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Sun Mar 09, 2008 4:36 pm Reply with quote Back to top

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.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sun Mar 09, 2008 7:04 pm Reply with quote Back to top

Great thanks. Maybe I need to check if xml rpc is available...
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Mon Mar 10, 2008 1:42 am Reply with quote Back to top

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.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Mon Mar 10, 2008 5:49 am Reply with quote Back to top

Yes. It uses the
Only registered users can see links on this board!
Get registered or login to the forums!
, 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.
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Mon Mar 10, 2008 11:24 am Reply with quote Back to top

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.
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Mon Mar 10, 2008 2:38 pm Reply with quote Back to top

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 to the forums!
?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Mon Mar 10, 2008 6:25 pm Reply with quote Back to top

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 the forums!
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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Mon Mar 10, 2008 8:03 pm Reply with quote Back to top

Which version of PHP are you using?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Mon Mar 10, 2008 8:28 pm Reply with quote Back to top

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 to the forums!
.

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
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Tue Mar 11, 2008 1:21 am Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Tue Mar 11, 2008 3:56 am Reply with quote Back to top

Strange - my test machine is running 5.2.2...and works with no problem.
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Tue Mar 11, 2008 3:20 pm Reply with quote Back to top

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.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Tue Mar 11, 2008 3:41 pm Reply with quote Back to top

Can you verify the contents of your nuke_seo_config table?
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Fri Mar 14, 2008 10:59 am Reply with quote Back to top

Sorry kguske, I've only just seen this. I'll have a look when I get home tonight.
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Fri Mar 14, 2008 1:07 pm Reply with quote Back to top

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?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Fri Mar 14, 2008 3:20 pm Reply with quote Back to top

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.
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Sat Mar 15, 2008 3:47 pm Reply with quote Back to top

Sorry I think I missed something which two fields?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sat Mar 15, 2008 5:05 pm Reply with quote Back to top

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?
View user's profile Send private message
jakec
Site Admin


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

PostPosted: Sat Mar 15, 2008 5:11 pm Reply with quote Back to top

Ah right, I'll have a look at that. I haven't updated anything so I am still running 1.1.0
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum