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
j4rdin
Worker
Worker


Joined: May 26, 2006
Posts: 153
Location: West Sussex - UK

PostPosted: Sun Feb 22, 2009 8:26 am Reply with quote

I have just updated for RN2.02.01 to RN2.30.01 not to many problems so far. But NukeFEED now produces an error 500 when you click on the Admin Control Panel NukeFEED button. Apart for that NukeFeed seems to be working still.
-----------------------------------------------------------------------------------
Internal Server Error
Hint: Check the .htaccess file for syntax/configuration errors

Refered From : Only registered users can see links on this board! Get registered or login!
Your IP : 87.114.226.5
Page Requested : /brzjcphp/admin.php?op=nukeFEED
Agent : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)
Redirect Status : 500
---------------------------------------------------------------------------------

I have the site switch off in Nukesentinel, but have tried switching site switch to on, but no change, same error as above.



John
 
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1692
Location: Texas, USA

PostPosted: Sun Feb 22, 2009 11:27 am Reply with quote

500 errors are usually some kind of htaccess error, might look there see if all is ok.
 
View user's profile Send private message Visit poster's website
j4rdin
PostPosted: Sun Feb 22, 2009 5:17 pm Reply with quote

The errors have been generated from both my main site and another which is set up in a subdirectory. The main site is the only one which has been updated to RN2.20.01 so far.

as far as I can see from the up grade instructions there shouldn't be anything else to do to upgrade NukeFEED from RN2.20.01 as it is now a core component.

Could it be a fault with the short Links in the htaccess file. as it worked fine in both sites before the up grade.
 
j4rdin
PostPosted: Tue Feb 24, 2009 5:03 pm Reply with quote

Ok think I have found the problem. It is caused by NukeFEED trying to check for updates and timing out.

There is a setting in rnconfig.php which isn't documented in the code see below:-

/*********************************************************************************
* For nukeFEED(tm) - Some sites may use non-UTF-8 databases created with multi-byte
* languages. If you see strange characters when view a feed preview on the block,
* preview page or auto-discovery links, you may disable UTF-8 encoding by
* setting nf_CONVERTENCODING to false
**********************************************************************************/
define('nf_CONVERTENCODING', false);
define('nf_ENABLEUPDATECHECK', false);

/*********************************************************************************
* Pagination Control:
* Currently only implemented for the News module, but could possibly be added
* elsewhere in future releases.
*


Set the define('nf_ENABLEUPDATECHECK', true); variable to false to switch off checking. You can then get into the NukeFEED Admin panel.

I think this has been mentioned before but can't remember where.

John Evil or Very Mad
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Tue Feb 24, 2009 5:09 pm Reply with quote

Hmmm. KGuske will need to jump in here and he will Smile. I was not aware of undocumented settings because I am not using it presently because I'm too busy developing killing me

Kevin will get back to you. Thanks!
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Tue Feb 24, 2009 6:09 pm Reply with quote

Yes, we added that ENABLEUPDATECHECK definition to address unusual situations like this where the XML RPC library doesn't work.

Please send a PM or email with a print out of your PHP configuration, which you can get from PHP info in your forums admin, or upload and run the Only registered users can see links on this board! Get registered or login!(tm) script.

_________________
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
j4rdin
PostPosted: Wed Feb 25, 2009 12:03 pm Reply with quote

kguske wrote:
Yes, we added that ENABLEUPDATECHECK definition to address unusual situations like this where the XML RPC library doesn't work.

Please send a PM or email with a print out of your PHP configuration, which you can get from PHP info in your forums admin, or upload and run the Only registered users can see links on this board! Get registered or login!(tm) script.


Have tried a PM just get an error. Looks like the xmlrpc_errors is set to OFF on the server and xmlrpc_error_number=0.

In the RN2.30.01 Prepare/Install Help File there is an etery that reads "nf_ENABLEUPDATECHECK for nukeFEED - This needs an explanation..."

Have also just found this link for similar problem Only registered users can see links on this board! Get registered or login!

John
 
kguske
PostPosted: Wed Feb 25, 2009 4:41 pm Reply with quote

Confused - did you set that to false? If so, you should be able to maintain your feeds properly.
 
j4rdin
PostPosted: Thu Feb 26, 2009 2:36 pm Reply with quote

kguske wrote:
Confused - did you set that to false? If so, you should be able to maintain your feeds properly.


Yes and and I can now get to the Admin Panel, thing was that I couldn't remember what I couldn't get to, if you follow me.

I have just had a reply from my host as follows:-

You mention the error is caused by a function that checks for updates, have you requested a firewall exception rule for the update server? By default outgoing connections are blocked unless you request a firewall rule.

I think they restrict outgoing calls by scripts to other websites for security. Is it a case of just getting them to allow calls to the updates page?

John
 
j4rdin
PostPosted: Sun Mar 01, 2009 5:21 am Reply with quote

j4rdin wrote:

By default outgoing connections are blocked unless you request a firewall rule.

I think they restrict outgoing calls by scripts to other websites for security. Is it a case of just getting them to allow calls to the updates page?

John


Have just got the host to change the firewall rules to allow me a connection to nukeseo.com and I have changed the setting back to checking for nukeFEEDS update in rnconfig.php as follows.

define('nf_ENABLEUPDATECHECK', true);

All now works as it should in the nukeFEED admin panel. If you can't get your host to allow a connection to the nukeseo.com website then you will need to change the above to:-

define('nf_ENABLEUPDATECHECK', false);

Hope this helps.

John
 
kguske
PostPosted: Sun Mar 01, 2009 8:38 am Reply with quote

Thanks.
 
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 ©