ElkArte Community

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

Title: 1.1.7 minor errors
Post by: inter on April 27, 2021, 08: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 X
Title: Re: 1.1.7 minor errors
Post by: Spuds on April 27, 2021, 03:00:52 pm
Thanks for the reports.

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. 

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

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.
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



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, 05:14:45 pm
Quote
I 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, 02:34:36 pm
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.

Quote
Error
Call to undefined function countUserMentions()

X
Title: Re: 1.1.7 minor errors
Post by: Spuds on May 31, 2021, 04:52:45 pm
Thanks, its been logged to the tracker