Hi,
Various error messages appear;
1. errors when posting topics (sometimes)
Doesn't appear in the Error Log. Could the Attachment Image Resize mod be a problem?
2. error log occurs when entering personal message page
Error type: Not Defined
Notice: Undefined offset: 23
/index.php?action=pm
/index.php?action=pm;f=inbox;start=0;done=sent
file: /public_html/sources/subs/BBC/BBCParser.php
line: 533
3. NoFollow mod is working normally. but it produces an error log
Error type: Not Defined
Notice: Undefined index: host
/index.php?/topic,5029.5000.html
file: //public_html/sources/subs/NoFollow.integrate.php
line: 172
4. error log page links are incorrect;
https://site.com/index.php
?/topic,xxx.html
? Link opens when you delete the symbol
Can you upload here in zip format the attachment you are trying to upload? I also use the Resize add-on so I can do a test
Hi,
I guess it's not about the image file. I can open a new topic and use the same image no error message
My Attachment Image Resizing setting; 1600x0
Create new topic,
Uploading image. no problem.
click "post" button,
error message appears
I did a test and had no problems using that attachment on a new topic.
The undefined indexes are likely due to php 7.3 I would guess you are using.
1.1 still doesn't fully support 7.3, it should work find with 7.2.
Hello,
@emanuele how do I solve the error of "filesize (): stat failed for /"
Does changing the php version fix the problem?
Hi,
@emanuele I did php version 5.6 but the problem persists
error log record;
9qu5b390uUBANURfbyG68mJIAcc34qBp
error: General
Warning: filesize(): stat failed for /public_html/2020/11/post_tmp_10052_966b26626e84b83f8a55dc20e51560f8
/index.php?action=post2;start=0;board=136
file: //public_html/sources/subs/Air_Resize.subs.php
Line: 372
$new = filesize($_SESSION['temp_attachments'][$this->_attachID]['tmp_name']);
Thanks
This error has to do with the attachment image resize addon .... there was some discussion about it here: https://www.elkarte.net/community/index.php?topic=5461.0
In that thread is a version of the Air_Resize.subs.php which may help (that change is in the latest released air addon as well, so if you are running that you already have it)
There are, also some suggestions if you are using Nginx