M
M
Maxim Vetrov2015-11-24 01:20:58
htaccess
Maxim Vetrov, 2015-11-24 01:20:58

Why can't the theme load in WordPress?

WP Console - Appearance - Themes - Upload New - My Theme Archive.
Although the archive weighed only 6 mb, but WP did not let it through, citing the limit being exceeded.
See screenshot:
MN8_O.png?1448316529
I logged out of the isp-manager panel (because user1 has no way to access this file) and logged in as root. Next to the directory: /etc >>> php.ini

upload_max_filesize=2M >>> change to >>> upload_max_filesize=32M
post_max_size=8M >>> change to >>> post_max_size=32M
max_input_vars = 1000 >>> left by default

I restart the server. The error remains.
I logged into the server again via user1.
Directory /site.ru >>> htaccess file >>> entered these settings:
# increase file upload limits
php_value upload_max_filesize 32M
php_value post_max_size 32M

I restart the server. The error remains.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2015-11-24
@Taraflex

Just upload it via ftp to the themes directory.
https://wordpress.org/support/topic/how-to-install...

A
Alio, 2015-11-24
@Almazka987

Why bother, unzip the archive, put the theme folder in the themes folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question