View previous topic :: View next topic |
Good script? |
Yes |
|
91% |
[ 11 ] |
No |
|
8% |
[ 1 ] |
|
Total Votes : 12 |
|
Author |
Message |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Nov 29, 2005 9:24 pm Post subject: |
|
|
this one is 100% n00b friendly ;-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
|
SillyNoodlz -
Joined: 18 Oct 2005 Posts: 40 Location: France
|
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Nov 30, 2005 12:35 am Post subject: |
|
|
Edit the config.php and change some of the "take a while to load" options to 0. The main culprits are cpu, windows version, cpu type, operating system and reverse DNS. The rest are almost instant.
This can't be helped unfortunately. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
Posted: Thu Dec 01, 2005 3:52 pm Post subject: |
|
|
hrmmmm well i've just downloaded this beta version but erm it don't seem to work properly for me.. with what i'm seeing it shows:
AbyssUnderground.co.uk - Server Status Script V2
--------------------------------------------------------------------------------
This page may take a while to load. Please be patient...
--------------------------------------------------------------------------------
System Information:
--------------------------------------------------------------------------------
Date/Time: 02:49:33 PM, Thursday 01st of December 2005
Uptime: 4 days, 0 hours, 36 mins, 26 secs
CPU Usage:
and thats it!! i've not edited it either..
http://www.jibba-jabba.net/beta/beta10/index.php _________________ http://www.jibba-jabba.net | http://www.mosthauntedforum.com |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Dec 01, 2005 3:59 pm Post subject: |
|
|
You have to give it a chance to load. If the CPU Usage doesnt show anything and it stops there, then turn off CPU Usage and try it again. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
Posted: Thu Dec 01, 2005 5:53 pm Post subject: |
|
|
i put debugging mode on and theres a error with cpu.php
CPU Usage:
Fatal error: Call to undefined method variant::Next() in C:\Program Files\Netserver\www\beta\beta10\cpu.php on line 17 _________________ http://www.jibba-jabba.net | http://www.mosthauntedforum.com |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Dec 02, 2005 2:59 pm Post subject: |
|
|
Ah, ok. You have php5 not php4.
In cpu.php, change:
Quote: | while ($cpu = $cpus->Next()) {
//foreach ($cpus as $cpu) { |
for
Quote: | //while ($cpu = $cpus->Next()) {
foreach ($cpus as $cpu) { |
I will add the option in config.php so editing the file is not needed, in the next version. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Dec 02, 2005 5:56 pm Post subject: |
|
|
Ive just fixed the above bug. Please use the link in the top post to download a newer version. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
Posted: Fri Dec 02, 2005 11:25 pm Post subject: |
|
|
ok i downloaded new version and its alot better.. still had to change cpu-speed.php and in drives: c.php i get these errors
Drive C:
Warning: Division by zero in C:\Program Files\Netserver\www\beta\beta10\drives\c.php on line 16
Warning: Division by zero in C:\Program Files\Netserver\www\beta\beta10\drives\c.php on line 17
$DRIVEused2=$DRIVEused / $DRIVEdevision;
$DRIVEfree2=$DRIVEfree / $DRIVEdevision;
now if i remove the 2 /
and put in - like below
$DRIVEused2=$DRIVEused - $DRIVEdevision;
$DRIVEfree2=$DRIVEfree - $DRIVEdevision;
then the 2 warnings go away.. not sure why this script hates my comp so much lol :/ _________________ http://www.jibba-jabba.net | http://www.mosthauntedforum.com |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Dec 02, 2005 11:28 pm Post subject: |
|
|
Dont worry, I know about these errors. Thats why phperrors is set to 0 for normal operation. It removes these errors which are caused for some unknown reason that I'm yet to look into.
Just use it with phperrors set to 0 and you will be fine. Its not your computer, its my script causing it ;-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
Posted: Fri Dec 02, 2005 11:37 pm Post subject: |
|
|
oh ok and stupid me for forgetting i set debug mode on :-/ oh well it is a beta and theres gonna be some problems :) i really shouldnt mess about with scripts when i've only had 3 hours sleep.. _________________ http://www.jibba-jabba.net | http://www.mosthauntedforum.com |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Dec 03, 2005 12:14 am Post subject: |
|
|
jibbajabba wrote: | oh ok and stupid me for forgetting i set debug mode on :-/ oh well it is a beta and theres gonna be some problems :) i really shouldnt mess about with scripts when i've only had 3 hours sleep.. |
Probably not a good idea, no... ;-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 04, 2005 12:10 am Post subject: |
|
|
UPDATE:
Just spent the last 3 hours trying to get the auto service status working. So far I have succeeded in getting PHP, ASP, MySQL and FTP working.
Python and Perl are still to come. Having problems with it.
No release is available yet. Will update post where there is. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Dec 04, 2005 3:34 am Post subject: |
|
|
Quote: | AbyssUnderground.co.uk - Server Status Script V2
This page may take a while to load. Please be patient... System Information: Date/Time: 12:31:48 PM, Sunday 04th of December 2005
Uptime: 1 days, 22 hours, 59 mins, 33 secs
CPU Usage: 7% CPU Load. Status: Idle
CPU Type:
CPU Speed: |
I'm using php5 and I was able to fix Cpu Usage by swapping the 2 files around but now what?
http://ul2.blazzingsun.com/server/
Be warned, it's slow... =P |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Dec 04, 2005 3:48 am Post subject: |
|
|
Woot!
Quote: | <?php include('cpu-type.php'); ?>
<?php include('cpu-speed.php'); ?> |
I removed these from the index file and now it works, I'm gonna try to find out the problem my self but dont expect that I'll succeed so any help would still be much appreciated,
Thanks Me (Tom). |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Dec 04, 2005 3:53 am Post subject: |
|
|
I hope this helps
Quote: | BlAzZINgSuN.CoM Server Status powered by AbyssUnderground.co.uk - Server Status Script V2
This page may take a while to load. Please be patient... System Information: Date/Time: 12:52:37 PM, Sunday 04th of December 2005
Uptime: 1 days, 23 hours, 20 mins, 22 secs
CPU Usage: 8% CPU Load. Status: Idle
CPU Type:
CPU Speed:
Fatal error: Call to undefined method variant::Next() in C:\Abyss Web Server\htdocs\server\cpu-speed.php on line 17 |
The baove is cus I truned on the error report thing in the config file
P.S. Sorry for all my posts |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 04, 2005 10:33 am Post subject: |
|
|
If you read the README.txt you would see that you only have to edit the config.php to change all of this.
Also you should refrain from making multiple posts. Edit your last post if there was little time between each post. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Dec 04, 2005 10:36 am Post subject: |
|
|
I didnt use the config file to change anything although I knew I could and besides I apoligized for multiple posts. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 04, 2005 10:37 am Post subject: |
|
|
chappy426 wrote: | I didnt use the config file to change anything although I knew I could and besides I apoligized for multiple posts. |
Thats what the config.php is there for. It makes life easier. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Dec 04, 2005 10:41 am Post subject: |
|
|
Oh yeh now I remeber if I disabled one of the things it would also disable the thing that was wrking So I just used the index file I think it was.
As stated above I think its cus I'm using php5 not 4 |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 04, 2005 10:43 am Post subject: |
|
|
chappy426 wrote: | Oh yeh now I remeber if I disabled one of the things it would also disable the thing that was wrking So I just used the index file I think it was.
As stated above I think its cus I'm using php5 not 4 |
Each entry is for a different part of the code, thats why I designed it like that. If your pc wont work with that bit of code (come dont work with the cpu-type or windows version) then you simply turn it off. There is nothing I can do about it. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Dec 04, 2005 10:45 am Post subject: |
|
|
Intel Celeron 1.7 Ghz
Its a common Processor oh well. =) |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
|
comwiz3000 -
Joined: 19 Nov 2005 Posts: 51 Location: Wellington, NZ
|
Posted: Sat Jan 07, 2006 10:29 am Post subject: |
|
|
My CPU Graph does not load for some reason
http://www.stewartfamily.co.nr/test
Also my port 21 is showing as closed but I have opened it on my router. Do you not if Windows XP SP2 blockes it? If so how do you open it?
Thanks |
|
Back to top |
|
|
Computer-Pro -
Joined: 14 Dec 2005 Posts: 111
|
Posted: Sat Jan 07, 2006 10:41 am Post subject: |
|
|
comwiz3000 wrote: | My CPU Graph does not load for some reason
http://www.stewartfamily.co.nr/test
Also my port 21 is showing as closed but I have opened it on my router. Do you not if Windows XP SP2 blockes it? If so how do you open it?
Thanks |
Did you edit $phpver in cpu-graph.php and config.php?
I believe some ISP's block port 21. Try Port 8080. And Win XP doesn't blcok ports unless you have the windows firewall enabled.
If your ISP blocks port 21 use a differnt port like the one mentioned.
Hope this helps! _________________ Compu-Geek.org coming back soon |
|
Back to top |
|
|
comwiz3000 -
Joined: 19 Nov 2005 Posts: 51 Location: Wellington, NZ
|
Posted: Sat Jan 07, 2006 11:03 am Post subject: |
|
|
I shouldnt need to as I am using PHP 4. And I have checked both files and they both say "4". |
|
Back to top |
|
|
Computer-Pro -
Joined: 14 Dec 2005 Posts: 111
|
Posted: Sat Jan 07, 2006 11:09 am Post subject: |
|
|
comwiz3000 wrote: | I shouldnt need to as I am using PHP 4. And I have checked both files and they both say "4". |
Ok, I didn't know which version of php you are running.
Ahh stupid me I forgot heres a quote from the readme:
Quote: |
"Q: The cpu usage graph doesnt display. Why?
---
A: Make sure phpGD is enabled. Without it the graph wont display." |
_________________ Compu-Geek.org coming back soon |
|
Back to top |
|
|
comwiz3000 -
Joined: 19 Nov 2005 Posts: 51 Location: Wellington, NZ
|
Posted: Sat Jan 07, 2006 11:17 am Post subject: |
|
|
Im just a learner, how do you enable gdphp?
Thanks for your help |
|
Back to top |
|
|
Computer-Pro -
Joined: 14 Dec 2005 Posts: 111
|
Posted: Sat Jan 07, 2006 11:24 am Post subject: |
|
|
comwiz3000 wrote: | Im just a learner, how do you enable gdphp?
Thanks for your help |
Ok to to turn it on, just simply uncomment the line "extension=php_gd2.dll" in php.ini located in the C:/windows folder.
Change:
;extension=php_gd2.dll
To:
extension=php_gd2.dll
Hope that works! _________________ Compu-Geek.org coming back soon
Last edited by Computer-Pro on Sat Jan 07, 2006 12:26 pm; edited 1 time in total |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jan 07, 2006 12:09 pm Post subject: |
|
|
You may have to get the phpgd DLL too.
Port 21 will only show as open if you have an ftp server running. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Computer-Pro -
Joined: 14 Dec 2005 Posts: 111
|
Posted: Sat Jan 07, 2006 12:25 pm Post subject: |
|
|
The Inquisitor wrote: | You may have to get the phpgd DLL too.
Port 21 will only show as open if you have an ftp server running. |
Yep, he did. I gave it ot him while on MSN with him. did every thing right But we still get something like couldn't find php_gd2.dll. I gave it to him and changed the extension_dir to the correct directory.
But we are going to try again tomorrrow since it's past midnight where I live and past midnight where he lives. _________________ Compu-Geek.org coming back soon |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jan 07, 2006 1:05 pm Post subject: |
|
|
All you do is copy phpgd2.dll into the extensions directory and enable it in the php.ini, and all should work fine. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Computer-Pro -
Joined: 14 Dec 2005 Posts: 111
|
Posted: Sat Jan 07, 2006 1:50 pm Post subject: |
|
|
The Inquisitor wrote: | All you do is copy phpgd2.dll into the extensions directory and enable it in the php.ini, and all should work fine. |
Yeah, that's what I did. :D _________________ Compu-Geek.org coming back soon |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
|
Computer-Pro -
Joined: 14 Dec 2005 Posts: 111
|
Posted: Sat Jan 07, 2006 11:34 pm Post subject: |
|
|
I like 2.5 beta better. ;-) _________________ Compu-Geek.org coming back soon |
|
Back to top |
|
|
world-wide-hosting.us -
Joined: 30 Sep 2005 Posts: 26 Location: Felton, De.
|
Posted: Tue Jan 10, 2006 2:27 am Post subject: |
|
|
The Inquisitor wrote: | This can't be helped unfortunately. |
Sure it can. Everyone who uses the scripts buys an x-64 PC. There. Helped. Loaded real quick on mine. Good Job, Andy. _________________ Working on the Abyss Control Panel. Anyone who would like to help us with PHP XML, Documentation, Graphics, JavaScript, or if you have ideas for the CP, Everyone counts! Go to: http://www.abyssunderground.co.uk/cpforum/ and register. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Jan 10, 2006 8:43 am Post subject: |
|
|
world-wide-hosting.us wrote: | The Inquisitor wrote: | This can't be helped unfortunately. |
Sure it can. Everyone who uses the scripts buys an x-64 PC. There. Helped. Loaded real quick on mine. Good Job, Andy. |
The "This cant be helped" bit refers to the script not working 100% on some machines. :-) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
comwiz3000 -
Joined: 19 Nov 2005 Posts: 51 Location: Wellington, NZ
|
Posted: Tue Jan 24, 2006 12:16 pm Post subject: |
|
|
I have been meaning to say this about a week ago. Comp-pro and I got it going! Yay or was it just Comp-pro. |
|
Back to top |
|
|
|