Skip to main content

Fix "uploaded file exceeds the upload_max_filesize directive" error


While uploading theme in Wordpress if you get this error, then please don't get panic. I am here, to give you few steps to resolve this error. If you check this error properly then you will notice that it says about the file size of the theme which has been exceeded. This file size has been defined in "php.ini" file.
Create a file, as mentioned below and save it with the file name "info.php" in "wp-admin" folder. Now run the file in a browser (I am running xampp on my localhost, you could have wamp or webhosting server. Contact your hosting service provider for more details).

Locate Configuration file path and open "php.ini" file with any text editor (I am using notepad++).


Now search the file by pressing Ctrl.+F. It will open search box, type post_max_size and click on Find Next. I set the value to 1000M, you can change the value according to your webpage size limit.

Now in the search box, type upload_max_filesize and click on Find Next. I set the value to 1000M, you can change the value according to your webpage size limit. Save the file and exit.

Now open Wordpress localhost on your browser and again try the upload the desired theme within the limit size you set to "php.ini". I am sure this time you won't get file limit error.

Comments

Popular posts from this blog

How to create shortcut in Library

On this post, I will show you how to create a shortcut to access a folder from Windows Library in a super easy step. 1. Goto your profile from windows Start button (Here, I have Windows 7 installed on my PC). 2. Right click on Libraries on left side of the window pane. Select " New " and then " Library " to create Library folder. 3. Once Library folder is created, right on it and rename Library folder (I gave it a name Downloads). And, Click on " Include a Folder " to create a folder. 4. Show the path of the folder which is to be accessed from the Library and click on " Include Folder ". 5. And, here you are. The shortcut folder and its path is created under Library folder.

How to increase VRAM in VMware

When you get poor graphics performance in VMware, you need to increase vram to get better graphics. To increase graphics value, you need to edit .vmx file of your Guest OS. Goto, VMware folder or to the Guest OS folder to find .vmx file. Once you get that file, open it with a text editor. Click to zoom this Image Depending on the type of VRAM, change the value for your Guest OS. Click to zoom this Image Click to zoom this Image Once you change the value of VRAM (please check above screenshot of VRAM values from 16MB to 512MB). Save the file and exit and then check the Graphics performance of your Guest OS. Click to zoom this Image You are Done. For more details, please check the knowledge-base of VMware website. Link: https://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1003

How to create a Quiz in Google Form

Today we are going to see, how to create Online Quiz in Google Forms. I have provided screenshots so that it would be easy to understand. Goto www.google.com/forms to create a Form. Now click on "New Form" to create a quiz. You can take a Tour to know more about How to create a Form or else you cancel it. Type Form name of your choice to create a Quiz and goto "Settings". To create a quiz immediately, please select the below option and click on "SAVE". Now type your question for the Quiz, choose the correct answer and assign mark/ marks for each question. You can even add brief description for the correct answer. Now click on "+" on right side of the form to add a new question. In a similar manner you can add different Question to the Quiz List. Once the list of Questions are completed, you can click on "Submit" button. You can now play the Quiz to test if it is working correctly. Once yo...