Menu

#102 /tmp fails in sub directories

open
nobody
5
2003-12-30
2003-12-30
Anonymous
No

Name: Al
Email: al@indicube.com

When /admin/index.php is called it b0rks trying to use "/blahblah/htdocs/admin/tmp" instead of "/blahblah/htdocs/tmp" for session files. Quick fix: create a symlink in /admin

Discussion

  • Chris Smith

    Chris Smith - 2003-12-30

    Logged In: YES
    user_id=938519

    I never thought of that. I did the following:

    It's a temporary solution but it works. Create a temporary
    file in the same directory as config.inc.php. Just put one line
    in the file that looks like this:

    <? echo realpath('.'); ?>

    Point your browser to that file and copy the path that shows
    up. Change line 69 of config.inc.php from this:

    define('TMPDIR', realpath('.').'/tmp');

    to this:

    define('TMPDIR', 'path-you-copied/tmp');

    I don't think that this is a real solution but it worked for me
    and I'm off and running with it.

    Hope it helps you,
    Chris S.

     
  • Nobody/Anonymous

    Logged In: NO

    Solution is:

    http://sourceforge.net/tracker/index.php?
    func=detail&aid=895411&group_id=14195&atid=114195

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.