PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
wfcmod
New Member
New Member


Joined: Jun 24, 2006
Posts: 2

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

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
persona_non_grata



Joined:
Posts: 0

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

wauw...that can be a lot of things...
what sentinel version did you had?
View user's profile Send private message
wfcmod
New Member
New Member


Joined: Jun 24, 2006
Posts: 2

PostPosted: Sat Jul 01, 2006 11:07 am Reply with quote Back to top

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
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Sat Jul 01, 2006 1:03 pm Reply with quote Back to top

well it does work....it allways did....
you touched any files ?
and cant you upgrade your nuke or is that to much work?
View user's profile Send private message
NoFantasy
Worker
Worker


Joined: Apr 26, 2005
Posts: 114

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

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
Worker
Worker


Joined: Apr 26, 2005
Posts: 114

PostPosted: Mon Jul 31, 2006 12:26 pm Reply with quote Back to top

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 to the forums!


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
View user's profile Send private message
montego
Site Admin


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

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

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.
View user's profile Send private message Visit poster's website
NoFantasy
Worker
Worker


Joined: Apr 26, 2005
Posts: 114

PostPosted: Fri Aug 04, 2006 6:23 am Reply with quote Back to top

Thanks for the reply, i've asked them about what you told so i guess i'll just sit thight and wait Very Happy
View user's profile Send private message
ccac
Hangin' Around


Joined: May 23, 2006
Posts: 36

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

Any update on this issue? I am having the same problems.
View user's profile Send private message
NoFantasy
Worker
Worker


Joined: Apr 26, 2005
Posts: 114

PostPosted: Fri Sep 01, 2006 4:36 pm Reply with quote Back to top

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)
View user's profile Send private message
rovshan
New Member
New Member


Joined: Nov 26, 2005
Posts: 8

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

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
Regular
Regular


Joined: Aug 26, 2007
Posts: 89

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

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:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum