Google

NukeCoder


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




Joined: Jun 03, 2006
Posts: 3

PostPosted: Sat Jun 03, 2006 5:27 pm
Reply with quote

hello great mod

im using nuke evo as my cms
have given folders permissions checked many times

error

Please ensure you have granted proper permissions, review the install.txt file for instructions! - 002

any suggestions
thanks
 
View user's profile Send private message
krazy




Joined: Jun 03, 2006
Posts: 3

PostPosted: Mon Jun 05, 2006 2:37 am
Reply with quote

well i figured it out,
narrowed down to 3 files in admin/incs
maps- mapsaddcat and mapsaddmap

got it working now
 
View user's profile Send private message
sirVIPER




Joined: Sep 09, 2005
Posts: 28
Location: Texas

PostPosted: Tue Jun 06, 2006 2:12 pm
Reply with quote

can you post the exact fix so that the rest of us can get ours working w00t?

_________________
The HARSH Realm
http://www.theharshrealm.com
IRC: #khr (gamesurge)
|K}{R|sirVIPER
sirVIPER@theharshrealm.com 
View user's profile Send private message Visit poster's website MSN Messenger
sirVIPER




Joined: Sep 09, 2005
Posts: 28
Location: Texas

PostPosted: Tue Jun 06, 2006 11:10 pm
Reply with quote

I am having the exact same issue can you tell me what you did before I get a backlog on match demos and logs?

_________________
The HARSH Realm
http://www.theharshrealm.com
IRC: #khr (gamesurge)
|K}{R|sirVIPER
sirVIPER@theharshrealm.com 
View user's profile Send private message Visit poster's website MSN Messenger
sirVIPER




Joined: Sep 09, 2005
Posts: 28
Location: Texas

PostPosted: Wed Jun 07, 2006 10:28 pm
Reply with quote

can anyone post the fix for this I have 6 demos waiting to be tagged already and need to get the mapadd working before I get to backlogged.

_________________
The HARSH Realm
http://www.theharshrealm.com
IRC: #khr (gamesurge)
|K}{R|sirVIPER
sirVIPER@theharshrealm.com 
View user's profile Send private message Visit poster's website MSN Messenger
krazy




Joined: Jun 03, 2006
Posts: 3

PostPosted: Thu Jun 08, 2006 12:27 am
Reply with quote

check your email
 
View user's profile Send private message
sirVIPER




Joined: Sep 09, 2005
Posts: 28
Location: Texas

PostPosted: Thu Jun 08, 2006 1:08 pm
Reply with quote

THX Crazy, I want to keep the full functionality though. I will send you the theme if you want it though. Pedwags over at PNC made it for his site and gave it out. Gotcha when you see this can you give me some input on the permisions error issue so that I can get this fixed?

_________________
The HARSH Realm
http://www.theharshrealm.com
IRC: #khr (gamesurge)
|K}{R|sirVIPER
sirVIPER@theharshrealm.com 
View user's profile Send private message Visit poster's website MSN Messenger
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Fri Jun 09, 2006 4:20 pm
Reply with quote

Open modules/Maps/admin/incs/mapsaddmap.php

Find

Code:
if ($_POST['maptitle2'] == ""){
   echo ""._NOMAPTITLE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}



if ($_FILES['upfile']['name']['size'] == "0" AND $_POST['mapimagelink'] == "0"){
   echo ""._ENTERMAPIMAGE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}


if ($_FILES['upfile2']['name']['size'] == "0" AND $_POST['mapfilelink'] == "0"){
   echo ""._ENTERMAPFILE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}



if ($_FILES['upfile']['name']['size'] != "0"){
   $mapimage2 = upfile($mapimagedir, "upfile");
   include ("modules/$module_name/admin/incs/thumb.php");
   thumb_img($mapimage2, "");
}else{
   $mapimage2 = $_POST['mapimagelink'];
}

if ($_FILES['upfile2']['name']['size'] != "0"){
   $mapfile2 = upfile($mapfiledir, "upfile2");
   $filesize = filesize($mapfiledir."/".$mapfile2);
}else{
   $mapfile2 = $_POST['mapfilelink'];
   if (file_exists($mapfiledir."/".$mapfile2)){
      $filesize = filesize($mapfiledir."/".$mapfile2);
   }else{
      $filesize = "0";
   }
}


Replace With

Code:
if (empty($_POST['maptitle2'])){
   echo ""._NOMAPTITLE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}


if ($_FILES['upfile']['size'] == 0 AND empty($_POST['mapimagelink'])){
   echo ""._ENTERMAPIMAGE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}



if ($_FILES['upfile2']['size'] == 0 AND empty($_POST['mapfilelink'])){
   echo ""._ENTERMAPFILE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}



if ($_FILES['upfile']['size'] != 0){
   $mapimage2 = upfile($mapimagedir, "upfile");
   include ("modules/$module_name/admin/incs/thumb.php");
   thumb_img($mapimage2, "");
}else{
   $mapimage2 = $_POST['mapimagelink'];
}

if ($_FILES['upfile2']['size'] != 0){
   $mapfile2 = upfile($mapfiledir, "upfile2");
   $filesize = filesize($mapfiledir."/".$mapfile2);
}else{
   $mapfile2 = $_POST['mapfilelink'];
   if (file_exists($mapfiledir."/".$mapfile2)){
      $filesize = filesize($mapfiledir."/".$mapfile2);
   }else{
      $filesize = 0;
   }
}



Open modules/Maps/admin/incs/mapsaddcat.php

Find

Code:
if ($_POST['cattitle2'] == ""){
   echo ""._ENTERCATTITLE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}


if ($_FILES['upfile']['size'] == "0" AND $_POST['catimagelink2'] == "0"){
   echo ""._ENTERCATIMAGE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}


if ($_FILES['upfile']['size'] != "0"){
   $catimage2 = upfile($catimagedir, "upfile");
}else{
   $catimage2 = $_POST['catimagelink2'];
}


Replace With

Code:
if (empty($_POST['cattitle2'] )){
   echo ""._ENTERCATTITLE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}



if ($_FILES['upfile']['size'] == 0 AND empty($_POST['catimagelink2'])){
   echo ""._ENTERCATIMAGE."<br>"._GOBACK."";
   CloseTable();
   include("footer.php");
}


if ($_FILES['upfile']['size'] != 0){
   $catimage2 = upfile($catimagedir, "upfile");
}else{
   $catimage2 = $_POST['catimagelink2'];
}


Let me know how it works out Smile
 
View user's profile Send private message Visit poster's website
sirVIPER




Joined: Sep 09, 2005
Posts: 28
Location: Texas

PostPosted: Sat Jun 10, 2006 12:23 am
Reply with quote

outstanding just added a map and it looks like that fixed everything THX.

_________________
The HARSH Realm
http://www.theharshrealm.com
IRC: #khr (gamesurge)
|K}{R|sirVIPER
sirVIPER@theharshrealm.com 
View user's profile Send private message Visit poster's website MSN Messenger
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 ©