Skip to main content

Posts

Showing posts with the label Troubleshooting

How to Fix "upload_max_filesize directive in php.ini"

While setting up a new Wordpress test site, I encountered this problem while uploading a new theme which file size is 19MB. Is it happening to you, too? It is important to note that this has nothing to do with Wordpress setup or configuration. It is in the server which your hosts usually put in place to maximize the resources of the server. It can be fixed by changing a parameter in your php.ini file. It can be easily done if your have access to the file. But if you are in a shared hosting environment, you will have to coordinate with your hosting provider's customer support. Here's how we fix it: 1. Locate the php.ini file . In my case, since I am using local XAMPP, it is located in xampp > php folder. 2. Inside the file, edit the following values :      upload_max_filesize = 12M      post_max_size = 13M      memory_limit = 15M     You can set upload_max_filesize to your desired limit. Then I would usually d...

How to Renew Trust Relationships to Domain Server

1. Run Powershell as Administrator in the client computer. 2. Type the following command: Reset-ComputerMachinePassword -Server [name of your domain here] -Credential [domain\admin username] 3. Then Press Enter. Things to check if it didn't succeed: 1. If the client computer's DNS server is pointed to your Domain controller 2. If the client computer can ping the DNS server

How to use pip with Python 3.x alongside Python 2.x

At first I was expecting pip to be automatically installed alongside python3.4 in Kali Linux. To my frustration, it was not. You can try one of the following: 1. To install pip using apt. Type the following command in your terminal: apt-get install python3-pip However in my case, this command doesn't always work. In those cases, I would resort to the next way. 2. Install pip using the python script from Python Packaging Authority . Type the following commands in your terminal: > curl -O https://bootstrap.pypa.io/get-pip.py > python3.2 get-pip.py get-pip.py is a bootstrapping script that enables users to install pip, setuptools, and wheel in Python environments that don't already have them. Hope this helps! Cheers! 

Troubleshoot and Fix "Kali Linux Expired Signature"

This happened when I tried to update Kali: Solution: wget -q -O - https://archive.kali.org/archive-key.asc  | apt-key add Found on Spiceworks: https://community.spiceworks.com/canonical_answer_pages/8934-kali-linux-expired-signature?utm_source=copy_paste&utm_campaign=growth

This kernel requires the following feature not present on the CPU: pae

So I was trying to create a Kali Linux machine for my basic pen testing studies when I run into this error: I first suspected that it has something to do with the kernel version I selected in the Settings > General > Basic but selecting other kernels won't help. Then upon searching, I got the answer from askubuntu.com . If you are here because you encounter the same problem, try following the steps below: 1. Let's make sure that the guest is turned off first so we can modify the settings. 2. Now, right click on your machine and select Settings . 3. On the side menu, click on System . 4. On the right-hand side, click on the Processor tab . 5. Under the Processor tab, make sure that Extended Features: Enable PAE/NX is checked. 6. Now, click OK . 7. Start your virtual machine again. You should be able to proceed with the installation now. Cheers!