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)Pending events not saving when updated
Pages: [1]   Go Down
Print
Author Topic: Pending events not saving when updated  (Read 298 times)
0 Members and 1 Guest are viewing this topic.
Andvari
Guest
« on: March 05, 2004, 01:07:00 PM »

I'm the newly appointed webmaster at my company and in the course of making things better, this calendar script broke.

It used to be hosted on an old SGI box running IRIX. Gone is that machine, and now we're running a shiny new redhat 9.0 P3 1.2ghz. This machine is accessable only by the internal network, so I can't list a place to view it at unfortunately.

The machine sits right next to me and I have full root access to anything, so files were not FTP'd, they were directly copied. As of right now, permissions are set to 777 for all files and directories relating to this script. The Debug.pl file reports no errors. I can log into the calendar and view all the events in the "Pending events" section. But if I click "approve" and then "save" it *says* it saved, but the event stays on the list of pending events. I checked in the events.txt file and it didn't do anything to the file.

If there might be an error in the events files, I'm willing to junk them and start over with clean files.

How can I fix this / or start over?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: March 05, 2004, 10:26:00 PM »

** if I click "approve" and then "save" it *says* it saved, but the event stays on the list of pending events. **

Sounds like the data file(s) may have the incorrect permissions and the script is unable to write to them.

** permissions are set to 777 for all files and directories relating to this script. **

Generally data files and their directories only need 766 (or 776) permissions depending on how the server is set up. Chmoding them to 777 may prevent files from being able to be accessed depending...

Dan O.

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

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