Author |
Message |
manunkind
Client
![](modules/Forums/images/avatars/4720652b44af0a93765cf.jpg)
Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM
|
Posted:
Mon Dec 31, 2007 4:25 pm |
|
Is anybody else seeing that the main NukeSentinel admin page is now just displaying a blank page? All other non-NS admin pages are fine, it's just ABMain.
I tried the full install and the upgrade package, both the same. Is it just me?? ![Shocked](modules/Forums/images/smiles/icon_eek.gif) |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
Moderator
![](modules/Forums/images/avatars/4e3210db4efb891870d79.gif)
Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Mon Dec 31, 2007 5:50 pm |
|
No, I have also the same issue with 3 websites.
Turn error reporting on and post the fatal error or what your get.
I simple fixed this issues with replacing admin/modules/nukesentinel.php from 2.5.13
Happy New Year ! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
FireATST
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/1890b00a421a4615ecd23.jpg)
Joined: Jun 12, 2004
Posts: 654
Location: Ohio
|
Posted:
Mon Dec 31, 2007 7:30 pm |
|
2sites that I have upgraded aren't blank on the main page. Everything seems to work ok so far..... ![Confused](modules/Forums/images/smiles/icon_confused.gif) |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
manunkind
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Dec 31, 2007 8:35 pm |
|
Susann wrote: | No, I have also the same issue with 3 websites.
Turn error reporting on and post the fatal error or what your get.
I simple fixed this issues with replacing admin/modules/nukesentinel.php from 2.5.13
Happy New Year ! |
You are correct. I replaced that file with the old one from 2.5.14 and it works fine now. Thanks! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 01, 2008 10:01 am |
|
The question is why there is code used in nukesentinel.php witch doesn´t work for everbody flawless since version 2.5.14. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
manunkind
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 01, 2008 10:33 am |
|
Here's a partial screenshot of a Winmerge between the broken file (left) and the old 2.5.14 file (right):
http://www.pcsympathy.com/images/nserror.jpg
It looks like the only thing that changed in that file was the "phoning home" feature. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Brujo
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 04, 2004
Posts: 84
Location: Germany
|
Posted:
Sat Jan 05, 2008 7:56 am |
|
same for me, i got this error:
Fatal error: Call to undefined function socket_create() in /my/path/admin/modules/nukesentinel.php on line 22 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
BobMarion
Former Admin in Good Standing
![](modules/Forums/images/avatars/4a8223e348325d1641ec3.png)
Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Sat Jan 05, 2008 12:23 pm |
|
Not a true phone home, it checks to see if a newer version is out and lets you know in admin. 2.5.15 fixed a problem reported that it would hang when doing that check. BTW, it only checks for a newer version once a day but if it's hanging then it doesn't know it's already checked.
You can safely comment out that short section and I will recheck the coding as it works fine for me on all the sites I tested it on. |
_________________ Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
BobMarion
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 05, 2008 12:36 pm |
|
Need more info, on those that are having the problem I need to know what PHP version your server is running. If my reading is correct it is related to PHP version as to if the "socket_create" function exists. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Brujo
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 05, 2008 1:25 pm |
|
BobMarion wrote: | Need more info, on those that are having the problem I need to know what PHP version your server is running. If my reading is correct it is related to PHP version as to if the "socket_create" function exi
ists. |
PHP Version 5.2.4 with the Suhosin Patch 0.9.6.2
i am not sure, but it seems php has to be compiled with --enable-sockets to get the function working..
Brujo |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
manunkind
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 05, 2008 1:57 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kaain
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 22, 2006
Posts: 23
|
Posted:
Sun Jan 06, 2008 7:07 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Jan 06, 2008 10:36 am |
|
Try this:
Edit admin/modules//nukesentinel.php
Change line 22
FROM
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
TO
$socket = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
Change line 26
FROM
$result = socket_connect($socket, "209.62.115.130", 80);
TO
$result = @socket_connect($socket, "209.62.115.130", 80); |
Last edited by Raven on Sun Jan 06, 2008 5:12 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 4:59 pm |
|
You meant line 22 and 26 in admin/modules/nukesentinel.php
Got a blank page. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 5:13 pm |
|
Susann wrote: | You meant line 22 and 26 in admin/modules/nukesentinel.php
Got a blank page. |
Thanks - yes I did
Is there any message in your log? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 5:17 pm |
|
You might also try changing
socket_strerror(socket_last_error($socket))
to
@socket_strerror(socket_last_error($socket)) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 5:17 pm |
|
Nothing error_reporting is set to E_ALL; |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 5:21 pm |
|
If none of these suggestions work then you will need to just comment out that block until a fix is issued. I have proposed a couple in Mantis and we'll wait to see what Bob decides on. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 5:50 pm |
|
I uploaded a fresh modified nukesentinel.php .Still blank page. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 06, 2008 7:52 pm |
|
Just blank out lines 21-59. You don't need them for protection. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
warren-the-ape
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/5064660247507d6711183.jpg)
Joined: Nov 19, 2007
Posts: 196
Location: Netherlands
|
Posted:
Fri Jan 11, 2008 9:12 am |
|
Copy from: http://www.ravenphpscripts.com/posts14848.html
Raven wrote: | Of course it's a work-around It's for those that have hosts that are afraid to release the power that users should have. It's not an error or a bug in the code. It's an environmental issue. Since you don't need that code for NukeSentinel(tm) protection it's the easiest and the quickest way to "fix" it. Personally I would not wait. there are other issus addressed in the releas and we don't have any idea when 2.5.16 will be released. |
Thnx for the explanation
But what i ment to say was that im a bit paranoid for updates that break things instead of updates them
Well anyway, I just upgraded from 2.5.14 to 2.5.15 and had no problems at all, no blank screens or anything, so it was worth it after all
Edit: What exactly are the 'Admin GUI updates.' ? Or are they to small to mention? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 11, 2008 10:00 am |
|
GUI = Graphical User Interface - The administration screens. Unless there's a functional type change it won't (usually) be detailed. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 11, 2008 10:04 am |
|
Susann wrote: | I uploaded a fresh modified nukesentinel.php .Still blank page. |
Afaik, Bob is going to rewrite that section of code withe code that I gave him. Regardless, I'm pretty sure it will be rewritten w/o using sockets ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
warren-the-ape
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 11, 2008 10:06 am |
|
I know what GUI stands for, im an interaction designer myself
Just wondered what those changes were as i didnt noticed any differences at first sight but understand now.
btw, noticed that within the copyright popup it still says; 2000-2007, but looking at the release date there is something to say for it ![Razz](modules/Forums/images/smiles/icon_razz.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 11, 2008 10:17 am |
|
I had no doubt that you knew the acronym but not everyone does. That's why I did it . Thanks for the alert on the dates. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|