Calendar Export - Errors

Hi,

i’ve configured the Calendar Export in Dolibarr 3.3.2 hosted on a w8k machine.

Every 1st time the calendar export works (vcal, ics/ical). But when the client polls for the 2nd time it gives an error.

When i actually delete the vcal, ics and ical files on the server in “public”, it works again for 1 time.

Is there a way to fix this ?

Maybe i’m getting it wrong but i’m trying to sync the agenda continuously by not re-configuring the export agenda module.

What do you get when you call the vcal export link from browser ? (1st and second time) ?

See screenshot attached … Dolibarr works fine. And once again, this only happens from de 2nd time i try. Also, if i try a few days later it works again for 1 time.

Remember it’s a W8K machine and if I manually delete the files it works for 1 time again.

Do you also get error when pasting url into a browser ?
If yes, what do you have as error onto apache or php log file (you should have a more complete message into log files) ?

Same error when browsing to the url.
Where do I find these logs and more important are they enabled by default ? If not how do I enable them ?

This are log defined into apache setup.
On a linux server, you often find them into
/var/log/apache

I think the export calendar script is throwing an error because the export still exists. It doesn’t seem to be able the existing export file.

Attached the image with more detailed error

Check into your directory documents/agenda that web server has permissions to write.
Remove also all files into “temp” dir or called “tmp”

Check into your directory documents/agenda that web server has permissions to write.
Remove also all files into “temp” dir or called “tmp”

removing the entire contents of the temp dir, makes is work for 1 time.

Permissions are ok for the php. the function doesn’t seem to be able to delete the file for some reason.

Does anyone else have this problem ?