classified ads

Hi TechnoBum!
I'm try to explaine some youre problem.....
I.
Code:
Fatal error: Call to undefined function: error() in /var/www/html/my-site-name/modules/NukeC/functions.php on line 605

mysql_query( "select imageads FROM ".$prefix."_ads_ads WHERE validuntil < '$nowdate'" ) or error( mysql_error() );
Try to find this function in functions.php, or some included file if you cannot find try to change to
Code:
mysql_query( "select imageads FROM ".$prefix."_ads_ads WHERE validuntil < '$nowdate'" ) or die(mysql_error(),"sorry...");

II.
Code:
Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/my-site-name/includes/sql_layer.php on line 241

240 ) case "MySQL":
241 ) $rows=mysql_num_rows($res);
242 ) return $rows;
243 ) break;;

and

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/my-site-name/includes/sql_layer.php on line 289

288 ) case "MySQL":
289 ) $row = mysql_fetch_row($res);
290 ) return $row;
291 ) break;;
some bug in youre NukeC or type of DataBase is indefinably. :(

P.S. Some addon you may find in http://www.hotscripts.com/PHP/Scripts_and_Programs/Miscellaneous/PHP-Nuke_Addons/
 
Back
Top