ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: inter on April 27, 2021, 02:15:33 am

Title: 1.1.7 minor errors
Post by: inter on April 27, 2021, 02:15:33 am
perhaps this is what I have started and you do not have such errors. especially since these errors are really minor

after upgrading from 1.0.10 to 1.1.7

php 7.3

1) (...)index.php?action=admin;area=managedrafts   is this address supposed to work?

2) when installing the addon:
PharData::__construct(): open_basedir restriction in effect. File(/(...)) is not within the allowed path(s): (/(...):/home/admin/tmp)

Url: (...)?action=admin;area=packages;sa=install2;package=elk-flarum-style-0.6.0.zip;pid=0
File: /(...)/sources/subs/Package.subs.php
Line: 2513

after the second attempt, the addon is installed without errors

3) Notice: Undefined index: front_page
(?)?action=admin;area=featuresettings;save;sa=layout
File: /(...)/sources/admin/ManageFeatures.controller.php
Line: 230

4) file: Admin.english.php:
find:
https://github.com/elkarte/Elkarte/wiki/downloads

replace:
https://github.com/elkarte/Elkarte/releases



when trying to update from 1.1.6 to 1.1.7 ( ElkArte 1.1.7 patch )

see screenshot (Link-7022)
Title: Re: 1.1.7 minor errors
Post by: Spuds on April 27, 2021, 09:00:52 am
Thanks for the reports.

Quote from: inter – perhaps this is what I have started and you do not have such errors. especially since these errors are really minor

after upgrading from 1.0.10 to 1.1.7

php 7.3

1) (...)index.php?action=admin;area=managedrafts   is this address supposed to work?
Yes that should work, make sure you have enabled drafts in the core features page (or toggle it).  I've done a few 1.0.10->1.1.6 upgrades and those went fine so I'm not expecting anything specific with 1.1.7. 
Quote from: inter –
2) when installing the addon:
PharData::__construct(): open_basedir restriction in effect. File(/(...)) is not within the allowed path(s): (/(...):/home/admin/tmp)

Url: (...)?action=admin;area=packages;sa=install2;package=elk-flarum-style-0.6.0.zip;pid=0
File: /(...)/sources/subs/Package.subs.php
Line: 2513

after the second attempt, the addon is installed without errors
That indicates the addon tried to enter a directory outside a the directory tree specified in your open_basedir  in php.ini or perhaps in a php fpm directives.  It possible you did not see the error a second time if you have ignore_repeated_errors enabled. I don't feel this one is caused by1.1.7
Quote from: inter –
3) Notice: Undefined index: front_page
(?)?action=admin;area=featuresettings;save;sa=layout
File: /(...)/sources/admin/ManageFeatures.controller.php
Line: 230
That one is interesting.  The frontpage functions are pre 1.1.7, so looks like that bug has been around awhile.  Looking at the code its missing an empty check, or a default value for front_page during install/upgrade or acp.   Minor bug that we should track.
Quote from: inter – 4) file: Admin.english.php:
find:
https://github.com/elkarte/Elkarte/wiki/downloads

replace:
https://github.com/elkarte/Elkarte/releases
Or add a wiki page :D ... I think there was some discussion about what to do with the wiki links, there are others that are broken
Quote from: inter –


when trying to update from 1.1.6 to 1.1.7 ( ElkArte 1.1.7 patch )

see screenshot [attach type=thumb]7022[/attach]
I can only assume that another addon made some edits on that file?
Title: Re: 1.1.7 minor errors
Post by: inter on April 27, 2021, 11:14:45 am
QuoteI can only assume that another addon made some edits on that file?
oops! you're right
Title: Re: 1.1.7 minor errors
Post by: forumovod on May 31, 2021, 08:34:36 am
Version 1.1.7
This bug was reported to me by several users.
When you send an disapproved message to the forum, an error warning appears. The message is being sent.

QuoteError
Call to undefined function countUserMentions()

(Link-7061)
Title: Re: 1.1.7 minor errors
Post by: Spuds on May 31, 2021, 10:52:45 am
Thanks, its been logged to the tracker