Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in

$
0
0

Hi,

 

I'm trying to install this http://www.bramstart.be/ibwds/?script=news1.1

Even if i use Mamp (mac) or my website (both with CORRECT config information), the system brings me to a page "install.php?install=1" but nothing happen.

Any guess on this?

 

So i found in one of my old website where i had the same script. I duplicate the db tables and i duplicate all the files in my new ftp, just after having that updated with the new sql details.

when i try to login i have this error message:

 

 

 

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /web/htdocs/www.xxxx.net/xxxx/xxxx/xxxx/xxxx/admin/admin.php on line 13

 

The text around is 

 

-------

 

 

<?
 
/*###############################################################*\
##                       iBWd News 1.1b                          ##
##                 http://bramstart.be/ibwds                     ##
##                                                               ##
*/###############################################################*\
 
 
require("config.php");
$query = "SELECT * FROM $table_users";
$result = mysql_query($query);
list($col1) = mysql_fetch_row($result);
if($col1==""){ $adm = 1; }
unset($query);
unset($result);
if($adm != "1"){
require("access.php");
if($status == "MOD"){ exit; }
}

-----------------

 

 

any ideas?

 

thanks!!!

 


Viewing all articles
Browse latest Browse all 13200

Trending Articles