Author |
Message |
peace
Worker


Joined: Mar 11, 2004
Posts: 209
|
Posted:
Wed Feb 02, 2005 3:50 am |
|
Hello
i renemed my admin.php yesterday and applied the fix of techgfx
i wanted to go today my forum admin area but have a ''Accès Refusé'' message only ( i cant even have an error message like access denied like normal pplz :p ) is this French ? if yes i only have sommaire and nsn ya 330 as french made which didnt touch them .
İconfused coz in admin panel i can access some links but cant some
this are givin me 'Accès Refusé'' page when click on them in a/p
sentinel, shout box , submissions ,and all icons /links in modules admin box
sommaire gives a 404 even it works well
m designs cp gives a 404 also
any help appreciated thx |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Wed Feb 02, 2005 6:31 am |
|
Every where that uses $forum_admin has to be updated to use the new code. If not that would be the source of all evil. |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
peace

|
Posted:
Wed Feb 02, 2005 2:44 pm |
|
ty for answer six
but i not understand well do u mean that i must change all files in sentinel, shout box , submissions ,and links in modules with same fix ?
even i forgot what was the patch codes so went to techgfx site but now it says comminuty is closed  |
|
|
|
 |
sixonetonoffun

|
Posted:
Wed Feb 02, 2005 3:04 pm |
|
Strange News to me too.
Ok I don't use most of the addons you mention but I know CNB YA also uses the same code in the mainfile.php as Nuke Sentinel to detirmine when and where to include the include files they require to be loaded by mainfile.php to work.
Example:
Code:
if (defined('FORUM_ADMIN')) {
include_once("../../../modules/Your_Account/includes/mainfileend.php");
} elseif ($inside_mod == 1) {
include_once("../../modules/Your_Account/includes/mainfileend.php");
} else {
include_once("modules/Your_Account/includes/mainfileend.php");
}
|
|
Last edited by sixonetonoffun on Wed Feb 02, 2005 9:10 pm; edited 1 time in total |
|
|
 |
peace

|
Posted:
Wed Feb 02, 2005 5:11 pm |
|
|
|
 |
sixonetonoffun

|
Posted:
Wed Feb 02, 2005 7:31 pm |
|
How about you do this send me your mainfile.php and if I find someplace you missed I'll send it back to you fixed.
sixonetonoffun {@} netflake.com |
|
|
|
 |
peace

|
Posted:
Wed Feb 02, 2005 8:41 pm |
|
ty six i sended  |
|
|
|
 |
sixonetonoffun

|
Posted:
Wed Feb 02, 2005 9:06 pm |
|
The good news is you did it all fine. The bad news is I'm not sure why your seeing that message yet. |
|
|
|
 |
sixonetonoffun

|
Posted:
Wed Feb 02, 2005 9:09 pm |
|
Peace try changing the admin file name back to admin then see if the problem goes away. |
|
|
|
 |
peace

|
Posted:
Wed Feb 02, 2005 9:31 pm |
|
ok im tryin immediatelly but wish me luck for not have access denied for my all site  |
|
|
|
 |
peace

|
Posted:
Wed Feb 02, 2005 9:40 pm |
|
ok i made it admin.php again and it looks my site is normal again tyvm six
now i must find where i suck when apply this renaming admin thread
http://www.nukescripts.net/modules.php?name=Forums&file=viewtopic&p=1600#1600
i think i sucked at robots text
here my robot text
User-agent: Mediapartners-Google*
Disallow:
User-agent: *
Disallow: /admin/
Disallow: /images/
Disallow: /includes/
Disallow: /themes/
Disallow: /blocks/
Disallow: /modules/
Disallow: /language/
i was added
Disallow: /mynewadminpagename.php/
without delete
Disallow: /admin/
is this the reason  |
|
|
|
 |
sixonetonoffun

|
Posted:
Wed Feb 02, 2005 9:41 pm |
|
Or it might be that Register Globals is off some sites just won't run this renamed admin file without it right now. |
|
|
|
 |
peace

|
Posted:
Wed Feb 02, 2005 9:55 pm |
|
you mean i never cant change my admin file name ? (
ty for your help again
peace |
|
|
|
 |
|