This "bug" is still present in 0.8.1 and I'd love to see if I could
write around the limitations in the older php version but I need a
little help pointing me to the code that's responsible for the
attachment upload. Since it's an ajax call, it's hard to debug the
script without having the errors in output. Is there a way to debug
the attachment upload code outside the ajax interface? Could anybody
point me in the right direction?

Regards,
Martin

On Thu, Jul 23, 2009 at 12:47, egasus egasus<[email protected]> wrote:
> I was going to report that problem too. I have the same problem. using hardy
> too.
> But it s not about the OS.
>
> 2009/7/23 Martin van Es <[email protected]>
>>
>> I tried a local clean install on my Jaunty laptop and everything works
>> fine.
>> So I set up a clean install on the server (using /install.php,
>> removing the upgraded database and config.php) and still got the
>> error. The server version is ubuntu Hardy. Therefor I suspect Hardy
>> not compatible with laconica 0.8.0.
>>
>> Package versions on the server are:
>> PHP 5.2.4
>> mysql 5.0.51a
>> apache 2.2.8
>>
>> which are fine according to the README.
>>
>> Packages on the laptop are:
>> PHP 5.2.6
>> mysql 5.1.30really5.0.75
>> apache 2.2.11
>>
>> Maybe the version requirements should be a little more restrictive
>> (PHP >= 5.2.6?)
>>
>> Regards,
>> Martin
>>
>> On Thu, Jul 23, 2009 at 11:42, Martin van Es<[email protected]> wrote:
>> > Hi,
>> >
>> > I've just upgraded our laconica 0.7.4 install to 0.8.0 following the
>> > upgrade instructions and wanted to test the attachment functionality
>> > but encountered a problem. After enabling attachments/mime-types in
>> > config and posting a message with attachment I get an error (firefox
>> > dialog) telling me the following:
>> >
>> > Sorry! We had trouble sending your notice (0 n/a). Please report the
>> > problem to the site administrator if this happens again.
>> >
>> > The notices aren't updated and the post seems failed. But when I
>> > reload the page I have new notice containing exactly what I posted,
>> > except that when clicking on the tiny URL I get an empty lightbox.
>> >
>> > However, the file was uploaded into the /file directory and following
>> > the tiny URL to http://<servername>/attachment/16 correctly shows the
>> > attachment.
>> >
>> > Anyone any idea what's going on or a way to debug? I already turned on
>> > PHP logging for the site, but no php errors occur and neither does
>> > laconica.log contain any hints. The only logging I see is access.log
>> > showing a POST request to /notice/new.
>> >
>> > Regards,
>> > Martin
>> > --
>> > if but was of any use, it would be a logic operator
>> >
>>
>>
>>
>> --
>> if but was of any use, it would be a logic operator
>> _______________________________________________
>> Laconica-dev mailing list
>> [email protected]
>> http://mail.laconi.ca/mailman/listinfo/laconica-dev
>
>



-- 
if but was of any use, it would be a logic operator
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to