News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Error with themes in 2.1.4 SMF

Started by kesulin, January 30, 2025, 08:59:50 AM

Previous topic - Next topic

kesulin

I upgrade (large upgrade) my forum to 2.1.4 and install some themes, but any of them work, all cause blank screen.

In the log server can see:
2025-01-30 14:43:20 Error 54.77.203.39 500 GET /index.php?action=profile;u=5776;area=theme HTTP/1.0 https://proba.labsk.net/index.php?action=theme;sa=pick;u=5776 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 526 Acceso SSL/TLS a Apache
2025-01-30 14:43:20 Error 54.77.203.39  AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected 'object' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/vhosts/labsk.net/proba.labsk.net/Themes/NameX_v1.4.2/themecustoms/Theme/Integration.php on line 20', referer: https://proba.labsk.net/index.php?action=theme;sa=pick;u=5776+

php versión in server is 7.3.27

¿What is the problem in my forum?

thanks in advance.

Dave J

If you upgraded from 2.0.19 or similar then the old themes will no longer work on 2.1.4. You need to choose new 2.1.4 themes from here

kesulin

Quote from: Dave J on January 30, 2025, 09:05:37 AMIf you upgraded from 2.0.19 or similar then the old themes will no longer work on 2.1.4. You need to choose new 2.1.4 themes from here
Yes, I know. I install 2.1.4 themes and they are not working.

This one, for example:
https://custom.simplemachines.org/index.php?theme=3003

Illori



Dave J

Does the SMF Default theme work? Do you have any other 2.1.4 themes working?

Have you tried to upgrade the PHP to PHP8.0, it might be that some themes only work with the higher version.

TwitchisMental

Quote from: kesulin on January 30, 2025, 09:43:09 AM
Quote from: Dave J on January 30, 2025, 09:05:37 AMIf you upgraded from 2.0.19 or similar then the old themes will no longer work on 2.1.4. You need to choose new 2.1.4 themes from here
Yes, I know. I install 2.1.4 themes and they are not working.

This one, for example:
https://custom.simplemachines.org/index.php?theme=3003
That specific theme does require PHP 8.0+ .

kesulin

Quote from: Dave J on January 30, 2025, 10:09:04 AMDoes the SMF Default theme work? Do you have any other 2.1.4 themes working?

Have you tried to upgrade the PHP to PHP8.0, it might be that some themes only work with the higher version.

Default theme works, but any of the custom themes do.

Maybe is PHP version, I going to try to update php to 8.

Thanks!

Advertisement: