Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x
Author Message
wfcmod
New Member
New Member


Joined: Jun 24, 2006
Posts: 2

PostPosted: Sat Jul 01, 2006 2:56 am Reply with quote

I'm running a photoforum with phpnuke (7.2?) + coppermine. After a couple of serious hacks, I decided to update sentinel to version 2.4.2pl9. I also use the CGIauth which seems to work great. No hack attemts are reported since the installation. But now I encountered 3 serious problems:

1) The forum administration page is completely blank

2) If I want to add an album in coppermine, that page is also completely blank

3) Moderators who want to edit a picture in coppermine get the message: "You have attempted to use a False Admin cookie to access this site!" This 3rd point is not the case for the GOD admin.

These 3 problems makes it impossible to run this photoforum, so if anybody can offer me some help it would be great!
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sat Jul 01, 2006 5:37 am Reply with quote

wauw...that can be a lot of things...
what sentinel version did you had?
 
View user's profile Send private message
wfcmod
PostPosted: Sat Jul 01, 2006 11:07 am Reply with quote

1.0.2 I think. I had to remove all te sentinel tables and start with a fresh instal. The upgrade script didn't work
 
hitwalker
PostPosted: Sat Jul 01, 2006 1:03 pm Reply with quote

well it does work....it allways did....
you touched any files ?
and cant you upgrade your nuke or is that to much work?
 
NoFantasy
Worker
Worker


Joined: Apr 26, 2005
Posts: 114

PostPosted: Mon Jul 31, 2006 9:50 am Reply with quote

Gettin' the same message here, with coppermine...
[You have attempted to use a False Admin cookie to access this site!]

As regular user:

Create album=OK
Upload picture to album=OK
Attempt to modify album=NS error
Attemt to modify picture=NS error
Attempt to delete album=NS error
Attempt to delete picture=NS error

phpNuke v 7.6.3.1
NukeSentinel 2.5.0.0
Coppermine 1.3.1c

Three "entries" in cookie:
msa_resolution (MS-Analysis)
*
User (Logged in as regular user)
*
gallery_data (Coppermine, i've set another than default, which is nuke_cpg_nuke)
*

Coppermine is installed in ../modules.php?name=Gallery

The above works just fine when NS is not enabled.

Any suggestions what i should try out and where to start hunting the error down?

Edit: sorry, i just realized this post perhaps ended up in wrong forum, sorry. Feel free to split, move, edit, whatever admins.
 
View user's profile Send private message
NoFantasy
PostPosted: Mon Jul 31, 2006 12:26 pm Reply with quote

Seems like it's an unsolved issue, even at the home page of coppermine for phpNuke. Only registered users can see links on this board! Get registered or login!

I believe there are probably three central files included...the ../includes/nukesentinel.php that produce the message:

if($aid AND (!isset($_COOKIE['admin']) OR empty($_COOKIE['admin'])) AND $op!='login') { die(_AB_FALSEADMIN); }

and
../modules/coppermine/db_input.php
../modules/coppermine/includes/init.inc
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Tue Aug 01, 2006 5:33 am Reply with quote

I moved the thread to 2.5.0 since you are seeing the issue in that version too. My question to the Coppermine folks would be why is Coppermine messing with the admin cookie? Is it somehow overwriting it or deleting it?

NS is doing what it is supposed to be doing.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
NoFantasy
PostPosted: Fri Aug 04, 2006 6:23 am Reply with quote

Thanks for the reply, i've asked them about what you told so i guess i'll just sit thight and wait Very Happy
 
ccac
Hangin' Around


Joined: May 23, 2006
Posts: 40

PostPosted: Fri Aug 25, 2006 1:58 am Reply with quote

Any update on this issue? I am having the same problems.
 
View user's profile Send private message
NoFantasy
PostPosted: Fri Sep 01, 2006 4:36 pm Reply with quote

Not on my behalf, sorry Sad Error is still around

I'm starting to think this might be a server dependant error. I installed the exact same stuff on another server, and it didnt produce any errors.

Same version of NS, same version of coppermine, same version of chatserv patch...basically, a clone...and it was working flawless.

Could it be something to do with php version? I know one is running 4.x (worked ok) the other is running 5.x (didn't work that well)
 
rovshan
Hangin' Around


Joined: Nov 26, 2005
Posts: 29

PostPosted: Sat Mar 10, 2007 5:28 pm Reply with quote

for RavenNuke(tm) Version 2.02.02 here is other solution......

code in includes/nukesetinel.php :

if($aid AND (!isset($admin) OR empty($admin)) AND $op!='login') { die(_AB_FALSEADMIN); }

replace with:


if($aid AND (!isset($admin) OR empty($admin)) AND $op!='login' AND substr($nsnst_const['query_string'],0,strlen("name=coppermine")) != 'name=coppermine') { die(_AB_FALSEADMIN); }

but I am not sure about security ...... but better then comments out this line (with initial 2 slashes).....

good luck.......
 
View user's profile Send private message
slackervaara
Worker
Worker


Joined: Aug 26, 2007
Posts: 236

PostPosted: Fri May 16, 2008 11:31 pm Reply with quote

Thanks, rovshan!

I used your fix för Sentinel 2.5.13 and PHP-Nuke 7.633 and it worked very well.
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x

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 ©