ElkArte Community

Elk Development => Bug Reports => Topic started by: ahrasis on August 24, 2020, 09:33:02 pm

Title: Php7.4 compatibality
Post by: ahrasis on August 24, 2020, 09:33:02 pm
@emanuele mentioned that current EA is not fully php7.4 compatible and I never fully tested this though I did try running it on php7.4.

Are there a lot of things to do to make it fully compatible to php7.4 or should we just stick to using EA with php7.2?

EOL of php7.2 at 30/11/2020 is mentioned here:
https://www.php.net/supported-versions.php
Title: Re: Php7.4 compatibality
Post by: radu81 on August 26, 2020, 04:53:42 am
I am using 7.3 and it works, I do have some errors on elkarte log, some related to mods and probably some related to elkarte.

I can use my 2 forums and report all the errors I got, if there are plans to make it compatible with 7.4.
Title: Re: Php7.4 compatibality
Post by: Antechinus on September 04, 2020, 10:11:14 pm
I think that would be a good thing to do. :)

Everyone is obviously going to have to move to at least PHP 7.3 soon, so if there are some errors which are easy to patch it'd be good to have a list. If it can be made to work without errors on 7.3 pretty quickly, that will give another year of leeway before 7.3 hits EOL.
Title: Re: Php7.4 compatibality
Post by: radu81 on September 11, 2020, 10:29:30 am
Just cleared my log, but in the next days I will report them. 
Title: Re: Php7.4 compatibality
Post by: emanuele on September 16, 2020, 02:25:08 pm
7.4 if I remember correctly requires few bits.
I think the board index itself is broken in 7.4 (at least for 1.1, 2.0 should have been fixed a while ago), but it should be a minor change to fix.
Title: Re: Php7.4 compatibality
Post by: ahrasis on November 30, 2020, 05:21:24 am
I think the sooner the fixes are released, the better. Today is the last day of php7.2 security support anyway.

I believe php8.0 has also been released so EA compatible to it is also another plus.
Title: Re: Php7.4 compatibality
Post by: emanuele on December 06, 2020, 02:32:37 pm
ehh... yeah...
I'm wasting so much time watching youtube I wouldn't have never imagined a year ago. Really.
I have to find a way to shut it down for good... ;^_^
Title: Re: Php7.4 compatibality
Post by: Spuds on December 06, 2020, 06:33:21 pm
I'm glad I'm not the only one wasting my time on youtube videos LOL ... amazing how that can suck you in
Title: Re: Php7.4 compatibality
Post by: Spuds on December 08, 2020, 03:44:39 pm
I've started to work on the 7.4 issues  ... fixed a few files, mostly importantly the bbc parser.

Anyway if anyone is using 7.4 and can point me at pages / actions that have errors, then do so here, Thanks!
Title: Re: Php7.4 compatibality
Post by: radu81 on December 09, 2020, 02:50:51 am
Just quicly switched to PHP 7.4 and I get this in elkarte error log at any page refresh

Guest
Tipo di errore: Generale
Notice: Trying to access array offset on value of type null
File: /sources/BrowserDetector.class.php
Line: 249

247:if (!isset($this->_browsers['possibly_robot']))
248:{
249:if ($user_info['possibly_robot']) {
250:// This isn't meant to be reliable, it's just meant to catch most bots to prevent PHPSESSID from showing up.
251:$this->_browsers['possibly_robot'] = !empty($user_info['possibly_robot']);
Title: Re: Php7.4 compatibality
Post by: Spuds on December 09, 2020, 09:22:05 am
I think that may be a small bug from SP as I can't reproduce it on my local ... but I added a fix in Elkarte for those lazy addon writers

Just change that 249 line to be
Code: [Select]
if (isset($user_info['possibly_robot'])) {
Title: Re: Php7.4 compatibality
Post by: radu81 on December 10, 2020, 08:43:58 am
This solved that annoying error, thanks Spuds

Now:
Tipo di errore: Generale
Notice: Trying to access array offset on value of type bool
File: /sources/subs/Drafts.subs.php
Line: 458

Code: [Select]
	if ($draft_info['is_usersaved'] == 1)
Title: Re: Php7.4 compatibality
Post by: Spuds on December 10, 2020, 10:13:33 am
That one I saw :D ...  I recall that the is_usersaved flag was not being set when using the PM system, so the update was to add it to that.  There are a few lines involved.    https://github.com/Spuds/Elkarte/commit/a745cf7c30bb628047842bc589378fd7facd9bbc
Title: Re: Php7.4 compatibality
Post by: radu81 on December 10, 2020, 05:57:32 pm
Seems to be solved, that error disapperead ;)


I am using PHP 7.4 on my small forum hyundairacing.it and I am testing first the most used and important tasks, like registration, posting, search, etc...
I just did a new registration, and I got this on elk log:

    Guest
    Tipo di errore: Generale
    Notice: Trying to access array offset on value of type bool
    /index.php?action=auth;sa=check;member=1025
    File: /sources/Load.php
    Line : 294
293:// If it was at least five hours ago...
294:if ($visitOpt['poster_time'] < time() - 5 * 3600)
295:{
The registration worked fine

@Spuds‍ I know it's not your add-on, and I doubt Bugo will answer, but do you have any idea on this error?
https://github.com/dragomano/Optimus/issues/32
Title: Re: Php7.4 compatibality
Post by: Spuds on December 10, 2020, 06:51:30 pm
For that one, changing line 294 to be:
Code: [Select]
			if ($visitOpt === false || $visitOpt['poster_time'] < time() - 5 * 3600)
should resolve that.

I'll try to take a look at Bugo's code

ETA: that Optimus error should be fixed by chanign line 290 to:
Code: [Select]
$context['insert_after_template'] .= implode(',', $list_item);

Title: Re: Php7.4 compatibality
Post by: radu81 on December 11, 2020, 02:54:55 am
Thank you Spuds.
1. member registration works without errors now (tested)
2. Optimus add-on doesn't generate new errors.

I'll test the forum for a few days, then I'll do the same edits on skodaclub.it which has more visits and more probability to find other errors/problems.
Title: Re: Php7.4 compatibality
Post by: radu81 on December 11, 2020, 07:57:03 am
Here's anoter one I found:
Tipo di errore: Generale
Notice: Trying to access array offset on value of type null
/index.php?action=profileInfo;sa=recent;xml;u=595;GrMEj8M=JT67Ghe9Bf2EzMfcrC1SlSZtf2QhPdgJ
File: sources/controllers/ProfileInfo.controller.phpLine: 129


1294:// Set up the context stuff and load the user.
1295:$context += array(
1296:'page_title' => sprintf($txt['profile_of_username'], $memberContext[$this->_memID]['name']),
1297:'can_send_pm' => allowedTo('pm_send'),
1298:'can_send_email' => allowedTo('send_email_to_members'),
Title: Re: Php7.4 compatibality
Post by: Spuds on December 11, 2020, 06:08:15 pm
That one should be this
https://github.com/Spuds/Elkarte/commit/2c2c90defa9934c60c6b8ca7b6cc287b49bcaf47

its not loading memberContext when coming from an ajax call, its really a minor bug that was hidden pre 7,4
Title: Re: Php7.4 compatibality
Post by: radu81 on December 12, 2020, 04:31:16 am
I also applied these edits, TBH I don't know how to test since the error came from a member and I don't know what he did to generate that error.
Title: Re: Php7.4 compatibality
Post by: Spuds on December 17, 2020, 03:28:50 pm
Just to note I've been doing some testing on PHP 8 as well .... and have a PR with a few things that will be needed for that.

Also question ... why is this thread on the internal board, seems like valid community stuff?
Title: Re: Php7.4 compatibality
Post by: ahrasis on December 17, 2020, 10:09:09 pm
We can move it out if everyone're ok with it.
Title: Re: Php7.4 compatibality
Post by: radu81 on December 18, 2020, 03:25:27 am
no problem for me to move it, I cleaned up my posts
Title: Re: Php7.4 compatibality
Post by: ahrasis on December 19, 2020, 04:20:30 am
It is really if ElkArte is php8.0 compatible as well.
Title: Re: Php7.4 compatibality
Post by: Spuds on December 19, 2020, 09:12:56 am
There is a PR pending/in process to 1.1.7 that lets it run fine with 8.0 .... Still checking on a few areas but all seems to be well with those changes applied.  Have not looked at 2.0 just yet.
Title: Re: Php7.4 compatibality
Post by: badmonkey on December 19, 2020, 10:29:48 am
Quote from: Spuds – There is a PR pending/in process to 1.1.7 that lets it run fine with 8.0 .... Still checking on a few areas but all seems to be well with those changes applied.  Have not looked at 2.0 just yet.
 
 Does that mean there is a 1.7? 

;D
Title: Re: Php7.4 compatibality
Post by: Spuds on December 19, 2020, 10:46:58 am
Doing my best to get all the known bugs that are reproducible/fixable so we can wrap it up .. Right now its a big boy, comparing to 1.1.6 it is showing 133 changed files :D
Title: Re: Php7.4 compatibality
Post by: badmonkey on December 19, 2020, 01:46:05 pm
Quote from: Spuds – Doing my best to get all the known bugs that are reproducible/fixable so we can wrap it up .. Right now its a big boy, comparing to 1.1.6 it is showing 133 changed files :D
 
 As always, you da man spuds!
Title: Re: Php7.4 compatibality
Post by: augras on January 24, 2021, 08:38:57 am
Hi,
I'm with php 7.4 since the last week and i only have 2 errors, always the same but a lot of pages :
Code: [Select]
admin
Dimanche 24 Janvier 2021, 14:26:26
IP
CpIAKkPl7JAvliEJg99MPXSRyVni5VUH
Type d'erreur: Générale
Notice: Trying to access array offset on value of type null
https://xxxxxxxxxxxforum/index.php?
Fichier: /xxxxxxxxxxxxxforum/sources/subs/BBC/BBCParser.php
Ligne: 285
admin
Dimanche 24 Janvier 2021, 14:26:26
IP
CpIAKkPl7JAvliEJg99MPXSRyVni5VUH
Type d'erreur: Générale
Notice: Trying to access array offset on value of type null
https://xxxxxxxxxxxxxforum/index.php?
Fichier: /xxxxxxxxxxxxxforum/sources/subs/BBC/BBCParser.php
Ligne: 577
It's only on the elkarte first in 1.1.4, updated to 1.1.5 and finally to 1.1.6.
To test i made a fresh install with a 1.1.6 and no errors : still with php 7.4.
Philippe
Title: Re: Php7.4 compatibality
Post by: Spuds on January 24, 2021, 05:27:19 pm
If I recall correctly that was fixed in 1.1.7 (coming soontm)  You can try that patch file, its been posted on the board, but its not the final final 1.1.7.  As such you would have to, when the time canme, uninstall that beta patch, remove the beta package and install the final patch when it becomes available.
Title: Re: Php7.4 compatibality
Post by: augras on January 25, 2021, 11:44:21 am
ok, i try it. Thank you.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 20, 2021, 01:04:06 am
I am content with the knowledge that PHP 8.x support is being worked on. I look forward to seeing your progress.
Title: Re: Php7.4 compatibality
Post by: ahrasis on February 20, 2021, 02:16:36 am
Last time I read, I was convinced that ElkArte works on php8.0, at least with minimal bugs.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 20, 2021, 02:08:20 pm
Quote from: ahrasis – The last time I read, I was convinced that ElkArte works on php8.0, at least with minimal bugs.
I am saddened to report that, unfortunately, you cannot install ElkArte using PHP 8.0.2. I attempted to test this out on my localhost. I can make it as far as entering my database name, username, and password. Upon hitting submit, I am directed to install.php?step=3 with a white page.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 20, 2021, 02:20:18 pm
Code: [Select]
[Sat Feb 20 14:27:20.568170 2021] [proxy_fcgi:error] [pid 78754:tid 140654970779200] [client 127.0.0.1:57966] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: mysqli_result object is already closed in /srv/http/Ekd/sources/ElkArte/Database/Mysqli/Result.php:55\nStack trace:\n#0 /srv/http/Ekd/sources/ElkArte/Database/Mysqli/Result.php(55): mysqli_free_result()\n#1 /srv/http/Ekd/sources/ElkArte/Database/AbstractResult.php(58): ElkArte\\Database\\Mysqli\\Result->free_result()\n#2 /srv/http/Ekd/sources/ElkArte/Database/Mysqli/Query.php(167): ElkArte\\Database\\AbstractResult->__destruct()\n#3 /srv/http/Ekd/sources/ElkArte/Database/AbstractQuery.php(656): ElkArte\\Database\\Mysqli\\Query->executeQuery()\n#4 /srv/http/Ekd/install/Install_Controller.php(614): ElkArte\\Database\\AbstractQuery->query()\n#5 /srv/http/Ekd/install/Install_Controller.php(56): Install_Controller->action_databaseSettings()\n#6 /srv/http/Ekd/install/install.php(43): Install_Controller->dispatch()\n#7 {main}\n  thrown in /srv/http/Ekd/sources/ElkArte/Database/Mysqli/Result.php on line 55', referer: http://localhost/Ekd/install/install.php?step=0
This is what I pulled from my httpd logs.  I have tried using both Elkarte 1.1.6 and the developer branch from Github.
Title: Re: Php7.4 compatibality
Post by: Spuds on February 20, 2021, 06:06:55 pm
I've been neglect in reviewing the install program, my testing thus far has only been to update PHP versions on an existing install, not yet to install fresh.  So much to do, so much to do
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 20, 2021, 09:51:51 pm
Quote from: Spuds – I've been neglect in reviewing the install program. Thus far, my testing has only been to update PHP versions on an existing install, not yet to install fresh.  So much to do, so much to do
If I had the option to like your post, I would.  In the meantime, please take this reply as my heart-felt gratitude for knowing that you will get to it in due time.  I look forward to your ongoing progress.
Title: Re: Php7.4 compatibality
Post by: ahrasis on February 21, 2021, 12:03:11 am
Quote from: ElkArte-Is-Awesome –
Quote from: ahrasis – The last time I read, I was convinced that ElkArte works on php8.0, at least with minimal bugs.
I am saddened to report that, unfortunately, you cannot install ElkArte using PHP 8.0.2. I attempted to test this out on my localhost. I can make it as far as entering my database name, username, and password. Upon hitting submit, I am directed to install.php?step=3 with a white page.
Must be the installer script because on my already installed elkarte, it is working fine.

There is an option to like a post but I am not sure what is the minimum post requirement for it. You'll definitely see it after some times.
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 10:19:29 am
I have just done an install of the github elkarte/patch_1-1-7 on php 8.0.1 cleanly. So not sure where your error is.

The only error I had was that the url was detected as 127.0.0.1 not the url of the server, but that was simply enough to reset in the theme management.

Edit: Oh you were using the development branch not the existing stable. There might be a bug there.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 11:10:31 am
Quote from: tino – I have just done an install of the github elkarte/patch_1-1-7 on php 8.0.1 cleanly. So not sure where your error is.

The only error I had was that the url was detected as 127.0.0.1 not the url of the server, but that was simply enough to reset in the theme management.

Edit: Oh you were using the development branch not the existing stable. There might be a bug there.
I tried with 1.1.6 and the developer branch. Where did you obtain 1.1.7?
Title: Re: Php7.4 compatibality
Post by: ahrasis on February 21, 2021, 11:35:14 am
He was using this, I guess: https://github.com/elkarte/Elkarte/tree/patch_1-1-7
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 11:38:00 am
Quote from: ahrasis – He was using this, I guess: https://github.com/elkarte/Elkarte/tree/patch_1-1-7

I was indeed.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 01:42:09 pm
I tried 1.1.7. I finally made it past the screen where you are asked for my database name, user name, and password. I made it onto the next screen, where it asks me what I wish to name my community and if you wish to enable a few features. I click on continue and am greeted with a white page that reads, "Table 'mydb.elkarte_categories' doesn't exist"   I can confirm that database was written (see screenshot), but it would seem the installer is not complete. The white page with the error I landed on can be seen on the following URL install/install.php?step=4 

The problem is the install is looking for elkarte_categories but elkarte_categories were not written.  You may wish to check your installer.

Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 01:53:58 pm
For some reason that table wasn’t created, what errors are showing in the Apache log?
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 01:58:24 pm
For fun, I manually created the missing table.  This allowed me to continue with the install and complete it.  However, index.php shows only a white page.  My httpd logs show the following.

I believe this error is generated while existing the installer  (step 6)
Code: [Select]
[Sun Feb 21 13:52:36.031932 2021] [proxy_fcgi:error] [pid 6102:tid 140196146292288] [client 127.0.0.1:48472] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "warning_settings" in /srv/http/Elkarte1-1-7/sources/Load.php on line 70PHP message: PHP Warning:  Trying to access array offset on value of type null in /srv/http/Elkarte1-1-7/sources/Load.php on line 70PHP message: PHP Warning:  Undefined array key "attachmentUploadDir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 140PHP message: PHP Warning:  Undefined array key "time_format" in /srv/http/Elkarte1-1-7/sources/Load.php on line 387PHP message: PHP Warning:  Undefined array key "theme_guests" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1312PHP message: PHP Warning:  Undefined array key "default_theme_dir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1400PHP message: PHP Warning:  Undefined array key "theme_url" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1453PHP message: PHP Warning:  Undefined array key "images_url" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1454PHP message: PHP Warning:  Undefined array key "theme_dir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1455PHP message: PHP Warning:  Undefined array key "theme_dir" in /srv/http/Elkarte1-1-7/sources/Templates.class.php on line 556PHP message: PHP Warning:  Undefined array key "default_theme_dir" in /srv/http/Elkarte1-1-7/sources/Templates.class.php on line 556PHP message: PHP Warning:  Undefined array key "default_theme_dir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1461PHP message: PHP Warning:  require_once(/Theme.php): Failed to open stream: No such file or directory in /srv/http/Elkarte1-1-7/sources/Load.php on line 1461', referer: http://localhost/Elkarte1-1-7/install/install.php?step=6

And this error is generated upon the index
Code: [Select]
[Sun Feb 21 13:53:15.375944 2021] [proxy_fcgi:error] [pid 6462:tid 140196070790720] [client 127.0.0.1:48482] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "warning_settings" in /srv/http/Elkarte1-1-7/sources/Load.php on line 70PHP message: PHP Warning:  Trying to access array offset on value of type null in /srv/http/Elkarte1-1-7/sources/Load.php on line 70PHP message: PHP Warning:  Undefined array key "time_format" in /srv/http/Elkarte1-1-7/sources/Load.php on line 387PHP message: PHP Warning:  Undefined array key "theme_guests" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1312PHP message: PHP Warning:  Undefined array key "default_theme_dir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1400PHP message: PHP Warning:  Undefined array key "theme_url" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1453PHP message: PHP Warning:  Undefined array key "images_url" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1454PHP message: PHP Warning:  Undefined array key "theme_dir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1455PHP message: PHP Warning:  Undefined array key "theme_dir" in /srv/http/Elkarte1-1-7/sources/Templates.class.php on line 556PHP message: PHP Warning:  Undefined array key "default_theme_dir" in /srv/http/Elkarte1-1-7/sources/Templates.class.php on line 556PHP message: PHP Warning:  Undefined array key "default_theme_dir" in /srv/http/Elkarte1-1-7/sources/Load.php on line 1461PHP message: PHP Warning:  require_once(/Theme.php): Failed to open stream: No such file or directory in /srv/http/Elkarte1-1-7/sources/Load.php on line 1461'

More work is required before the release of 1.1.7  I am happy I can bring these to light.  :)
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 02:01:03 pm
I don’t get those errors, you’re going to have to give more information about your environment.

What version of php, what packages, what webserver?
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 02:08:42 pm
Quote from: tino – I don’t get those errors, you’re going to have to give more information about your environment.

What version of php, what packages, what webserver?
Php 8.0.2
Apache 2.4.46
MariaDB 10.5.8

Attached are the configuration files for Apache and PHP. I am doing this only on localhost.
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 02:12:55 pm
What php packages?

I’ll try and recreate it, but mine is going through successfully.

This fix sorts it on the development branch. https://github.com/elkarte/Elkarte/pull/3467/files
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 02:24:53 pm
Quote from: tino – What php packages?

I’ll try and recreate it, but mine is going through successfully.

This fix sorts it on the development branch. https://github.com/elkarte/Elkarte/pull/3467/files
I am sorry, I think you misunderstand.  I have attached the full directory of /ect/php/ which should make it clear what I am using. I have done the same thing for /ect/httpd/

Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 02:31:13 pm
Attached is a full screenshot of a generated phpinfo page. This should make it easier if you need a graphical interface as a point of reference.   :)
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 02:32:17 pm
Thanks, I’m using my phone to check so can’t look at the zip file.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 02:36:38 pm
Quote from: tino – Thanks, I’m using my phone to check so can’t look at the zip file.
Ah. That explains things.  I apologize.
Title: Re: Php7.4 compatibality
Post by: Spuds on February 21, 2021, 02:48:33 pm
I just installed 1.1.7 on 7.4 w/o issue ... could you tell me how many tables it created in your DB?   I'm wondering if it timed out installing tables.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 03:12:16 pm
Quote from: Spuds – I just installed 1.1.7 on 7.4 w/o issue ... could you tell me how many tables it created in your DB?   I'm wondering if it timed out installing tables.
I was going to reply and tell you how unlikely that is to happen on localhost. But then I recall I had been a little lazy and was installing this all into a single shared database with multiple other forums. It is after all only a local test install. But after several tens of thousands of tables with multiple installs it had not yet dawn on me that my mechanical hard drive was likely operating at a snail's pace when I executed the command. Oops!  :-[  

I generated a new database specifically for Elkarte.  It installed.  8)

I do not know why the CSS is not loading. But it is technically installed (see screenshot).  I have a few other forums running just fine (also see screenshot).  But at this point, it is safe to assume it is no longer a PHP issue (I would assume).


 
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 03:15:45 pm
Quote from: Spuds – I just installed 1.1.7 on 7.4 w/o issue ... could you tell me how many tables it created in your DB?   I'm wondering if it timed out installing tables.
To answer your original question there is a total of  78 tables in my fresh install
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 03:16:16 pm
I had the same issue, you need to reset the theme url. It’ll be set to 127.0.0.1 or similar.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 03:27:34 pm
Quote from: tino – I had the same issue, you need to reset the theme url. It’ll be set to 127.0.0.1 or similar.
In the database, I noted elkarte_themes did indeed have it set to 127.0.0.1 (twice) I changed it to localhost.  Still did not correct the issue.
Title: Re: Php7.4 compatibality
Post by: tino on February 21, 2021, 03:30:21 pm
Inspect the loading via the browser. See if it’s giving a 404 error on the css file.
Title: Re: Php7.4 compatibality
Post by: ElkArte-Is-Awesome on February 21, 2021, 03:34:12 pm
Fixed it.

For whatever reason the path was wrong. It was looking for http://localhost/elkarte/themes/default/images
But I had installed it in a folder called E117 so the correct path should have been http://localhost/E117/themes/default/images

Boy, installing this locally was a pickle. lmao  

Thank you for your help.  8)