Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
dxgame
New Member
New Member



Joined: Jul 08, 2006
Posts: 4

PostPosted: Sat Jul 08, 2006 6:21 pm Reply with quote

Since I have a custom name for admin.php created by Nuke Sentinal, I cannot access to admin controls for the Donations 2006 module.

When I click on the Admin Control Panel icon "Treasury" that leads to the setup of the module, I get an not found error. If I sub the custom admin.php name I get a Access Denied error.

Any ideas where to go to change the path to access the module setup features using my renamed admin.php? Looks like all refs in the code refer to admin.php as opposed to admin_file

Note: this issue also also keeps my Admin block from working.

All of my other icons in Admin control Panel work fine.

Using RavenNuke76_v2.02.00

Thanks
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Jul 08, 2006 8:28 pm Reply with quote

Welcome. Where did you get the Donations 2006 module? Just curious as it has been around for several years.

Most likely, there is a check in the admin program for NukeTreasury that checks to see if admin.php is in the URL and generates the access denied message if it isn't. You'll need to replace that with updated logic that uses the admin file variable, instead of the hard-coded admin.php.

We can add some checks in RN to help the admin block work in a future release. But I'd suggest using HTTP Admin Authentication, which provides sufficient protection against XSS attacks (which is why you want to rename the admin.php file).

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
dxgame







PostPosted: Sat Jul 08, 2006 8:45 pm Reply with quote

Oh jeez..
Im pretty sure I got it at codewiz. Nope, I got it here.

Im not ssure what HTTP Admin Authentication is. Im not exaclty that great at this stuff.
 
kguske







PostPosted: Sat Jul 08, 2006 8:56 pm Reply with quote

Look at the NukeSentinel manual on this site to learn more about HTTP Admin Authentication.

Also, I checked the RN 2.10 package I'm testing, and I didn't see hard-coded references to the admin.php file, nor could I find references in the RN bug tracker.

As for the Telli / Codezwiz version, I haven't looked at that. I'll take a look.
 
kguske







PostPosted: Sat Jul 08, 2006 9:05 pm Reply with quote

If you mean the CZ Donations module, I can't download without making a donation (and it appears to include some changes very similar to the ones I developed and are available for free on http://sassasys.com). I love Telli's work, but just can't justify paying for something I already developed.
 
dxgame







PostPosted: Sat Jul 08, 2006 9:13 pm Reply with quote

Hey thanks.
Ill give that one a try..

No, I downloaded it here. Nuke Treasury V1.1.1 US and UK.

I like the CZ stuff too, but have the same opinion.
 
dxgame







PostPosted: Sat Jul 08, 2006 9:26 pm Reply with quote

Well I thought I had it.

I seem to remember sentinal telling me I could delete the admin.php file after I created the custom one. I put a admin.php back in root and I was able to access the treasury CP. However, I still cant access the config button, nor can I edit/delete any of the current values. I get an access denied error..

Grrr.


woot!
Got it kind of..
I can now edit the URL to the name of the custom admin.php name and get to where Im going. Ill have to make sure everything works right, but itll do I guess..

Any other ideas on getting this going without having to edit the url would be great..

I checked out the Sentinal manual and didnt see anything on HTTP Admin auth..

Added:
Well I can access the menus now, but it wont save any changes made. I hit submit and it drops me back to the access denied error, and the url goes straight to admin.php.

Nutz..
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©