10 May 2017 @ 12:47 AM 

I have built an Android app which uses php web service to update my data in my shared hosting mysql database. The app was working fine all the while until recently it suddenly show an error “forbidden”. I tried to debug the error and found that the error was showing I do not have permission to execute one of my php scripts. I found this is very strange since other php scripts have no issue. I started looking into the code and search on php post and json. I can’t find any working solution. Before I shoot a support email to my hosting company, I decided to try again the next day. Then I tried to look into the Cpanel and found there is a ModSecurity setting which can apply to all my sub domains. I tried to disabled the setting for the sub domain which stored the php scripts and it has backed to normal.

Posted By: Aeric
Last Edit: 10 May 2017 @ 12:48 AM

EmailPermalinkComments (0)
Tags

 26 Nov 2016 @ 1:45 PM 

In ASP.NET webform, I have 2 controls i.e a radiobuttongroup with 4 items and a checkbox after the control in a table cell. By default, the checkbox is rendered as an item wrap at the bottom of the radiobuttongroup. What I want is the checkbox appear beside after the radio buttons. I try some css style div such as display:inline or nowrap but it didn’t work. I view the client side html source and found that the radio button group is rendered as html table. I look for the control properties for the radiobuttongroup and found there is an option for RepeatLayout. I change the value from Table to Flow. Voila! It is now display as same row.

Default:

figure1

Visual Studio Designer

figure2

Rendered HTML:

figure3

Find RepeatLayout property

figure4

Change from Table to Flow

figure5

After changed, the HTML is rendered as span with style display: inline.

figure6 figure7

Posted By: Aeric
Last Edit: 26 Nov 2016 @ 01:49 PM

EmailPermalinkComments (0)
Tags

 18 Sep 2016 @ 11:53 PM 

I have given up since last few months to update my laptop running on Windows 7 Home Premium 64-bit. The Windows Update checking for updates non- stop. The CPU and RAM spike high 100% and more than 4GB respectively. The CPU becomes very hot. Its fan is blowing fast and make a noisy sound. I gave up and disabled the Windows Update Service. Today, I try googling for solution again. After reading on some results, I found a solution. Thanks to the author (Neil Mahaseth) of the blog and the video guide.

The website is: https://www.howisolve.com/checking-for-updates-stuck-solved-windows-7-sp-1-8-1-10/

If you are also facing the same issue as me, try the methods in the blog. Good luck!

 

 

 

 

Posted By: Aeric
Last Edit: 19 Sep 2016 @ 12:20 AM

EmailPermalinkComments (0)
Tags
Tags: ,
Categories: Cyberticles, Cyblog, Links





 Last 50 Posts
 Back
Change Theme...
  • Users » 2
  • Posts/Pages » 128
  • Comments » 198
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight