>>
Site Map
>>
Forums
>>
Bug Reports and Fixes [nCo Mod]
Forum module - topics in forum:
Bug Reports and Fixes [nCo Mod] - This forum is for bug reports only we.. If you have an installstion or othe problem post in those catagories, <b>BUG REPORTS AND FIXES ONLY</b>
another bug i think :-s
aight i dun know if its really a bug in nCo 7.6 .... k the problem occurs when i changed the admin.php file to something.php (like dis) k everything works fine after dat but wen ever u try to click on one of the links in the administration menu it points out to
http://blah.com/admin.php?op=adminstory
but it had to be
http://blah.com/somthing.php?op=adminstory
and theres another thing
the same thing happens wen you click on submissions link in the admin panel and news configuration and in news
m still tryin to look for the solution... help will be appreciated

Nope not a bug......
Remember to read the included readme files that come with nCo Modified PHP-Nuke if you had you would have known that you can't just change the name of the admin.php file without making some other file edits. in this case you must go through the news module and change every instance of admin.php to what_you_call_it.php
Here is a list of the files:
News/admin.php
News/categories.php
News/index.php
News/topics.php
News/admin/links.php
Remember to make backup copies of all the files before making any changes to them.
k i have done this and is working fine now and i knew that i had to edit some files like config.php . robot.txt but i didnt knew about the news module and the files list which u posted are not the only 1's which need to be edited deres another 2 files which needs to be edited like l

html/admin/links/link.cblock.php
and i think mainfile.php too coz of the administration menu BLOCK which still points out to admin.php instead of what_you_call_it.php
and to be honest i cant find any readme file or any other document in nCo modified 7.6 in which u stated you need to do this or do that to hide your admin.php file ... if its dere den it might be me but i read the whole read me files 2 times lol
Big Thanx for the help but the question is still der what i need to edit in mainfile.php or might be anyother file to make the administration BLOCK work for me.
The only other change you should have to make is in the config.php file find:
| Code: : |
| $admin_file = "admin"; |
change it to
| Code: : |
| $admin_file = "what_you_call_it"; |
The main thing you have to remember is this. The changing of the admin.php file is a new thing and it does have it's bugs, many of which still haven't been found. In all honesty I have never changed the name of it, I use sentinel and I turn on the .htaccess to protect admin.php Should you do that then there really is NO NEED to change the name of the admin.php file For every reason someone gives me to change it I can give them 2 reasons not too. You are experiencing 2 of them now yourself.
ok i had edited the config.php file coz widout it i wouldnt be able to access the administration of my site. i dont know about the bugs or any thing the only thing which is making probs for me now is just administration block other wise the site is working jst fine. i was able to change admin.php file by a tut i found in tech gfx's php nuke platinum 7.6 read me security files may be tech gfx had this prob of administration block in his version of php nuke and he must have solved it other wise he wouldnt have just typed that tut ?? and about the sentinel suggestion u gave me thanx i will turn it on but ppl just cant relay on sentinel can they ?? may be i dont have the knowledge as much as you have in php nuke what is happening when u change a file or shit but 1 thing i sure know that you have to take some extra security measures to secure your site. *thats my opinion*
thanx again for telling me to edit the news modules files and sentinel .htaccess part.
No you are correct people just can't rely on NukeSentinel there are other things you can do to protect your site. NukeSentinel is an excellent product and im not just saying that because we are I work on nukescripts.net It really is but it isn't fool proof. With that being said I have written an article about it and you can view it HERE There is some very useful information regarding protecting your nuke install in there. I suggest everyone check it out. As far as your admin block problem If you can give me some more details as to what is happening... in plain english (wot, cos and dis are not words and make post difficult to comprehend, this isnt' a chat room) I would appreciate it.
may be i was not able to explain my problem to you. the problem in admin blcok is it points out to old admin.php file instead of new 1 like when you click on the Administration in admin block it takes you to http://blah.com/admin.php or when you click on Logout in admin block it takes you to http://blah.com/admin.php?op=logout
which results in The Page Can not Be Found these links should really be like http://blah.com/what_you_call_it.php
or
http://blah.com/what_you_call_it.php?op=logout
in short the links in admin block are not working ..
and sorry about the english i speak english is not my mother language its jusl i learned over the years and on net by chatting so its my habbit you can say lol
and thanx for the article i did read it before but didnt bothered to read it in detail.
I apologize sincerely about the correct english thing. As far as your problem goes I have found the solution..... Seems FB makes these changes and did not give the full instructions on how to make them. There is one undocumented change he failed to mention.
In blocks administration in the admin panel of your site click edit on administration and replace:
| Code: : |
<strong><big>·</big></strong> <a href="admin.php">Administration</a><br>
<strong><big>·</big></strong> <a href="admin.php?op=adminStory">NEW Story</a><br>
<strong><big>·</big></strong> <a href="admin.php?op=create">Change Survey</a><br>
<strong><big>·</big></strong> <a href="admin.php?op=content">Content</a><br>
<strong><big>·</big></strong> <a href="admin.php?op=logout">Logout</a> |
With:
| Code: : |
<strong><big>·</big></strong> <a href="yourname.php">Administration</a><br>
<strong><big>·</big></strong> <a href="yourname.php?op=adminStory">NEW Story</a><br>
<strong><big>·</big></strong> <a href="yourname.php?op=create">Change Survey</a><br>
<strong><big>·</big></strong> <a href="yourname.php?op=content">Content</a><br>
<strong><big>·</big></strong> <a href="yourname.php?op=logout">Logout</a> |
yourname.php of course signifies whatever you named the file.
It's ok no worries in fact i should be sorry about the problem in correct english and making this a long thread . And Thanks for the solution now the site is working perfect again. 