Question
Hi.
I have a problem with uploading (attaching) files to my twiki. The problem seems to be sporadic and has changed its behaviour with a mod to save.pm. Let me start from the start.
There was an initial complaint from a user that there browser was unable to complete uploads. I looked in the apache error log and the error message I found was:
Save.pm: "my" variable $meta masks earlier declaration in same scope at ..lib/TWiki/UI/Save.pm line 101.\n
I looked this error up on the web and someone had said to just comment out this line... so I did. And the error seemed to stop appearing but the behaviour in the web browser remained the same.
Eventually a user worked out how to get around this. Monitoring the processes on the server while a client make an attachment request he found that a perl.exe process seemed to hang.. and if he killed it manually the upload would complete.
This lead him to believe that there was an error in perl.exe, but I found someone else on the web who seemed to have the same problem and related it to the void skin. which is what we are using.
Any help would be much appreciated.
Asim
Environment
--
AsimKhan - 11 Oct 2004
Answer
It looks like I too have fixed the problem by removing the void skin.
Is this a known problem with the void skin or has anybody seen it with any other skin.
Am I just talking to myself or does somebody actually read this.
Asim
Thanks for the update, Asim. Although no one answered your question (probably because TWiki.org doesn't have installed a good notification system to alert the people most able to answer it), your updating of the answer will serve other people who have the same question. Assuming that is, they search before submitting (which is unfortunately not enforced because TWiki.org does not enforce a search before submission: google is the best way to search).
If it is any consolation, you've got a better chance of the core team member answering your query than we have of him delegating enough power to a large enough set of people to effectively attend to the numerous
PatchProposals that have been queuing for the last 4 years.
If you think this is a bad way to treat people who are trying to help, you are not alone.
--
MartinCleaver - 13 Oct 2004
Thanks Martin.
Update: I installed the dragon skin... and low and behold the same problem arises. It seems to me as though this version of the twiki doesnt handle skins too well. Or maybe I am missing some variable somewhere. I tried setting the ATTACHFILESIZELIMIT to 10000 rather than 0 but it still didnt work.
Im thinking of an upgrade to the Sep release of Twiki... maybe this is the easiest solution.
--
AsimKhan - 13 Oct 2004