This question about Installation of Foswiki, Configuration: Answered

Cannot upload attachments via browser

-- AlistairTempleton - 30 Aug 2017

When attempting to upload attachments, I get the following message in my browser:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Error in tempfile() using template path: Could not create temp file path: No such file or directoryStatus: 302
Content-Type: text/html; charset=utf-8
Set-Cookie: FOSWIKISID=bbdd06a4f020bfb1dcefc02d5715de13; path=/; HttpOnly
Date: Wed, 30 Aug 2017 16:30:20 GMT

This worked at some point in the past without any major changes to the computer's configuration, but I have the following:

Redhat running apache, Foswiki 2.1.2. This is on an intranet where everything is accessed by IP.

All pages which have already been created are viewable. I tried messing with the temporary file path and changing it from the default /tmp, and have given read/write/execute permissions to those paths with no change.

Not an experienced linux/perl/foswiki admin so I would not overlook any possible stupid mistakes.

Edit: It was indeed a stupid mistake. It turned out some temp directories created by apache were deleted after the fact. Apache simply needed to be restarted.


QuestionForm edit

Subject Installation of Foswiki, Configuration
Version Foswiki 2.1.2
Status Answered
Related Topics
Topic revision: r3 - 30 Aug 2017, GeorgeClark - This page was cached on 03 Jun 2020 - 16:46.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy