Re: phpnuke

From: Date: Tue, 23 Jul 2002 13:04:51 +0000
Subject: Re: phpnuke
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-14889@lists.php.net to get a copy of this message
The lines below are what my admin page now looks like??? Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 238 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 286 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 286 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 238 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 286 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\includes\sql_layer.php on line 286 "Peter" <php@vfsa.com.au> wrote in message news:DPEPKCNEFOKBCNNANCIPMEIMCGAA.php@vfsa.com.au... > On 22 Jul 2002 at 15:11, Wayne A. Darby wrote: > > > I am new to php and am trying to implement a chat client that is based > > in php. I am using MySQL, APACHE, & PHPNUKE and I can type in the > > address and hit my site just fine. When I try to click on a link I > > recieve the error message "Cannot view this page directly". > > > > Is there anyone that can help me with this? I have searched up and > > down the php.ini file but haven't found a mistake. Any help would be > > greatly appreciated. > > That sounds like a PHPNuke error and not a PHP error. > it is a PHPNuke security measure.... what you have to do is 1 make sure you have set it up correctly as in copy the relevent files to the module &/or block folders 2 make sure the module is activated or u have admin rights so u can view the module PHPNuke doesn't like you accessing a file like http://localhost/foo.php unless u are accessing the admin section.. what it likes is to be able to go http://localhost/module.php?name=nuke_chat

« previous php.windows (#14889) next »