SourceForge has been redesigned. Learn more.
Close

#22 Install Error: unable to write into directory

closed
nobody
None
5
2008-02-12
2006-04-27
No

After a successful installation on Windows / Apache
(despite some bugs), I tried to do the same on a
Linux / Apache server. Here I got the same problem
described by webcoder (see
http://sourceforge.net/forum/forum.php?
thread_id=1357244&forum_id=369628).

Unfortunately the fix (0666 -> 0755) did not work
here. The write access of the temp folder is OK
(tested with test file), but when I start the
setup.php (with one thing changed; 0666 -> 0755),
warnings are given. But now in step 1, so even before
the temp folder is checked! The next step is not
available.

The warnings are:

1) Warning: session_start() [function.session-start]:
Cannot send session cookie - headers already sent by
(output started at /***/tsep/admin/setup.php:1)
in /***/tsep/admin/setup.php on line 2760

2) Warning: session_start() [function.session-start]:
Cannot send session cache limiter - headers already
sent (output started at /***/tsep/admin/setup.php:1)
in /***/tsep/admin/setup.php on line 2760

3) Warning: Cannot modify header information -
headers already sent by (output started
at /***/tsep/admin/setup.php:1)
in /***/tsep/admin/setup.php on line 320

Arman

Discussion

  • H. Bonenkamp

    H. Bonenkamp - 2006-05-24

    Logged In: YES
    user_id=1268369

    I had the same problem with the temp direcory.
    I solved it by using the /tmp directory
    this has a mod of 777

     
  • Anonymous

    Anonymous - 2006-12-15

    Logged In: YES
    user_id=508275
    Originator: NO

    Actually, from what I can tell, TSEP tries to change the directory permissions to 0666 and THEN because the directory is now not eXecutable, it can't get to it. Since I use suPHP, this was particularly annoying for me.

    The trick (for now) is to create your temp directory using another user such as root, but giving the apache (or whoever the php runs as) user access to it. This way TSEP cannot chmod the directory, but can still write into it.

    Angelo

     
  • Anonymous

    Anonymous - 2008-02-10
    • status: open --> pending
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 1 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.