Menu

#100 Operator not able to Administrate

Unknown Error
open
nobody
5
2003-12-23
2003-12-23
Anonymous
No

Name: Rick V
Email: rick@woak.org

Hello

Install and test.php OK.

Able to log on as operator.

Administration gives this:
Warning: open/home/sites/site2/web/phpopenchat/admin/tmp/sess_8955b5101ebf8aea7b2abd3408160254, O_RDWR) failed: No such file or directory (2) in /home/sites/site2/web/phpopenchat/admin/index.php on line 47

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site2/web/phpopenchat/admin/index.php:47) in /home/sites/site2/web/phpopenchat/admin/index.php on line 51

Warning: Cannot add header information - headers already sent by (output started at /home/sites/site2/web/phpopenchat/admin/index.php:47) in /home/sites/site2/web/phpopenchat/admin/index.php on line 52

Warning: open(/home/sites/site2/web/phpopenchat/admin/tmp/sess_8955b5101ebf8aea7b2abd3408160254, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/sites/site2/web/phpopenchat/admin/tmp) in Unknown on line 0

The sessions are being written as 600 for permissions in the tmp directory.:

-rwxrwxrwx 1 15 501 0 Dec 23 12:32 poc_default_lockfile
-rwxrwxrwx 1 15 501 0 Dec 23 11:45 poc_moderation_lockfile
-rwxrwxrwx 1 15 501 0 Dec 23 12:21 poc_testfile
-rw------- 1 15 501 1366 Dec 23 12:05 sess_0e2ef7f967743ef456e75c1bbdb1654f
-rw------- 1 15 501 1160 Dec 23 12:32 sess_8955b5101ebf8aea7b2abd3408160254
-rw------- 1 15 501 1407 Dec 23 12:17 sess_d2d5d057bd4cdbef965c96ffccf94055

What am I missing?

Thanks,
Rick

Discussion

  • Chris Smith

    Chris Smith - 2003-12-30

    Logged In: YES
    user_id=938519

    I figured it out! 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

    open/home/sites/site2/web/phpopenchat/admin/tmp/sess_8955b5101ebf8aea7b2abd3408160254

    What everyone is missing is the word admin in that path -
    it's looking for the tmp directory in the admin directory
    because the top-level script is admin/index.php

    I've tried moving this up and renaming it admindex.php (and
    all the links I can find, etc) but now I just get the login
    page whenever I load admindex.php.

    It seems to me that this is a fundamental design flaw that
    could only have gone unnoticed if no-one did an installation
    on a clean directory with the new version. That is, frankly,
    unbelievable, and does not give me any confidence in the
    overall quality of the program.

    If anyone knows of a chat program written by competent
    programmers can they let me know at simon@mindlib.co.uk

    Thanks.

     
  • Nobody/Anonymous

    Logged In: NO

    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.