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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to