Skip to main content
Topic: Various Errors (Read 1835 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Various Errors

Hi,

Various error messages appear;

1.  errors when posting topics (sometimes)

uw28X6.png

pb1mtM.png

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


sorry for my bad english

Re: Various Errors

Reply #1

Quote from: gevv – Could the Attachment Image Resize mod be a problem?
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
 
sorry for my bad english

Re: Various Errors

Reply #2

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 

Re: Various Errors

Reply #3

I did a test and had no problems using that attachment on a new topic.
sorry for my bad english

 

Re: Various Errors

Reply #4

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.
Bugs creator.
Features destroyer.
Template killer.

Re: Various Errors

Reply #5

Hello,

@emanuele   how do I solve the error of "filesize (): stat failed for /"

Does changing the php version fix the problem?
sorry for my bad english

Re: Various Errors

Reply #6

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

Code: [Select]
$new = filesize($_SESSION['temp_attachments'][$this->_attachID]['tmp_name']);
Thanks

Last Edit: December 13, 2020, 01:25:00 pm by gevv
sorry for my bad english

Re: Various Errors

Reply #7

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
Last Edit: December 17, 2020, 03:51:43 pm by Spuds