Can't install wordpress theme - wordpress

I downloaded the theme from the website and want to install it. But it said
Warning: POST Content-Length of 24413939 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
Are you sure you want to do this?
Please try again.
I press try again, and it back to the control panel and nothing happen, so how can I install the theme successfully?

You need to update your php.ini file following variable:
post_max_size
OR
If php.ini not accessible try pasting your theme directly under wp-content/themes directory and it will appear on your dashboard->themes.

Related

I have a Windows hosting and I need to use Wordpress on it

I know that this hosting is not the best for Wordpress but unfortunately I can't change it anymore, whenever I try to install a plugin it shows the error "No working transports found" I researched how to fix it and everywhere it shows me to uncomment a php line. ini but I need to fix this on Windows, can anyone help me?
Yes, you will need to uncomment a line in php.ini
You need to:
(1) find the location of php.ini in your Windows server,
(2) open the php.ini file, search for ;extension=openssl and uncomment that line by removing the ;
Note: If you're running a PHP version older than 7.2.0, the extension's file name may be extension=php_openssl.dll instead of ;extension=openssl in the php.ini file.
(3) if you’re running PHP as an Apache module, restart the Apache server to make sure the changes are reflected.
How to Find the Location of php.ini in Your Windows Server:
To find the location of php.ini in your Windows installation, you will need to run the phpinfo() function.
Follow the steps below:
(1) Create an empty file called phpinfo.php and place it in your document root,
(2) Edit the file and place the following content in it:
<?php
phpinfo();
?>
(3) Save and close the file.
(4) Open the file in your browser and you will see the output of phpinfo().
(5) Search for Loaded Configuration File and you will find the location of your php.ini file.
Once you have found the php.ini file, you may then proceed to open it and uncomment ;extension=openssl.

Cannot Install Wordpress Plugin (Download failed)

i am using WordPress 3.6.1 and I have strange problem today. First I have to tell that my current website was copied from old website, both the WP files and database.
So in the current website, I try to install new plugin, but it returns error:
Downloading install package from http://downloads.wordpress.org/plugin/xml-sitemap-xml-sitemapcouk.zip…
Download failed. Could not open handle for fopen() to /home/k5841724/public_html/wp-content/uploads/xml-sitemap-xml-sitemapcouk.tmp
Then all my plugins are dissapered (Akismet, Hello Dolly, etc), and I can't install any plugin. Nothing wrong with my permission, /wp-content, /wp-includes, /wpcontent/uploads all are set to 755. Any idea what is the solution for this issue? Thanks.
addition note:
all my plugins folder (Akismet, etc) still there inside wp-content/plugins folder, but not appear in WP Dashboard.
You should check permissions for folder wp-content/uploads
I think wordpress can't write to this folder. Set for this folder permission 777 and try again.
I have experienced the same error with plugin installation.
In my case it was very informative to change WP_DEBUG to true in my wp-config.php file.
After doing so I have noticed the error message, telling me that open function is disabled due to security reasons.
Try changing your php.ini settings so that disable_functions doesn't contain fopen

Wordpress Fatal Error

I'm trying to learn wordpress by creating an e-commerce website every time I load the web page I get the following error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) in /public_html/wp-content/plugins/wp-e-commerce/wpsc-widgets/category_widget.php on line 61
So far I have tried the following:
putting this at the top of the wp-config.php file
define('WP_MEMORY_LIMIT', '64M');
and putting this at the top of the .htaccess file
php_value memory_limit 64M
I can't even access wp-login.php page as it throws the same error.
When the admin is inaccessible, the first step is to connect via FTP and rename the folder wp-content/plugins to plugins-old and try to connect.
It will probably work. Then rename the folder back and go enabling the plugins one by one until you find the culprit. If not, do the same with the themes folder.
Useful info:
Troubleshooting Master List
Similar posts at WordPress Answers

Wordpress Configuration File

I have insatlled wordpress 3.3.1 recently. I have not confirgured wp-config.php file before installation, after installation, i have copied the wp-config-sample.php to wp-config.php & edit the details accordingly, but this wp-config file is not reflecting actually.
What may be the reason, how to make this enable so that wp-config file will be included while loading wordpress files,
Moreover from where the db & other settings are loaded in Wordpress.
Thanks !
Make sure that wp-config.php is in the right location (webroot), and that the file has the appropriate permissions. If everything checks out ok, check the apache logs.
Please make sure that you follow the following steps
I can only assume you are on a windows machine, since I've had the same problem, but not in Linux.

Wordpress Blank Install Page

I uploaded a freshly downloaded copy of Wordpress 4.2.2 here: http://www.onedayonemillion.com/test/ and all I get is a blank page.
There are no .htaccess or wp-config.php files in the root directory.
No database has been connected yet.
I tried the same in another directory (/dev/) and it did the same.
I have no plugins installed or activated.
This is a fresh copy.
I added an phpinfo file here: http://www.onedayonemillion.com/test/info.php
Why can't I even get the install page to show up?
I didn't understand why there is no wp-config.php in the directory, it would be good you post what is in the directory. Anyway, you can check items like (sometimes it is just that):
some files with no ending "?>" ending the file;
any require_once methods calling non-existing files
(you said no, but) wp-config has wrong or non-set definitions (user, database)
check permissions/ownership to the folder
Well, I know it can be lame, but I had problem with definition in WPLANG define,
so I put an
echo "<br> there is no error until here";
through the files untill I find that was missing a comma at the definition. If the phrase is displayed, your installation files untill that point are working out.
Your phpinfo says the display_errors is off.
modify your php.ini with this line:
display_errors = on
you should restart the server after modification.
you can only track the error only if the error reporting is on in the server

Resources