Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
vargatom




Joined: Nov 21, 2009
Posts: 7

PostPosted: Wed Mar 10, 2010 3:59 pm
Reply with quote

Hi,

In my PHP-NUKE v7.9 in Map Random block of Map Manager v2.1 Total Maps: 1 (always).

In my datebase there are more than 25 maps.

Well


$total_maps = $db->sql_numrows($result2);

//show total # of maps
$content .= "<tr><td>Total Maps: <strong>$total_maps</strong></td></tr>\n";


Where is the fault?

Can anybody help me?

vt
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 333

PostPosted: Sun Jan 02, 2011 6:51 pm
Reply with quote

Seems good to me but from your other post it would seem that the NAME of the map is being stored correctly in the database but the map image isn't uploaded.
Do the map name have any characters in then apart from letters, numbers and underscore or dashes? Spaces are a problem for Linux servers.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©