Author |
Message |
wfcmod
New Member


Joined: Jun 24, 2006
Posts: 2
|
Posted:
Sat Jul 01, 2006 2:56 am |
|
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! |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Sat Jul 01, 2006 5:37 am |
|
wauw...that can be a lot of things...
what sentinel version did you had? |
|
|
|
 |
wfcmod

|
Posted:
Sat Jul 01, 2006 11:07 am |
|
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

|
Posted:
Sat Jul 01, 2006 1:03 pm |
|
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


Joined: Apr 26, 2005
Posts: 114
|
Posted:
Mon Jul 31, 2006 9:50 am |
|
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. |
|
|
|
 |
NoFantasy

|
Posted:
Mon Jul 31, 2006 12:26 pm |
|
Seems like it's an unsolved issue, even at the home page of coppermine for phpNuke.
http://www.max.pcnuke.com/modules.php?name=Forums&file=viewtopic&t=1063
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: 9457
Location: Arizona
|
Posted:
Tue Aug 01, 2006 5:33 am |
|
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! |
|
|
 |
NoFantasy

|
Posted:
Fri Aug 04, 2006 6:23 am |
|
Thanks for the reply, i've asked them about what you told so i guess i'll just sit thight and wait  |
|
|
|
 |
ccac
Hangin' Around

Joined: May 23, 2006
Posts: 40
|
Posted:
Fri Aug 25, 2006 1:58 am |
|
Any update on this issue? I am having the same problems. |
|
|
|
 |
NoFantasy

|
Posted:
Fri Sep 01, 2006 4:36 pm |
|
Not on my behalf, sorry 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: 40
|
Posted:
Sat Mar 10, 2007 5:28 pm |
|
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....... |
|
|
|
 |
slackervaara
Worker


Joined: Aug 26, 2007
Posts: 236
|
Posted:
Fri May 16, 2008 11:31 pm |
|
Thanks, rovshan!
I used your fix för Sentinel 2.5.13 and PHP-Nuke 7.633 and it worked very well. |
|
|
|
 |
|