•  

Forum

Moderated by:
Forum: Improve OPN
Post Reply in Topic: You didn't took the BEST from nuke
Go to: OpenPHPnuke International Support Forum Index


About posting: Anonymous users can post new topics and replies in this forum.
Nickname:
Message Icon:
                                                                                                                       

more...


HTML : On
BBCode : On
 
BoldItalicUnderlineStrike|SuperscriptSubscriptTypewriterMarquee|Preformatted TextLeft AlignCenteredRight AlignJustify|Horizontal Line
Insert PictureInsert EmailaddressInsert LinkInsert WikipediatermInsert Wikibookterm|Insert QuoteInsert Code|Insert unordered ListInsert ordered ListInsert Listitem|Insert DefintionlistInsert DefinitiontermInsert Defintion|Insert TableInsert TablerowInsert Tablecol|Smilies show/hide
 
Options:







 
Security Code
Security Code
reload

Topic Review

Author
cmsinfo
Joined: October 03, 2003
Posts: 20
Send private message to cmsinfo
You didn't took the BEST from nuke

Posted: 2003-12-17 16:34

hombergs thnx


Quote Printer friendly page upwards
hombergs
Joined: April 14, 2003
Posts: 127


Send private message to hombergs
ICQ AIM YIM MSNM
You didn't took the BEST from nuke

Posted: 2003-12-16 20:43

Prpblem fixed. cmsinfo replaced ['PHPSESSID'] with ['session_name()']. That was wrong. the correct replacement ist [session_name()]



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards
cmsinfo
Joined: October 03, 2003
Posts: 20
Send private message to cmsinfo
You didn't took the BEST from nuke

Posted: 2003-12-16 18:39


// returns a string like 'PHPSESSID=b188e8c9c45b347cdded2...'

function get_sid_string() {

return session_name().'='.session_id();

}


still
Quote:
Error Code: 8001


ERROR: Wrong script calling.


Quote Printer friendly page upwards
hombergs
Joined: April 14, 2003
Posts: 127


Send private message to hombergs
ICQ AIM YIM MSNM
You didn't took the BEST from nuke

Posted: 2003-12-15 18:15

One change forgotten. Sorry.

class/class.opnsession.php

function get_sid_string

the return must look like this:
return session_name().'='.session_id();



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards
cmsinfo
Joined: October 03, 2003
Posts: 20
Send private message to cmsinfo
You didn't took the BEST from nuke

Posted: 2003-12-15 16:40

Apache 1.3.29 (Unix)

PHP 4.3.4
mySQL 4.0.16-standard


Quote Printer friendly page upwards
cmsinfo
Joined: October 03, 2003
Posts: 20
Send private message to cmsinfo
You didn't took the BEST from nuke

Posted: 2003-12-15 16:25

Quote:
openPHPnuke Error

Error Code: 8001


ERROR: Wrong script calling.

After replacing PHPSESSID with session_name()
Any other ideas?


Quote Printer friendly page upwards
anonymous
Unregistered User
You didn't took the BEST from nuke

Posted: 2003-12-14 21:57

Quote:
2003-12-14 07:02
cmsinfo wrote:
...
And about theme topic
I think you didn't took THE BEST feature from php-nuke.
DOESN'T MATTER WHAT DIRECTORY CMS IN!
I think it's GOOD for system!
Nuke can be anywhere and it doesnt ask WHERE TO FIND ANY FILE.

And all other cms's that works with phisycal patc a very hard to install and replace

Sorry, but there are several reasons, why to use "opn style" on this:

1. its not a generic function to tell the script the "true" place. Automatic fill fail in most "high-secure-configuration" enviroments.

2. Simply Security: So you cant manipulate the path if you are a bad guy.

3. Performance.

Alex


Quote Printer friendly page upwards
hombergs
Joined: April 14, 2003
Posts: 127


Send private message to hombergs
ICQ AIM YIM MSNM
You didn't took the BEST from nuke

Posted: 2003-12-14 19:59

manne has give you a wrong information. You must replace PHPSESSID with session_name() and not with session_name. Cause that's a PHP function.



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards
cmsinfo
Joined: October 03, 2003
Posts: 20
Send private message to cmsinfo
You didn't took the BEST from nuke

Posted: 2003-12-14 18:41

damn.. I'm becoming a bit nervious.
I changed all PHPSESSID and it'a a bit helped.
Now I can access Admin Sidebox link.
http://www.rupor.net/cms/portals/opn/admin.php works fine too
but when I try to go by http://www.rupor.net/cms/portals/opn/admin.php?s=13dd5bb9206da0392e4aac960d8e081e this link I get
Quote:
openPHPnuke Error

Error Code: 8001


ERROR: Wrong script calling.
again


Quote Printer friendly page upwards
[manne]

Joined: April 12, 2003
Posts: 198


Send private message to [manne]
You didn't took the BEST from nuke

Posted: 2003-12-14 17:19

Yes, itīs a bug in RC1 and solved in future versions.

Workaround:
Search the file master.php, itīs located in your opndirectory.
Open this file and edit:
Search for PHPSESSID and replace with session_name
You should find 3 places where to change.
Save the file.
Thatīs it.

hope it helps
manne


Quote Printer friendly page upwards
2 pages ( 1 - 2 )
 
Page took 0.12276 seconds to load