ElkArte Community

Project Support => Support => Topic started by: gevv on June 23, 2020, 07:40:19 am

Title: Various Errors
Post by: gevv on June 23, 2020, 07:40:19 am
Hi,

Various error messages appear;

1.  errors when posting topics (sometimes)

(Link-6523)

(Link-6525)

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


Title: Re: Various Errors
Post by: radu81 on June 23, 2020, 08:24:59 am
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
 
Title: Re: Various Errors
Post by: gevv on June 23, 2020, 09:55:01 am
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 
Title: Re: Various Errors
Post by: radu81 on June 23, 2020, 02:16:54 pm
I did a test and had no problems using that attachment on a new topic.
Title: Re: Various Errors
Post by: emanuele on June 29, 2020, 10:10:04 am
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.
Title: Re: Various Errors
Post by: gevv on September 06, 2020, 05:04:18 pm
Hello,

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

Does changing the php version fix the problem?
Title: Re: Various Errors
Post by: gevv on December 13, 2020, 01:14:18 pm
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

Title: Re: Various Errors
Post by: Spuds on December 17, 2020, 03:41:01 pm
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