•  

Forum

Moderated by: stefan, hombergs, xweber
Forum: Bugs
Post Reply in Topic: WARNING [8] session_start():
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
jdub

Joined: July 04, 2004
Posts: 6
Send private message to jdub
WARNING [8] session_start():

Posted: 2004-07-11 10:29

Thanks again!


Quote Printer friendly page upwards
[manne]

Joined: April 12, 2003
Posts: 198


Send private message to [manne]
WARNING [8] session_start():

Posted: 2004-07-11 09:47

This is because your hoster allows the /tmp not for webusers.

You need a directory where you are allowed to write to.


1. open mainfile.php
2. search the line: $install_dir
3. after this line make a new line
4. add in this empty line:
$opnConfig['system_session_save_path'] = ''/path/to/a/directory/with/writeaccess';
5. save mainfile.php

Now the sessions should work.

manne


Quote Printer friendly page upwards
jdub

Joined: July 04, 2004
Posts: 6
Send private message to jdub
WARNING [8] session_start():

Posted: 2004-07-11 08:49

I get this error at random times:

WARNING [8] session_start(): ps_files_cleanup_dir: opendir(/tmp) failed: Permission denied (13)
FOUND IN [class/class.opnsession.php]
FOUND AT 270

Code at 270:
function init_session () {
     if (!defined('_OPN_SHELL_RUN')) {
          // session_name ('OPNSESSION');
          // session_save_path('/tmp');
          session_start();
          }

Is this error from the user/group permissions to the path /tmp of the system?
If this is true, is setting the permissions of /tmp of the system safe?
Or perhaps a workaround?
Or do I even know what I'm talking about?


Quote Printer friendly page upwards
 
Page took 0.08925 seconds to load