classified ads

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: classified ads

Post by WiZARD » Fri Mar 07, 2003 2:06 am

Give just one error......

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Post by WiZARD » Sun Mar 09, 2003 2:17 am

Hi TechnoBum!
I'm try to explaine some youre problem.....
I.

Code: Select all

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: Select all

mysql_query( "select imageads FROM ".$prefix."_ads_ads WHERE validuntil < '$nowdate'" ) or die(mysql_error(),"sorry...");


II.

Code: Select all

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_a ... ke_Addons/

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest