you need to go into the config.php for php-nuke and change banners=1 to
banners=0 then you will get rid of the error message.
Charles Nepote wrote:
> PHP-nuke is a so great software to build a portal a la slashdot in ten
> minutes...
> Just have a look !
>
> RPM install goes well and then, when trying
> http://mysite.mydomain.net/nuke/index.php :
> Fatal error: Call to undefined function: mysql_pconnect() in
> /var/www/html/nuke/mainfile.php on line 23
>
> Ok (poor newbie !) I started mysql (and not just installed it)...
> But then another error told me it was impossible to open the database...
> Ok, under root, I
>
> cd /usr/share/doc/PHP-nuke-3.6/
> more README.first
> mysql admin create nuke
> mysql nuke < nuke.sql
>
> http://mysite.mydomain.net/nuke/index.php
> [
> yeah ! it works, but I always have the message :
> Warning: Supplied argument is not a valid MySQL result resource in
> /var/www/html/nuke/banners.php on line 62
> ]
>
> May be scripts could be added to RPM package to :
> -- test if MySQL is running ;
> -- create the nuke database ;
> -- choose the language by seeing the locale ;
> -- tells the admin what are the username and password of the Admin.
>
> Hope this could help,
> Charles N�pote.