Google

NukeCoder


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




Joined: Jan 03, 2006
Posts: 18

PostPosted: Tue Jan 03, 2006 1:18 pm
Reply with quote

In the Administration Panel, I clicked on "Create Thumbnail" because it said it needed to create a thumbnail for an image blahblah.JPG, after doing so I was redirected to a "404 Page Not Found" error, url was:

http://www.planetmonsterhunt.com/.php?op=mapmain

I'm guessing something is missing? Maybe it's supposed to be http://www.planetmonsterhunt.com/admin.php?op=mapmain

Anyway, I noticed that was the only image that needed a thumbnail generated for it, and I'm guessing it's because I had to manually add .JPG to the database, because it is case sensitive, so it wouldn't upload a .JPG image, but it would upload a .jpg image.
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue Jan 10, 2006 2:24 pm
Reply with quote

i assume you are using nuke 7.5 or somthing close.

Look for the following line in your config.php, if it isn't there, add it.

Code:

$admin_file = "admin";
 
View user's profile Send private message Visit poster's website
Chester01




Joined: Aug 12, 2006
Posts: 2

PostPosted: Sat Aug 12, 2006 3:26 pm
Reply with quote

I have the same problem, This thing is when I do a search of the config file I'm getting alot of just .php section. Where do i add this line exactly ?

To each line thats missing the filename infront of the .php.

1st Section missing
Code:
Header("Location: ".$admin_file.".php?op=mapconfig");


2ns Line I found:
Code:
echo "<center>[ <a href='".$admin_file.".php?op=mapmain'>"._MAPADMIN."</a> ] - [ <a href='".$admin_file.".php'>"._ADMINMENU."</a> ]</center>";


3rd Line I found :
Code:
echo "<form action='".$admin_file.".php?op=mapconfig' method='post'>\n"


Or are those line suppose to be like that?

This si the Config.php file out of my root/modules/Maps/Admin/incs/config.php

I'm runnig phpnuke 7.8 and in desperate need of a map DB and thisis the only one I found on the net.
 
View user's profile Send private message
Colossus
Site Admin
Site Admin



Joined: May 16, 2005
Posts: 23

PostPosted: Thu Aug 17, 2006 8:24 pm
Reply with quote

not your Map Manager config file, the Nuke config file, should be in the root of your site "/www/config.php" or /config.php

basically what '".$admin_file.".php?op=mapconfig' is , is a variable name for the "admin.php", which you can rename to whatever you want,
if you rename the file "admin.php" to "dontaccessthisfileorelse.php", you change the line in the config.php to point to the newly named-- file"dontaccessthisfileorelse.php",

it's a way to rename your admin.php file to whatever you want so people with ill intent cant assume you have the same admin.php that the other 10,000 PHPNuke users do[/b]
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
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 ©