I am on ENTOS 7.6 xen.
In order to fix some permissions error n files I ran the following while staying on the parent folder to public_html
chown -R mysiteaccount:mysiteaccount public_html
After I ran this command the following error started to appear:
htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘public_html/’ is executable
I wondered what happened and then with the help of some internet sources I figured out that I had changed the apache user from nobody to mysiteaccount. I remember running the same chown command on public_html would work at may other occasions fine but this time.
Fixing htaccess pcfg_openfile error in Centos
In order to fix this I navigated to the parent folder of public_html and ran the following:
chown mysiteaccount:nobody public_html
And it worked!
(Note that there is not recursive option passed, means it would change the owner of public_html folder only and of nothing inside it)
Looking for a free Windows 7 product key? I tried to find one and I did find one. So if your voyage to find a Windows 7 product key free only hasn’t shored anywhere yet, it might now. Read on. Continue reading
It is possible to add multiple Google Recaptcha on single page. Here is an example of adding Google Recaptcha in two different forms and adding custom validation to them. This example illustrates using how response ids are created when rendering of form and later using them to create custom validation on the time of submission of this form. Example uses jQuery to handle form submission events and the action of adding fields dynamically to forms where you don’t have an access to the building or rendering of the form. Continue reading
Sometimes you want to know the location of a function defined in your php application. For example you are debugging a large online web application or website. To continue debug you want to enter into a function to debug. You don’t have an easy way to download all the files to your location system to do a text search. Also you don’t have access to file system search capabilities on the server. How to get into the function? Continue reading
In another post we receive frequent comments with user complaining about over scratched or damaged pin. So if you have got Airtel Coupon PIN overscratched or you have received a damaged pin from shop, all I can say is, don’t panic you can still get its full value! Just follow following simple instructions. Continue reading
Highly asked questions over the internet but least answered i guess. So, what code to dial to recharge Airtel sim with a scratch coupon? I had to spend a GOOD amount of time to find the correct one. Continue reading
Airtel provide its users with a loan or advanced credit talk time. The known amount for Airtel Credit Loan so far is of Rs. 10. You could follow some simple steps to get a credit load from Airtel. Continue reading
Cakephp comes with inbuilt pagination and sorting component and helper which work well in any app. However in order to make data tables ajax driven one might want to look at alternative solutions. One such solution is Cakephp Datatablse Plugin which uses datatables. Continue reading
CakePHP Captcha plugin by me is one of the most used and trusted CakePHP captcha support since 2009. I have maintained CakePHP Captcha support throughout these years and am still committed to maintain it as long others and I found it useful for the users of CakePHP framework. Continue reading