Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#294 Error when adding a new event

closed
nobody
None
5
2010-04-06
2010-01-18
Rudy Binedell
No

I keep on getting the following when trying to add a new event
Warning: unlink(/tmp/3587ac5916298506b353e9a234db3300.dat) [function.unlink]: Operation not permitted in /home/simmeran/public_html/Webcalander/includes/dbi4php.php on line 828

What can i do ?

Discussion

  • SammyJones
    SammyJones
    2010-01-26

    I'm having this same problem and have not seen a solution. Anyone?

     
  • SammyJones
    SammyJones
    2010-01-26

    I just found this solution that worked for me:

    The reason for the error is because it's trying to delete the temp files in the /tmp dir of the server.
    Which you do not have access to delete those files.

    I found my solution to be a bit more correct, as the application was designed to have a temp file system. Yes you can comment out the line db_cachedir:
    But you can also change it to another path.

    Example: db_cachedir: /home/user/tmp_cal
    Then CHMOD permissions to 0777

    This will let the application do what is was designed to do.

    Also remember for security reasons do not make db_cachedir: in or after www or public_html

    Hope this helps others..

     
  • Craig Knudsen
    Craig Knudsen
    2010-04-06

    Delete the db_cachedir line from includes/settings.php.

     
  • Craig Knudsen
    Craig Knudsen
    2010-04-06

    • status: open --> closed