| Author |
Message |
Skillz

Joined: Jan 03, 2006
Posts: 18
|
Posted:
Tue Jan 03, 2006 1:18 pm |
|
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. |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Tue Jan 10, 2006 2:24 pm |
|
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";
|
|
| |
|
|
 |
Chester01

Joined: Aug 12, 2006
Posts: 2
|
Posted:
Sat Aug 12, 2006 3:26 pm |
|
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. |
| |
|
|
 |
Colossus
Site Admin


Joined: May 16, 2005
Posts: 23
|
Posted:
Thu Aug 17, 2006 8:24 pm |
|
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] |
| |
|
|
 |
|
|