Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Friend is getting errors..

lamentlament
edited March 2006 in Vanilla 1.0 Help
friend says: so my sites just went down for a while, and when they came back up, this appears on my vanilla board: Warning: session_start(): open(/tmp/sess_80e59cc58beb5c8a171cfbafe8a70aa3, O_RDWR) failed: Permission denied (13) in /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php on line 63 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php:63) in /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php on line 63 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php:63) in /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php on line 63 Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php:63) in /home/xxx/xxx/xxx.com/xxx/extensions/WhosOnline-1.0.6.php on line 127 Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php:63) in /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php on line 27 the first thing i tried was resetting the CHMOD for the directory and the Vanilla.Session.class.php file, but that didn't change anything. then i tried restoring my database to an older one, but that also didn't change anything. i think some temp file i cannot access is b0rked, am i somewhat right on this? what could i do to fix this? Oh, and it's a Dreamhost account. [on a side note, Mark, if you can add skurk from YH as a user here, he'd appreciate it, as it's his problem currently and he's not approved as a member yet]

Comments

  • Options
    edited March 2006
    Well, the last four errors are a result of the first one. And the first one seems to indicate that PHP doesn't have write permissions for /tmp
  • Options
    lechlech Chicagoland
    Seems to be a lot of this going around for some reason or another on dreamhost specificly, lament. I think they've up and changed something in either their version of php, apache or mysql which has caused this. I think it's time to poll the consensus of dreamhost users here running vanilla and have them all see if their once working install is now fubar for no reason. From the quick looks of it, it appears that it's unable to store and retrieve a session data, are you experiencing this under all accounts or just a specific one? Write out a trouble ticket and ask if they've changed anything in their setup (nicely) and inquire that you had a working application which is now no longer working. Best answer is directly from the source to see what they did and what we may need to do in order to correct other possible problems.
  • Options
    MarkMark Vanilla Staff
    that error implies that PHP sessions aren't set up correctly. PHP doesn't have write access to the folder where it stores it's temporary session files. Server error.
  • Options
    My vanilla forum on Dreamhost is working fine, as is a couple others on YH (somakitty's).

    but there are some that are having the same error.

    reference thread
  • Options
    MarkMark Vanilla Staff
    Trust me. It's a php configuration error. They should contact their hosting provider with that first error:

    Warning: session_start(): open(/tmp/sess_80e59cc58beb5c8a171cfbafe8a70aa3, O_RDWR) failed: Permission denied (13) in /home/xxx/xxx/xxx.com/xxx/library/Vanilla.Session.class.php on line 63

    It is the source of all the other errors as well.
  • Options
    MarkMark Vanilla Staff
    edited March 2006
    Here is an example of an almost identical error in another application. The final comment is the one you want to read:

    Tehere are some possible sources of your problem: - the "/tmp" folder does not exist - the user you are using for runnig Apache does not have the writing rights on "/tmp" folder You should verify these.
  • Options
    i was the one with the problem, and somehow it fixed itself overnight! thanks for your help, otherwise.
This discussion has been closed.