I have been scratching my head all night to get this thing fixed! We have been using Slick Carousal in one of our projects and it breaks whenever ‘dir=”rtl” is injected into the body tag.
I wish I had came across this before because it costed me a good night sleep and 2 cups of coffee to make it work in the arabic version of the website.
The solution was plain simple, you basically have to use the following option when initializing the carousal:
Tried UNetbootin but didn’t work out! Command Line saved the day yet one more time.
- Download Ubuntu ISO
- Convert the Downloaded File Format
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
- Determine the Device Node for the USB Drive
- Unmount the USB
diskutil unmountDisk /dev/diskN
- Create the Bootable USB Drive
sudo dd if=/path/to/ubuntu-14.04-desktop-i386.dmg of=/dev/rdiskN bs=1m
- Prepare to Remove the USB Drive
diskutil eject /dev/diskN
Regarding the dialogue box, click Ignore to get rid of it.
Get the path of running Apache
$ ps -ef | grep apache
apache 12846 14590 0 Oct20 ? 00:00:00 /usr/sbin/apache2
-V argument to the path
$ /usr/sbin/apache2 -V | grep SERVER_CONFIG_FILE
If you issue the following command in terminal:
php --i | grep ini
This will show you the loaded pho configuration file. My output was this:
Loaded Configuration File: /usr/local/etc/php/5.6/php.ini
But when I upgraded my MacOS from El Capitan to Sierra, updating the above file didn’t reflect any change on my development websites. WordPress was still showing 2 MB even though I was using the following:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
After googling here and there, I found a solution. Thanks to Gergely on stackoverflow here.
First use phpinfo to find out the current loaded file.
You would see:
Loaded Configuration File None
now open your terminal:
cp /etc/php.in.default /etc/php.ini
Thats it. Make any change to the newly copied file and it would update in the webserver without any issues 🙂
By default ubuntu instances on amazon aws allows only ubuntu user to login through ssh. This is done using the SSH key provided during the initial setup of the instances. There will be scenarious where you would like to create new users. But login through ssh is not enabled by default. To enable it, follow these instructions:
Open the following file:
sudo nano /etc/ssh/sshd_config
Search and Change the following (you can use Ctrl+w to search inside nano)
sudo restart ssh
Unfortunately my website got hacked a couple of months ago. The following post by Julio was very helpful for me to restore my website. I hope it will help others too.
From Julio Marchi:
Here is my “comment” (or “mini-tutorial” if you want to call it):
I’ve been using cformII for a while now for my clients. I am really impressed by the great features this plugin has. I think its being developed by a single developer and thats why there are some bugs in it. Last time I encourtered a serious bug and I had no choice but to reset cformII. I tried to re-install it by completely deleting cforms from plugins and deleted the two db tables created by cforms but my old forms keep appearing when I install it again.
So after searching a while on the Internet I found the solution.