| Author |
Message |
krazy

Joined: Jun 03, 2006
Posts: 3
|
Posted:
Sat Jun 03, 2006 5:27 pm |
|
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 |
| |
|
|
 |
krazy

Joined: Jun 03, 2006
Posts: 3
|
Posted:
Mon Jun 05, 2006 2:37 am |
|
well i figured it out,
narrowed down to 3 files in admin/incs
maps- mapsaddcat and mapsaddmap
got it working now |
| |
|
|
 |
sirVIPER

Joined: Sep 09, 2005
Posts: 28
Location: Texas
|
Posted:
Tue Jun 06, 2006 2:12 pm |
|
|
|
 |
sirVIPER

Joined: Sep 09, 2005
Posts: 28
Location: Texas
|
Posted:
Tue Jun 06, 2006 11:10 pm |
|
|
|
 |
sirVIPER

Joined: Sep 09, 2005
Posts: 28
Location: Texas
|
Posted:
Wed Jun 07, 2006 10:28 pm |
|
|
|
 |
krazy

Joined: Jun 03, 2006
Posts: 3
|
Posted:
Thu Jun 08, 2006 12:27 am |
|
|
|
 |
sirVIPER

Joined: Sep 09, 2005
Posts: 28
Location: Texas
|
Posted:
Thu Jun 08, 2006 1:08 pm |
|
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 |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Fri Jun 09, 2006 4:20 pm |
|
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  |
| |
|
|
 |
sirVIPER

Joined: Sep 09, 2005
Posts: 28
Location: Texas
|
Posted:
Sat Jun 10, 2006 12:23 am |
|
|
|
 |
|
|