Skip to content

custom theme doesn't work on linkstack #819

Closed
@darongtt

Description

@darongtt

LinkStack version

4.8.0

Description

I wanna upload new theme, and when I wanna do it through background, it keep said "413 Request Entity Too Large", even if I modified the nginx conf file and php.ini file and enlarge the file size, so I change another way to upload it, I just directly download the theme zip file and then upload to the server to finalshell, and i upload it to /var/www/html/linkstack/theme and then I just unzip it, and I select it and it keep showing this below
image
it said this line @if(theme('enable_custom_code') == "true" and theme('enable_custom_head') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-head')@endif occurs error

Details about your system

php 8.2
I tried debian 11 and ubuntu 22.04 this situation occurs anyway

How to reproduce

i use it like a normal user and it produce the problem

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions