This is a known issue. You cannot call ns_conncptofp if you have
previously called ns_getform
for a connection.Or something like that :). I am sure it is in the archives.
Dave
Jim Wilcoxson wrote:
>This problem is occurring in ns_getform, so the relevant code is:
>
> set fp ""
> while {$fp == ""} {
> set tmpfile [ns_tmpnam]
> set fp [ns_openexcl $tmpfile]
> }
> ns_conncptofp $fp
>
>The disk is not full and this problem is very sporadic so I'm pretty
>confident that the directory is accessible.
>
>I looked at ns_openexcl, and it throws an error if the file already
>exists, so I don't think that's it either.
>
>Plus I still don't understand what:
>
>Error writing content: Success
> while executing
>"ns_conncptofp $fp"
>
>means... Both errors have been sporadic enough - once or twice every
>day or two - that we have just ignored them until it gets worse...
>
>Jim
>
>
>
>>>>Error writing content: resource temporarily unavailable
>>>> while executing
>>>>"ns_conncptofp $fp"
>>>>
>>>>
>>This probably means your AOLserver instance doesn't have write
>>permission where $fp points, or the directory doesn't exist. Verify that
>>the AOLserver user can write to where $fp is.
>>
>>--Tom Jackson
>>
>>
>>