Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunitySetup and InstallationInstallation and Setup (Moderators: scott, DanO, Marty)MESSAGE TEXT MISSING FOR: DBFILE_FILE_OPEN_APPEND error
Pages: [1]   Go Down
Print
Author Topic: MESSAGE TEXT MISSING FOR: DBFILE_FILE_OPEN_APPEND error  (Read 429 times)
0 Members and 1 Guest are viewing this topic.
Lee
Guest
« on: November 03, 2006, 03:31:00 PM »

Per my users, somehow, sometime, somewhere, "it just stopped working."  A lovely and useful description, and of course "nothing changed."  

I *suspect* that when we migrated from one server to another, both running IIS versions (IIS 5 to IIS 6), that it stopped either then, or soon afterwards.  I cannot isolate the problem any further than that.

The problem occurs when someone is attempting to add a new event.  The above error message appears, and the event is not added.  All users use IE 6; there were no known changes to either calendar.pl or calendar_admin.pl scripts (or the $BASE_DIR variable), and it happened with 3.2 and then 3.21 (I upgraded, hoping it would address the problem.)  Restarted IIS, no effect, rebooted system, no effect.

I ran debug.pl and it offered:

"The file does not exist
C:/inetpub/scripts/calendarscript/session/junk.txt"

My guess is that I need to change the $BASE_DIR variable, but all of my attempts to set it correctly have resulted in errors ("The specified CGI application misbehaved by not returning a complete set of HTTP headers".)  My best guess was $BASE_DIR="C:/inetpub/scripts/calendarscript/";
which resulting in the page loading, but I had the same problem as above - the DBFILE_FILE_OPEN_APPEND error.

My file structure is:

C:\inetpub\scripts (contains calendar.pl, calendar_admin.pl)

C:\inetpub\scripts\calendarscript contains all of the other files

My users can view the calendar with no problem; those that can change it can log in with no problem; the only issue is the problem adding entries.

Suggestions?

Logged
Lee
Guest
« Reply #1 on: November 03, 2006, 03:41:00 PM »

Just an update.

Just for kicks, I put a file named "junk.txt" in the "sessions" folder...and then debug.pl says I'm fine.

I put the same $BASE_DIR in for calendar_admin.pl - and I get the same error.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #2 on: November 04, 2006, 08:29:00 PM »

** MESSAGE TEXT MISSING FOR... **

That is caused when one file is not updated during an upgrade. See my comments at the following link:

LINK > Error: Template File Does Not Exist when Adding Event

** DBFILE_FILE_OPEN_APPEND error **

Sounds like there might be a file or directory permissions problem when trying to write to the events.txt file.

JMO

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: