Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Rejected] attachments not uploaded after upgrade to 1.8.21
#1
Bug 
after i do a migration of my forum to a new webhosting and i upgrade from 1.8.18 to 1.8.21

now the attachments not working.. when i upload any attachment and i click "add attachments" button, the page reloads and the attachments remain empty like i m not uploading anything. without generating any error.

Note1: when i open a new thread i have two buttons "add attachment" (this normal) and "update attachment".. i think this second one dont have to be here right?

i uploads folder is chmoded 777 .. i test the permissions by uploading avatar and is work fine.. so the problem is not with folder permissions.

Note2: i was using multiattachments 1.1 plugin (Vintagedaddyo).. but even i disable it still the same issue..

Forum: https://cartechnology.co.uk/
test account: in pm
Php Version: 7.3.11
Mysql Version: MySQLi 10.2.28

Please help .. this is urgent.
Reply
#2
Do you have all files updated to 1.8.21? Run a file verification in AdminCP.

Do you have this issue when you're using default built-in MyBB theme/template?
Worth a try.
Reply
#3
You could have a problem with the theme template "post_attachments_new"...please check it.
Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply
#4
(11-07-2019, 05:23 PM)noyle Wrote: Do you have all files updated to 1.8.21? Run a file verification in AdminCP.

Do you have this issue when you're using default built-in MyBB theme/template?

Thanks for your quick reply.

yes i update all the files .. i run a file verification in AdminCP and i have "Changed" status on all files.

When i try to use the default template i have a blank page.. i think because some plugins compatibility.

(11-07-2019, 05:40 PM)SvePu Wrote: You could have a problem with the theme template "post_attachments_new"...please check it.

i revert "post_attachments_new" and "post_attachments_add" to original. but the same issue..


post_attachments_new
Quote:<tr>
<td class="trow1" width="1"><img src="{$theme['imgdir']}/paperclip.png" alt="" /></td>
<td class="trow1" style="white-space: nowrap"><strong>{$lang->new_attachment}</strong> <input type="file" name="attachment" size="30" class="fileupload" /></td><td class="trow1" align="center"><input type="submit" class="button" name="updateattachment" value="{$lang->update_attachment}" tabindex="12" /> <input type="submit" class="button" name="newattachment" value="{$lang->add_attachment}"  tabindex="13" />
</td>
</tr>


Thanks for your advance
Reply
#5
This is the content from default MyBB 1.8.21 theme template "post_attachments_new"....it's a little bit different

<tr>
<td class="trow1" width="1"><img src="{$theme['imgdir']}/paperclip.png" alt="" /></td>
<td class="trow1" style="white-space: nowrap"><strong>{$lang->new_attachment}</strong> <input type="file" name="attachments[]" size="30" class="fileupload" multiple="multiple" /></td>
<td class="trow1" style="white-space: nowrap" align="center">{$attach_update_options} {$attach_add_options}</td>
</tr>
Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply
#6
(11-07-2019, 06:34 PM)SvePu Wrote: This is the content from default MyBB 1.8.21 theme template "post_attachments_new"....it's a little bit different

<tr>
<td class="trow1" width="1"><img src="{$theme['imgdir']}/paperclip.png" alt="" /></td>
<td class="trow1" style="white-space: nowrap"><strong>{$lang->new_attachment}</strong> <input type="file" name="attachments[]" size="30" class="fileupload" multiple="multiple" /></td>
<td class="trow1" style="white-space: nowrap" align="center">{$attach_update_options} {$attach_add_options}</td>
</tr>

works perfect. thank you very much  Cool

when i activate the multiattachments 1.1 plugin (Vintagedaddyo).. the same prb remain.. i think the plugin is outdated and not compatible with 1.8.21
Reply
#7
Just for reference, the result you get from the ACP File Verification tool should show "Not changed" status rather than "changed"
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
#8
(11-07-2019, 08:27 PM)Ben Wrote: Just for reference, the result you get from the ACP File Verification tool should show "Not changed" status rather than "changed"

thank you for your notes .. so what i have to do to fix that please?
Reply
#9
(11-08-2019, 12:03 PM)info44 Wrote:
(11-07-2019, 08:27 PM)Ben Wrote: Just for reference, the result you get from the ACP File Verification tool should show "Not changed" status rather than "changed"

thank you for your notes .. so what i have to do to fix that please?

Have you made any changes to the core files? It is telling you that the core files have been edited from the default version files.
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)