News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Help

Started by chaos40, June 15, 2019, 05:38:59 PM

Previous topic - Next topic

chaos40

I've installed smf a few dozen times and never had a problem.

Until now

I'm trying to throw up a test site.

I'm running centos 7 on the latest kernel with apache 2.4.6, mysql 5.5.6 and php 7.2. After I install the site via the install.php file I see nothing but the hyperlinks on the left side of the theme.

It's like the themes folder cannot be accessed or something.

Chowned all the directories to apache:apache  and chmod is 766 on all directories as well.

Don't know what else to try

It's SMF version 2.0.15

thanks

Sir Osis of Liver

Did you run repair_settings.php?

2.0.15 supports up to php 7.1.  It will run in 7.2, but log a lot of errors.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

chaos40

Quote from: Sir Osis of Liver on June 15, 2019, 05:40:59 PM
Did you run repair_settings.php?

2.0.15 supports up to php 7.1.  It will run in 7.2, but log a lot of errors.
Oh.. damn.. didn't know that

do you know the exact commands to get 7.1?

When I run yum it automatically grabs 7.2

I've already done a yum remove php-7* so 7.2 is gone

thanks

Sir Osis of Liver

You should have an option in cpanel to select php version, some crappy hosts don't.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

chaos40

Quote from: Sir Osis of Liver on June 15, 2019, 05:55:53 PM
You should have an option in cpanel to select php version, some crappy hosts don't.
This is a bare metal server I built from scratch

I don't have Cpanel. Only ssh and webmin

Thanks

Sir Osis of Liver

Unless you need 7.2 for something else, leave it in 7.1.  SMF 2.1 supports 7.2, but it's at RC2, I'd wait until it goes final.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


chaos40

Quote from: Sir Osis of Liver on June 15, 2019, 06:04:47 PM
Unless you need 7.2 for something else, leave it in 7.1.  SMF 2.1 supports 7.2, but it's at RC2, I'd wait until it goes final.

I downgraded to 71. php -v outputs the following

PHP 7.1.30 (cli) (built: May 28 2019 12:49:01) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.30, Copyright (c) 1999-2018, by Zend Technologies

The issue still persists though.

So odd

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

chaos40

Quote from: Sir Osis of Liver on June 15, 2019, 06:16:44 PM
Link to forum?
It is not available on the public internet.

I'm currently using hosts files to resolve the name of the site

Sir Osis of Liver

If you're still seeing just text with no images or formatting, it's not loading the css.  That's either a path problem (repair_settings.php), or permissions.  Dir/file permissions should be set to 755/644.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

chaos40

This error is coming up in my /var/log/httpd/error_log

[Sat Jun 15 19:27:27.218456 2019] [php7:notice] [pid 15066] [client 192.168.254.2:57902] PHP Notice:  A non well formed numeric value encountered in /var/websites/stomp/Sources/Subs.php on line 4194, referer: http://test.grounds.com/install.php?step=5


test.grounds.com is the development smf forum I'm building and it is resolved using a hosts file in the /windows/system32/drivers/etc/ folder in windows

chaos40

Quote from: Sir Osis of Liver on June 15, 2019, 07:37:58 PM
If you're still seeing just text with no images or formatting, it's not loading the css.  That's either a path problem (repair_settings.php), or permissions.  Dir/file permissions should be set to 755/644.
Bro.. that did it.

Repair_settings found that the themes url was pointing to http://127.0.0.1 

you mentioned that much earlier in the discourse. Should have listened to you then

All good now.

thanks, man  ;D  have a great weekend, and if you're a daddy, Happy father's day to you too.

Advertisement: