From owner-freebsd-questions Wed Nov 14 10:50:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from florida-wireless.com (mailserver.florida-wireless.com [208.62.145.34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6E537B416 for ; Wed, 14 Nov 2001 10:50:21 -0800 (PST) Date: Wed, 14 Nov 2001 13:52:49 -0500 Message-Id: <200111141352.AA1765605498@florida-wireless.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "brain_damaged" Reply-To: To: Subject: phpnuke 4.2 on freebsd 4.3 X-Mailer: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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