Skip to main content
Topic: Attachment Repair  (Read 1494 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Attachment Repair

Hy everyone, I'm using Elk 1.1.6 .

I've noticed that the feature "repair attachment" in "Administration > Panel dose not work in my case.

After checking and repairing the errors are still found  by Elkarte ( and probably still there).

Any suggestion ?

Thanks  :)

Screenshot from 2020-11-24 10-37-08.png

Re: Attachment Repair

Reply #1

hmm... could you check the log to see if any error is reported that could be linked to that?
Bugs creator.
Features destroyer.
Template killer.

 

Re: Attachment Repair

Reply #2

Thanks Emanulele, looking the log errors I find a lot of this kind of errors

Screenshot_20201125_222603.jpg

Code: [Select]
	
// The only special case is 'html', which doesn't need to close things.
285:
if ($tag[Codes::ATTR_BLOCK_LEVEL] && $tag[Codes::ATTR_TAG] !== 'html' && !$this->inside_tag[Codes::ATTR_BLOCK_LEVEL])
286:
{
287:
$this->closeNonBlockLevel();

Actually I'm using php 7.4.13 

This version has been automatically set by my  provider  "One" ... >:(
When elkarte was insalled in 2018  I did the choice of   php version 7.2 .

Now I changed from 7.4 to 7.3 lets see if it can be of any differenze  :)
Last Edit: November 26, 2020, 03:11:19 am by Zioclive

Re: Attachment Repair

Reply #3

Update: changing from php 7.4 to 7.3  the errors at line 285 have stopped.

Unfortunately nothing has changed in fixing the attachments errors

Re: Attachment Repair

Reply #4

I am afraid that ElkArte is currently only suitable up to php7.2. I haven't tested this thorougly with php7.3 to php8.0 but there are reports of bugs for php7.3 and php7.4 already.

Re: Attachment Repair

Reply #5

https://www.php.net/supported-versions.php

seems php  7.2's security  support will end on 30 November 2020, so I'll keep my forum on php 7.3 until I can.

Unfortunately my provider www.One.com  "simply" removes a php version from being available  "for security reasons"   :-X  as soon as the security supports ends.

Re: Attachment Repair

Reply #6

We noted that already. Actually it is best to report for bugs in the github. Until it is fixed, nothing much can be done.

Re: Attachment Repair

Reply #7

Anyway I have all the time I need for changing my actual internet provider    to another one less... how can I say...  less uncompromising  ;) .


Re: Attachment Repair

Reply #9

Thank you !!!!  :D