Skip to main content
Topic: Php7.4 compatibality (Read 5774 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Php7.4 compatibality

Reply #45

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.
I use Mozilla Firefox.

Re: Php7.4 compatibality

Reply #46

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

Re: Php7.4 compatibality

Reply #47

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/

I use Mozilla Firefox.

Re: Php7.4 compatibality

Reply #48

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

Re: Php7.4 compatibality

Reply #49

Thanks, I’m using my phone to check so can’t look at the zip file.


Re: Php7.4 compatibality

Reply #51

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.

Re: Php7.4 compatibality

Reply #52

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


 

Re: Php7.4 compatibality

Reply #53

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

Re: Php7.4 compatibality

Reply #54

I had the same issue, you need to reset the theme url. It’ll be set to 127.0.0.1 or similar.

Re: Php7.4 compatibality

Reply #55

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.
I use Mozilla Firefox.

Re: Php7.4 compatibality

Reply #56

Inspect the loading via the browser. See if it’s giving a 404 error on the css file.

 

Re: Php7.4 compatibality

Reply #57

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)
I use Mozilla Firefox.