File attachments stops working [message #162657] |
Tue, 29 June 2010 15:38 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
In my thread that serves as my news content, attached files stop working for some reason.
In the fud26_msg table, the attach_cnt is not updated and in fud26_attach it looks like this:
id location original_name owner attach_opt message_id dlcount mime_type fsize
9916 9767_2.jpg 4 0 0 0 10 7511
9915 Mineral_01.png 1472 0 0 0 15 92221
9914 lk_down_nord.jpg 4 0 0 11 10 156850
I enabled error reporting with
ini_set('display_errors',1);
error_reporting(E_ALL|E_STRICT);
but no errors are shown. The forums error log does not show any errors either and neither does my php/apache log.
As you can see, the location and message_id fields are empty, why can this be?
I got the error earlier in a long thread with around 100 replies and 1 attachment in each reply, more or less and I couldnt fix it, so I moved that thread somewhere else and started using this one as my "news item" instead, but now this one broke also and I cannot for the death of me figure out what is wrong.
Ginnunga Gaming
[Updated on: Tue, 29 June 2010 16:45] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: File attachments stops working [message #162664 is a reply to message #162663] |
Wed, 30 June 2010 06:24 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
I split off a bunch of the messages in the thread and now I can attach messages again.
Perhaps it has to do with my modified sort order and max messages shown per thread. I'll see if I can use @define to alter the search order instead of altering the SQL.
Ginnunga Gaming
|
|
|
|