Date: Wed, 14 Nov 2001 13:52:49 -0500 From: "brain_damaged" <brain_damaged@florida-wireless.com> To: <freebsd-questions@freebsd.org> Subject: phpnuke 4.2 on freebsd 4.3 Message-ID: <200111141352.AA1765605498@florida-wireless.com>
next in thread | raw e-mail | index | archive | help
Hello, I am getting the below error on the stats.php page of phpnuke 4.2. I assume its from nuke being written more for linux from my understanding of the requirements and reading of their literature. I tried to find the cpuinfo and meminfo by doing a find / -name "cpuinfo" -print but nothing was returned. Is there a fix for it ? the lines of the stats.php in question are: Warning: file("/proc/cpuinfo") - No such file or directory in /usr/local/www/htdocs/phpnuke/html/stats.php on line 28 ***line 28 reads: $cpuinfo = file("/proc/cpuinfo") Warning: file("/proc/meminfo") - No such file or directory in /usr/local/www/htdocs/phpnuke/html/stats.php on line 48 ***line 48 reads: $meminfo = file("/proc/meminfo") Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 63 ***line 63 reads: $percent_free = round( $free_mem / $total_mem * 100 ); Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 64 Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 65 Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 66 Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 67 Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 68 Warning: Division by zero in /usr/local/www/htdocs/phpnuke/html/stats.php on line 69 also i see phpnuke shows 5.2 and 5.3 as latest while the ports show 4.2 in /stand/systinstall but the search page on freebsd.org show the 5.2 as the heading but show 5.3 if you do sources ? why ? thanks mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111141352.AA1765605498>